context,hypothesis,problog,probability,rnd,split,probability_word,distractor,valid_hypothesis,invalid_hypothesis,label,hypothesis_assertion It is probably not the case that Mary is in the school. It is improbable that Julius is a frog. It is highly likely that Brian is gray.,We believe that 'Julius is a frog' or 'Mary 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.25::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.325,0.70874174834967,train,probably not,we believe,It is probably not the case that 'Julius is a frog' or 'Mary is in the school' or both.,We believe that 'Julius is a frog' or 'Mary is in the school' or both.,0,'Julius is a frog' or 'Mary is in the school' or both. There is almost no chance that Greg is white. Chances are slight that Lily is a frog. There is little chance that Sandra grabbed the apple.,It is impossible that 'Greg is white 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.02::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.7089417883576715,train,impossible,probable,It is impossible that 'Greg is white and Sandra grabbed the apple'.,It is probable that 'Greg is white and Sandra grabbed the apple'.,1,'Greg is white and Sandra grabbed the apple'. It is certain that Bernhard is yellow. There is almost no chance that Sandra got the milk. It is improbable that Winona is a sheep.,There is almost no chance that either 'Sandra got 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 1.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.98,0.21784356871374275,train,certain,almost no chance,It is certain that either 'Sandra got the milk' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Sandra got the milk' or 'Bernhard is yellow' but not both.,0,Either 'Sandra got the milk' or 'Bernhard is yellow' but not both. We believe that John discarded the milk. It is probable that Emily is a mouse. Chances are about even that Greg is a frog.,Chances are about even that 'John discarded the milk 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.75::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.538507701540308,train,about even,impossible,Chances are about even that 'John discarded the milk and Emily is a mouse'.,It is impossible that 'John discarded the milk and Emily is a mouse'.,1,'John discarded the milk and Emily is a mouse'. It is probably the case that Greg is yellow. It is highly likely that Lily is green. Chances are about even that John grabbed the milk.,Chances are about even that either 'Greg 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.7::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.7763552710542109,train,about even,certain,Chances are about even that either 'Greg is yellow' or 'John grabbed the milk' but not both.,It is certain that either 'Greg is yellow' or 'John grabbed the milk' but not both.,1,Either 'Greg is yellow' or 'John grabbed the milk' but not both. Chances are about even that Bill went to the office. There is a very good chance that John grabbed the milk. It is probably not the case that Bernhard is a swan.,It is probably not the case that 'John grabbed the milk' 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.5::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.6087217443488698,train,highly likely,probably not,It is highly likely that 'John grabbed the milk' or 'Bill went to the office' or both.,It is probably not the case that 'John grabbed the milk' or 'Bill went to the office' or both.,0,'John grabbed the milk' or 'Bill went to the office' or both. It is probably not the case that Mary moved to the office. It is unlikely that Greg is gray. It is probably the case that John went to the garden.,It is certain that 'John went to the garden 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.25::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.6125225045009002,train,chances are slight,certain,Chances are slight that 'John went to the garden and Greg is gray'.,It is certain that 'John went to the garden and Greg is gray'.,0,'John went to the garden and Greg is gray'. There is a very good chance that Mary went to the garden. It is unlikely that Greg is yellow. It is probably the case that Emily is a mouse.,It is improbable that 'Emily is a mouse 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5599999999999999,0.2596519303860772,train,better than even,improbable,There is a better than even chance that 'Emily is a mouse and Mary went to the garden'.,It is improbable that 'Emily is a mouse and Mary went to the garden'.,0,'Emily is a mouse and Mary went to the garden'. It is almost certain that Brian is a rhino. It is probably not the case that Lily is a lion. It is highly likely that Jeff went to the garden.,There is a better than even chance that either 'Jeff 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.95::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.14000000000000004,0.1232246449289858,train,little chance,better than even,There is little chance that either 'Jeff went to the garden' or 'Brian is a rhino' but not both.,There is a better than even chance that either 'Jeff went to the garden' or 'Brian is a rhino' but not both.,0,Either 'Jeff went to the garden' or 'Brian is a rhino' but not both. It is improbable that Brian is green. There is almost no chance that Julius is white. It is impossible that Mary went to the garden.,It is impossible that 'Brian is green 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.1::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.5183036607321464,train,impossible,probably,It is impossible that 'Brian is green and Mary went to the garden'.,It is probably the case that 'Brian is green and Mary went to the garden'.,1,'Brian is green and Mary went to the garden'. It is improbable that Daniel left the milk. There is little chance that Lily is white. It is improbable that Jessica is a mouse.,There is almost no chance that 'Jessica is a mouse 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.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.357871574314863,train,almost no chance,certain,There is almost no chance that 'Jessica is a mouse and Daniel left the milk'.,It is certain that 'Jessica is a mouse and Daniel left the milk'.,1,'Jessica is a mouse and Daniel left the milk'. There is little chance that Julius is a rhino. It is highly unlikely that Mary went to the kitchen. Chances are about even that Bernhard is yellow.,It is certain that 'Mary went to the kitchen' 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.1::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.525,0.1870374074814963,train,about even,certain,Chances are about even that 'Mary went to the kitchen' or 'Bernhard is yellow' or both.,It is certain that 'Mary went to the kitchen' or 'Bernhard is yellow' or both.,0,'Mary went to the kitchen' or 'Bernhard is yellow' or both. It is probable that Julius is a rhino. It is likely that Greg is yellow. It is probably not the case that Bill went to the kitchen.,There is a better than even chance that either 'Greg is yellow' 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.7::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.2674534906981396,train,better than even,improbable,There is a better than even chance that either 'Greg is yellow' or 'Bill went to the kitchen' but not both.,It is improbable that either 'Greg is yellow' or 'Bill went to the kitchen' but not both.,1,Either 'Greg is yellow' or 'Bill went to the kitchen' but not both. There is a better than even chance that Lily is yellow. There is a better than even chance that Brian is a frog. There is little chance that John went to the garden.,It is highly unlikely 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.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.3654730946189238,train,highly unlikely,probably,It is highly unlikely 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'.,1,'John went to the garden and Brian is a frog'. It is impossible that Brian is green. It is probably the case that Jason is tired. We doubt that John is in the garden.,It is highly likely that 'Brian is green' 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.0::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2,0.257251450290058,train,we doubt,highly likely,We doubt that 'Brian is green' or 'John is in the garden' or both.,It is highly likely that 'Brian is green' or 'John is in the garden' or both.,0,'Brian is green' or 'John is in the garden' or both. There is a better than even chance that Mary moved to the office. It is likely that Bernhard is a swan. Chances are about even that John left the apple.,It is certain that either 'Mary 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.6::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.13862772554510902,train,about even,certain,Chances are about even that either 'Mary moved to the office' or 'John left the apple' but not both.,It is certain that either 'Mary moved to the office' or 'John left the apple' but not both.,0,Either 'Mary moved to the office' or 'John left the apple' but not both. There is a better than even chance that Jason is thirsty. It is certain that Julius is yellow. It is probably the case that Sumit is hungry.,It is probable that either 'Julius is yellow' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.7063412682536507,train,probably not,probable,It is probably not the case that either 'Julius is yellow' or 'Sumit is hungry' but not both.,It is probable that either 'Julius is yellow' or 'Sumit is hungry' but not both.,0,Either 'Julius is yellow' or 'Sumit is hungry' but not both. It is certain that Brian is yellow. It is highly likely that Mary got the football. There is almost no chance that Lily is a lion.,There is almost no chance that 'Mary got 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 1.0::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.018000000000000002,0.7031406281256252,train,almost no chance,about even,There is almost no chance that 'Mary got the football and Lily is a lion'.,Chances are about even that 'Mary got the football and Lily is a lion'.,1,'Mary got the football and Lily is a lion'. We doubt that Mary went to the office. It is unlikely that Winona is a wolf. It is impossible that Brian is a swan.,It is unlikely that either 'Winona is a wolf' 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.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.4510902180436087,train,unlikely,almost certain,It is unlikely that either 'Winona is a wolf' or 'Brian is a swan' but not both.,It is almost certain that either 'Winona is a wolf' or 'Brian is a swan' but not both.,1,Either 'Winona is a wolf' or 'Brian is a swan' but not both. It is improbable that Julius is green. It is probable that Brian is yellow. It is certain that Mary put down the apple.,We doubt that either 'Mary put down 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.1::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.9,0.3842768553710742,train,highly likely,we doubt,It is highly likely that either 'Mary put down the apple' or 'Julius is green' but not both.,We doubt that either 'Mary put down the apple' or 'Julius is green' but not both.,0,Either 'Mary put down the apple' or 'Julius is green' but not both. It is improbable that Lily is green. We believe that Brian is a swan. It is impossible that John discarded the apple.,It is unlikely that either 'John discarded the apple' or 'Brian is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.75::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.75,0.03480696139227846,train,we believe,unlikely,We believe that either 'John discarded the apple' or 'Brian is a swan' but not both.,It is unlikely that either 'John discarded the apple' or 'Brian is a swan' but not both.,0,Either 'John discarded the apple' or 'Brian is a swan' but not both. We doubt that Mary went to the hallway. It is likely that Fred left the football. There is almost no chance that Lily is yellow.,It is probably the case that either 'Fred 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.2::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.692,0.536507301460292,train,probably,probably not,It is probably the case that either 'Fred left the football' or 'Lily is yellow' but not both.,It is probably not the case that either 'Fred left the football' or 'Lily is yellow' but not both.,1,Either 'Fred left the football' or 'Lily is yellow' but not both. It is probably the case that Brian is green. Chances are slight that Mary went to the kitchen. It is highly likely that Julius is gray.,We doubt that either 'Mary went to the kitchen' or 'Brian is green' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.6007201440288058,train,probably,we doubt,It is probably the case that either 'Mary went to the kitchen' or 'Brian is green' but not both.,We doubt that either 'Mary went to the kitchen' or 'Brian is green' but not both.,0,Either 'Mary went to the kitchen' or 'Brian is green' but not both. It is improbable that Julius is a frog. It is probably the case that Mary got the milk. It is highly unlikely that John picked up the apple.,It is probable 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.1::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.03720744148829766,train,impossible,probable,It is impossible that 'John picked up the apple and Julius is a frog'.,It is probable that 'John picked up the apple and Julius is a frog'.,0,'John picked up the apple and Julius is a frog'. It is probably not the case that John went to the garden. It is unlikely that Emily is a mouse. Chances are slight that Julius is a lion.,It is probably not the case that either 'Emily 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.25::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.35000000000000003,0.5149029805961193,train,probably not,probably,It is probably not the case that either 'Emily is a mouse' or 'John went to the garden' but not both.,It is probably the case that either 'Emily is a mouse' or 'John went to the garden' but not both.,1,Either 'Emily is a mouse' or 'John went to the garden' but not both. It is improbable that John went to the kitchen. We doubt that Brian is yellow. It is impossible that Bernhard is green.,It is probably not the case 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.1::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.008001600320064013,train,probably not,probable,It is probably not the case that either 'Brian is yellow' or 'John went to the kitchen' but not both.,It is probable that either 'Brian is yellow' or 'John went to the kitchen' but not both.,1,Either 'Brian is yellow' or 'John went to the kitchen' but not both. There is a better than even chance that Lily is a frog. There is almost no chance that Gertrude is a sheep. It is probably not the case that Sandra dropped the milk.,It is impossible that 'Sandra dropped the milk 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.6::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.005000000000000002,0.5751150230046009,train,impossible,better than even,It is impossible that 'Sandra dropped the milk and Gertrude is a sheep'.,There is a better than even chance that 'Sandra dropped the milk and Gertrude is a sheep'.,1,'Sandra dropped the milk and Gertrude is a sheep'. It is unlikely that Lily is a lion. It is unlikely that Fred dropped the apple. It is certain that Greg is gray.,There is a very good chance that either 'Lily is a lion' 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.2::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.015403080616123225,train,very good chance,improbable,There is a very good chance that either 'Lily is a lion' or 'Greg is gray' but not both.,It is improbable that either 'Lily is a lion' or 'Greg is gray' but not both.,1,Either 'Lily is a lion' or 'Greg is gray' but not both. There is almost no chance that Greg is a lion. It is certain that Gertrude is a cat. It is probably not the case that Mary moved to the garden.,It is certain that either 'Greg is a lion' 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. 1.0::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.98,0.011402280456091218,train,certain,highly unlikely,It is certain that either 'Greg is a lion' or 'Gertrude is a cat' but not both.,It is highly unlikely that either 'Greg is a lion' or 'Gertrude is a cat' but not both.,1,Either 'Greg is a lion' or 'Gertrude is a cat' but not both. It is likely that Brian is a rhino. It is improbable that Mary got the milk. There is little chance that Greg is a frog.,It is highly unlikely that 'Brian is a rhino 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.41308261652330464,train,highly unlikely,probably,It is highly unlikely that 'Brian is a rhino and Mary got the milk'.,It is probably the case that 'Brian is a rhino and Mary got the milk'.,1,'Brian is a rhino and Mary got the milk'. It is highly likely that Emily is a cat. We doubt that Lily is a rhino. There is a better than even chance that Mary went to the bedroom.,There is little 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.9::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12000000000000001,0.21724344868973794,train,little chance,we believe,There is little chance that 'Mary went to the bedroom and Lily is a rhino'.,We believe that 'Mary went to the bedroom and Lily is a rhino'.,1,'Mary went to the bedroom and Lily is a rhino'. It is likely that Julius is white. It is highly unlikely that Emily is a sheep. It is probably not the case that Mary left the football.,There is almost no chance that 'Emily 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.7::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.012500000000000006,0.21844368873774755,train,almost no chance,almost certain,There is almost no chance that 'Emily is a sheep and Mary left the football'.,It is almost certain that 'Emily is a sheep and Mary left the football'.,1,'Emily is a sheep and Mary left the football'. It is almost certain that Lily is yellow. We doubt that John went to the garden. We believe that Greg is gray.,It is probably not the case that either 'Lily is yellow' 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.95::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.275,0.16223244648929785,train,probably not,we believe,It is probably not the case that either 'Lily is yellow' or 'Greg is gray' but not both.,We believe that either 'Lily is yellow' or 'Greg is gray' but not both.,1,Either 'Lily is yellow' or 'Greg is gray' but not both. We believe that Mary went to the kitchen. It is probably the case that Bernhard is a frog. There is a very good chance that Greg is a lion.,Chances are about even 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.75::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9400000000000001,0.11422284456891378,train,almost certain,about even,It is almost certain that 'Greg is a lion' or 'Bernhard is a frog' or both.,Chances are about even that 'Greg is a lion' or 'Bernhard is a frog' or both.,0,'Greg is a lion' or 'Bernhard is a frog' or both. We believe that Greg is white. There is almost no chance that John went to the hallway. Chances are slight that Lily is a swan.,There is almost no chance that 'Greg is white 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.75::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014999999999999998,0.15083016603320665,train,almost no chance,certain,There is almost no chance that 'Greg is white and John went to the hallway'.,It is certain that 'Greg is white and John went to the hallway'.,1,'Greg is white and John went to the hallway'. It is unlikely that Jessica is a mouse. It is probably the case that Brian is a rhino. Chances are about even that Jeff left the apple.,It is improbable that 'Jessica 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.2::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.76,0.6469293858771754,train,we believe,improbable,We believe that 'Jessica is a mouse' or 'Brian is a rhino' or both.,It is improbable that 'Jessica is a mouse' or 'Brian is a rhino' or both.,0,'Jessica is a mouse' or 'Brian is a rhino' or both. There is little chance that Mary moved to the office. It is probable that Julius is gray. It is highly unlikely that John discarded the apple.,It is unlikely that 'Julius is gray' 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.7::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.7929585917183437,train,we believe,unlikely,We believe that 'Julius is gray' or 'Mary moved to the office' or both.,It is unlikely that 'Julius is gray' or 'Mary moved to the office' or both.,0,'Julius is gray' or 'Mary moved to the office' or both. It is likely that Lily is a rhino. We believe that John went to the bedroom. There is a better than even chance that Bernhard is green.,Chances are about even that either 'John went to the bedroom' 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.75::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.7355471094218844,train,about even,highly unlikely,Chances are about even that either 'John went to the bedroom' or 'Lily is a rhino' but not both.,It is highly unlikely that either 'John went to the bedroom' or 'Lily is a rhino' but not both.,1,Either 'John went to the bedroom' or 'Lily is a rhino' but not both. We believe that Bernhard is a swan. It is unlikely that Brian is yellow. It is unlikely that Greg is a lion.,It is highly likely 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.75::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.36000000000000004,0.6853370674134827,train,probably not,highly likely,It is probably not the case that 'Greg is a lion' or 'Brian is yellow' or both.,It is highly likely that 'Greg is a lion' or 'Brian is yellow' or both.,0,'Greg is a lion' or 'Brian is yellow' or both. It is highly likely that Daniel got the milk. It is highly likely that Jessica is a mouse. Chances are about even that John went to the kitchen.,It is certain that 'Jessica is a mouse' 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.9::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.99,0.249249849969994,train,certain,almost no chance,It is certain that 'Jessica is a mouse' or 'Daniel got the milk' or both.,There is almost no chance that 'Jessica is a mouse' or 'Daniel got the milk' or both.,1,'Jessica is a mouse' or 'Daniel got the milk' or both. Chances are about even that Bernhard is yellow. It is improbable that Daniel grabbed the apple. We doubt that John dropped the milk.,There is a better than even chance that 'Daniel grabbed 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.5::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.6973394678935787,train,better than even,almost no chance,There is a better than even chance that 'Daniel grabbed the apple' or 'Bernhard is yellow' or both.,There is almost no chance that 'Daniel grabbed the apple' or 'Bernhard is yellow' or both.,1,'Daniel grabbed the apple' or 'Bernhard is yellow' or both. There is little chance that Mary got the apple. It is likely that Greg is a rhino. It is likely that Brian is white.,There is little chance that 'Brian is white' or 'Mary got the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.6599319863972795,train,we believe,little chance,We believe that 'Brian is white' or 'Mary got the apple' or both.,There is little chance that 'Brian is white' or 'Mary got the apple' or both.,0,'Brian is white' or 'Mary got the apple' or both. There is a better than even chance that Lily is white. It is probably not the case that Bernhard is white. We doubt that John went to the kitchen.,Chances are slight that either 'Lily is white' 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.6::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5599999999999999,0.03200640128025605,train,better than even,chances are slight,There is a better than even chance that either 'Lily is white' or 'John went to the kitchen' but not both.,Chances are slight that either 'Lily is white' or 'John went to the kitchen' but not both.,0,Either 'Lily is white' or 'John went to the kitchen' but not both. It is impossible that Greg is a lion. We doubt that Julius is gray. It is unlikely that Gertrude is a cat.,There is a very good chance that 'Julius 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.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.2,0.1342268453690738,train,we doubt,very good chance,We doubt that 'Julius is gray' or 'Greg is a lion' or both.,There is a very good chance that 'Julius is gray' or 'Greg is a lion' or both.,0,'Julius is gray' or 'Greg is a lion' or both. It is improbable that Julius is gray. It is certain that Sandra left the milk. There is a better than even chance that Bernhard is green.,There is almost no chance that 'Bernhard 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.1::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.64,0.6653330666133227,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is green' or 'Julius is gray' or both.,There is almost no chance that 'Bernhard is green' or 'Julius is gray' or both.,0,'Bernhard is green' or 'Julius is gray' or both. Chances are slight that John got the apple. It is likely that Julius is a lion. We believe that Bernhard is yellow.,Chances are about even that 'Julius is a lion and Bernhard is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.525,0.6957391478295659,train,about even,almost certain,Chances are about even that 'Julius is a lion and Bernhard is yellow'.,It is almost certain that 'Julius is a lion and Bernhard is yellow'.,1,'Julius is a lion and Bernhard is yellow'. It is likely that Julius is a lion. There is little chance that Brian is white. It is highly likely that Mary left the football.,It is highly likely that 'Brian is white 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.1::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.7875575115023005,train,improbable,highly likely,It is improbable that 'Brian is white and Mary left the football'.,It is highly likely that 'Brian is white and Mary left the football'.,0,'Brian is white and Mary left the football'. Chances are slight that Greg is white. It is likely that Mary went to the hallway. It is probable that Bernhard is a rhino.,It is probable that either 'Greg 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.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.2544508901780356,train,probable,impossible,It is probable that either 'Greg is white' or 'Bernhard is a rhino' but not both.,It is impossible that either 'Greg is white' or 'Bernhard is a rhino' but not both.,1,Either 'Greg is white' or 'Bernhard is a rhino' but not both. There is almost no chance that Mary took the milk. There is a better than even chance that Bernhard is a swan. It is likely that Greg is a frog.,It is highly unlikely that either 'Bernhard is a swan' 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.02::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45999999999999996,0.23964792958591719,train,about even,highly unlikely,Chances are about even that either 'Bernhard is a swan' or 'Greg is a frog' but not both.,It is highly unlikely that either 'Bernhard is a swan' or 'Greg is a frog' but not both.,0,Either 'Bernhard is a swan' or 'Greg is a frog' but not both. It is improbable that Julius is white. It is highly likely that Gertrude is a sheep. It is likely that Greg is a swan.,It is probably not the case that either 'Greg 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.1::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.11162232446489298,train,probably not,almost certain,It is probably not the case that either 'Greg is a swan' or 'Gertrude is a sheep' but not both.,It is almost certain that either 'Greg is a swan' or 'Gertrude is a sheep' but not both.,1,Either 'Greg is a swan' or 'Gertrude is a sheep' but not both. Chances are about even that Sandra dropped the apple. There is almost no chance that Julius is a rhino. It is impossible that Brian is a lion.,There is almost no 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.5::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.02,0.3312662532506501,train,almost no chance,probable,There is almost no chance that either 'Julius is a rhino' or 'Brian is a lion' but not both.,It is probable 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. Chances are about even that Lily is yellow. It is probable that Emily is a mouse. There is a better than even chance that Fred moved to the office.,There is almost no chance that either 'Lily is yellow' 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.5::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.6167233446689337,train,about even,almost no chance,Chances are about even that either 'Lily is yellow' or 'Fred moved to the office' but not both.,There is almost no chance that either 'Lily is yellow' or 'Fred moved to the office' but not both.,0,Either 'Lily is yellow' or 'Fred moved to the office' but not both. It is probably not the case that John moved to the garden. We doubt that Daniel dropped the milk. There is a very good chance that Greg is yellow.,It is probable that either 'Daniel dropped 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.2::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.68,0.4898979795959192,train,probable,highly unlikely,It is probable that either 'Daniel dropped the milk' or 'Greg is yellow' but not both.,It is highly unlikely that either 'Daniel dropped the milk' or 'Greg is yellow' but not both.,1,Either 'Daniel dropped the milk' or 'Greg is yellow' but not both. It is highly unlikely that Brian is green. It is improbable that Mary left the football. It is unlikely that Julius is a swan.,It is likely 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.05::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.14000000000000004,0.6031206241248249,train,improbable,likely,It is improbable that either 'Mary left the football' or 'Brian is green' but not both.,It is likely that either 'Mary left the football' or 'Brian is green' but not both.,0,Either 'Mary left the football' or 'Brian is green' but not both. We doubt that Mary is in the hallway. It is highly likely that Lily is a swan. It is probably the case that Sandra took the football.,It is probably not the case that either 'Sandra took 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.2::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.6353270654130826,train,probably not,we believe,It is probably not the case that either 'Sandra took the football' or 'Lily is a swan' but not both.,We believe that either 'Sandra took the football' or 'Lily is a swan' but not both.,1,Either 'Sandra took the football' or 'Lily is a swan' but not both. There is a better than even chance that Brian is a rhino. It is highly unlikely that Lily is a swan. It is probably not the case that Mary left the football.,There is little chance that 'Mary 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.6::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.6223244648929785,train,little chance,almost certain,There is little chance that 'Mary left the football and Brian is a rhino'.,It is almost certain that 'Mary left the football and Brian is a rhino'.,1,'Mary left the football and Brian is a rhino'. Chances are slight that Mary went to the hallway. It is highly likely that Brian is yellow. It is highly likely that Bernhard is gray.,It is highly unlikely that either 'Mary went to the hallway' 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.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.82,0.46369273854770954,train,very good chance,highly unlikely,There is a very good chance that either 'Mary went to the hallway' or 'Brian is yellow' but not both.,It is highly unlikely that either 'Mary went to the hallway' or 'Brian is yellow' but not both.,0,Either 'Mary went to the hallway' or 'Brian is yellow' but not both. There is almost no chance that Bernhard is yellow. It is impossible that Greg is a lion. There is a very good chance that Jessica is a sheep.,There is a very good chance that either 'Greg 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.02::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.02,0.7365473094618924,train,almost no chance,very good chance,There is almost no chance that either 'Greg is a lion' or 'Bernhard is yellow' but not both.,There is a very good chance that either 'Greg is a lion' or 'Bernhard is yellow' but not both.,0,Either 'Greg is a lion' or 'Bernhard is yellow' but not both. It is impossible that Bernhard is a frog. We believe that Brian is a rhino. There is almost no chance that Lily is white.,It is probably not the case that either 'Brian 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.0::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.75,0.39227845569113823,train,we believe,probably not,We believe that either 'Brian is a rhino' or 'Bernhard is a frog' but not both.,It is probably not the case that either 'Brian is a rhino' or 'Bernhard is a frog' but not both.,0,Either 'Brian is a rhino' or 'Bernhard is a frog' but not both. We doubt that John dropped the milk. Chances are slight that Brian is a frog. Chances are slight that Bill went to the garden.,It is almost certain that either 'Brian is a frog' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.35147029405881175,train,probably not,almost certain,It is probably not the case that either 'Brian is a frog' or 'John dropped the milk' but not both.,It is almost certain that either 'Brian is a frog' or 'John dropped the milk' but not both.,0,Either 'Brian is a frog' or 'John dropped the milk' but not both. There is almost no chance that Jeff went to the garden. It is certain that Lily is white. Chances are about even that John put down the apple.,It is almost certain that 'Lily is white 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.02::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02,0.4226845369073815,train,almost no chance,almost certain,There is almost no chance that 'Lily is white and Jeff went to the garden'.,It is almost certain that 'Lily is white and Jeff went to the garden'.,0,'Lily is white and Jeff went to the garden'. There is a better than even chance that Daniel left the milk. We believe that John went to the kitchen. It is probably the case that Brian is green.,It is highly likely that 'Daniel left the milk' or 'Brian is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.88,0.08001600320064013,train,highly likely,little chance,It is highly likely that 'Daniel left the milk' or 'Brian is green' or both.,There is little chance that 'Daniel left the milk' or 'Brian is green' or both.,1,'Daniel left the milk' or 'Brian is green' or both. It is probably not the case that Yann is bored. It is highly unlikely that Gertrude is a cat. Chances are slight that Brian is a rhino.,We believe that 'Gertrude is a cat 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.25::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.2694538907781556,train,impossible,we believe,It is impossible that 'Gertrude is a cat and Brian is a rhino'.,We believe that 'Gertrude is a cat and Brian is a rhino'.,0,'Gertrude is a cat and Brian is a rhino'. It is improbable that Gertrude is a sheep. It is likely that Lily is a rhino. It is probably the case that Mary left the football.,We believe 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.45929185837167436,train,we believe,chances are slight,We believe that 'Lily is a rhino' or 'Gertrude is a sheep' or both.,Chances are slight that 'Lily is a rhino' or 'Gertrude is a sheep' or both.,1,'Lily is a rhino' or 'Gertrude is a sheep' or both. It is impossible that Bernhard is a swan. There is little chance that Julius is a rhino. We believe that Mary went to the kitchen.,It is impossible that 'Julius is a rhino and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.11882376475295059,train,impossible,likely,It is impossible that 'Julius is a rhino and Bernhard is a swan'.,It is likely that 'Julius is a rhino and Bernhard is a swan'.,1,'Julius is a rhino and Bernhard is a swan'. It is certain that Brian is yellow. It is impossible that Lily is a swan. It is improbable that Bernhard is yellow.,It is improbable that either 'Brian 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 1.0::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",1.0,0.04120824164832967,train,certain,improbable,It is certain that either 'Brian is yellow' or 'Lily is a swan' but not both.,It is improbable that either 'Brian is yellow' or 'Lily is a swan' but not both.,0,Either 'Brian is yellow' or 'Lily is a swan' but not both. Chances are about even that John got the apple. It is highly unlikely that Julius is yellow. It is likely that Brian is a frog.,Chances are about even that either 'John got 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.5::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.35467093418683737,train,about even,impossible,Chances are about even that either 'John got the apple' or 'Brian is a frog' but not both.,It is impossible that either 'John got the apple' or 'Brian is a frog' but not both.,1,Either 'John got the apple' or 'Brian is a frog' but not both. There is little chance that Jeff dropped the apple. We doubt that John went to the kitchen. There is a very good chance that Mary got the football.,It is probably the case that either 'John went to the kitchen' 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.1::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.4594918983796759,train,probably not,probably,It is probably not the case that either 'John went to the kitchen' or 'Jeff dropped the apple' but not both.,It is probably the case that either 'John went to the kitchen' or 'Jeff dropped the apple' but not both.,0,Either 'John went to the kitchen' or 'Jeff dropped the apple' but not both. It is probably the case that Gertrude is a cat. It is highly unlikely that Lily is white. It is almost certain that Jessica is a mouse.,We doubt that either 'Lily is white' 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.05::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6799999999999999,0.3198639727945589,train,likely,we doubt,It is likely that either 'Lily is white' or 'Gertrude is a cat' but not both.,We doubt that either 'Lily is white' or 'Gertrude is a cat' but not both.,0,Either 'Lily is white' or 'Gertrude is a cat' but not both. We believe that Julius is gray. It is highly unlikely that Mary got the milk. It is highly unlikely that Gertrude is a mouse.,Chances are slight that 'Gertrude 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.75::factA. 0.05::factB. 0.05::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7625,0.15623124624924986,train,we believe,chances are slight,We believe that 'Gertrude is a mouse' or 'Julius is gray' or both.,Chances are slight that 'Gertrude is a mouse' or 'Julius is gray' or both.,0,'Gertrude is a mouse' or 'Julius is gray' or both. It is impossible that Emily is a wolf. We doubt that Julius is yellow. It is almost certain that John moved to the garden.,It is certain that 'Julius is yellow 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.0::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.1954390878175635,train,impossible,certain,It is impossible that 'Julius is yellow and Emily is a wolf'.,It is certain that 'Julius is yellow and Emily is a wolf'.,0,'Julius is yellow and Emily is a wolf'. We believe that Gertrude is a cat. There is little chance that Julius is a rhino. It is probably not the case that John moved to the office.,We believe that 'Julius is a rhino' 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.75::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.5421084216843368,train,we believe,little chance,We believe that 'Julius is a rhino' or 'Gertrude is a cat' or both.,There is little chance that 'Julius is a rhino' or 'Gertrude is a cat' or both.,1,'Julius is a rhino' or 'Gertrude is a cat' or both. There is little chance that Mary took the football. It is highly unlikely that Julius is a frog. It is highly likely that Brian is yellow.,It is probably the case that either 'Mary 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.1::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.6759351870374075,train,little chance,probably,There is little chance that either 'Mary took the football' or 'Julius is a frog' but not both.,It is probably the case that either 'Mary took the football' or 'Julius is a frog' but not both.,0,Either 'Mary took the football' or 'Julius is a frog' but not both. Chances are slight that Bernhard is a lion. We doubt that Brian is white. It is unlikely that Lily is a rhino.,It is probable 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.36000000000000004,0.03400680136027205,train,probably not,probable,It is probably not the case that 'Lily is a rhino' or 'Brian is white' or both.,It is probable 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 Julius is a lion. Chances are about even that Lily is a frog. It is likely that Mary moved to the garden.,It is likely that either 'Mary moved 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.9::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.33999999999999997,0.714742948589718,train,probably not,likely,It is probably not the case that either 'Mary moved to the garden' or 'Julius is a lion' but not both.,It is likely that either 'Mary moved to the garden' or 'Julius is a lion' but not both.,0,Either 'Mary moved to the garden' or 'Julius is a lion' but not both. It is unlikely that Sandra dropped the milk. There is a very good chance that Mary took the football. Chances are about even that Lily is green.,It is highly unlikely that 'Sandra dropped 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.2::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8400000000000001,0.6961392278455691,train,very good chance,highly unlikely,There is a very good chance that 'Sandra dropped the milk' or 'Mary took the football' or both.,It is highly unlikely that 'Sandra dropped the milk' or 'Mary took the football' or both.,0,'Sandra dropped the milk' or 'Mary took the football' or both. We doubt that Lily is a swan. It is improbable that Brian is green. It is highly unlikely that John got the milk.,It is certain that 'Lily 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 0.2::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.4406881376275255,train,probably not,certain,It is probably not the case that 'Lily is a swan' or 'Brian is green' or both.,It is certain that 'Lily is a swan' or 'Brian is green' or both.,0,'Lily is a swan' or 'Brian is green' or both. It is likely that Mary went to the office. There is almost no chance that Brian is a swan. There is a better than even chance that Greg is a lion.,Chances are about even that 'Mary went to the office 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.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.6503300660132026,train,almost no chance,about even,There is almost no chance that 'Mary went to the office and Brian is a swan'.,Chances are about even that 'Mary went to the office and Brian is a swan'.,0,'Mary went to the office and Brian is a swan'. It is impossible that Bernhard is green. It is probably the case that Brian is yellow. It is unlikely that John picked up the apple.,It is impossible 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.0::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.21624324864972994,train,better than even,impossible,There is a better than even chance that either 'John picked up the apple' or 'Brian is yellow' but not both.,It is impossible that either 'John picked up the apple' or 'Brian is yellow' but not both.,0,Either 'John picked up the apple' or 'Brian is yellow' but not both. There is almost no chance that Jessica is a mouse. There is almost no chance that Brian is white. It is probably the case that Julius is a frog.,There is a better than even chance 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 0.02::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.0396,0.11862372474494899,train,highly unlikely,better than even,It is highly unlikely that 'Brian is white' or 'Jessica is a mouse' or both.,There is a better than even chance 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 very good chance that Jessica is a cat. It is probable that Antoine is hungry. It is unlikely that Sandra got the football.,There is little chance that either 'Jessica is a cat' 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.8::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.68,0.3004600920184037,train,likely,little chance,It is likely that either 'Jessica is a cat' or 'Sandra got the football' but not both.,There is little chance that either 'Jessica is a cat' or 'Sandra got the football' but not both.,0,Either 'Jessica is a cat' or 'Sandra got the football' but not both. It is impossible that Daniel took the apple. It is highly unlikely that Mary went to the bedroom. It is impossible that Brian is a rhino.,Chances are about even that 'Brian is a rhino' 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.05::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.0,0.015803160632126424,train,impossible,about even,It is impossible that 'Brian is a rhino' or 'Daniel took the apple' or both.,Chances are about even that 'Brian is a rhino' or 'Daniel took the apple' or both.,0,'Brian is a rhino' or 'Daniel took the apple' or both. It is probably not the case that John went to the bedroom. There is almost no chance that Bernhard is a swan. It is almost certain that Brian is white.,There is a very good chance that 'Brian 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.25::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2375,0.23664732946589317,train,probably not,very good chance,It is probably not the case that 'Brian is white and John went to the bedroom'.,There is a very good chance that 'Brian is white and John went to the bedroom'.,0,'Brian is white and John went to the bedroom'. There is a better than even chance that Sandra dropped the milk. Chances are about even that Mary got the milk. We believe that Bernhard is a swan.,There is a very good chance that 'Mary 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.6::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.3186637327465493,train,very good chance,we doubt,There is a very good chance that 'Mary got the milk' or 'Sandra dropped the milk' or both.,We doubt that 'Mary got the milk' or 'Sandra dropped the milk' or both.,1,'Mary got the milk' or 'Sandra dropped the milk' or both. It is probably the case that Julius is gray. It is improbable that Sandra left the apple. It is unlikely that John went to the hallway.,There is little chance that 'John went to the hallway 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.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.4972994598919784,train,little chance,likely,There is little chance that 'John went to the hallway and Julius is gray'.,It is likely that 'John went to the hallway and Julius is gray'.,1,'John went to the hallway and Julius is gray'. It is unlikely that Julius is yellow. It is unlikely that Bernhard is a lion. It is highly likely that Gertrude is a wolf.,It is highly unlikely that 'Julius 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.2::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.6677335467093418,train,highly unlikely,about even,It is highly unlikely that 'Julius is yellow and Bernhard is a lion'.,Chances are about even that 'Julius is yellow and Bernhard is a lion'.,1,'Julius is yellow and Bernhard is a lion'. It is highly unlikely that Daniel put down the milk. There is little chance that Bernhard is a swan. It is certain that John discarded the apple.,It is certain that 'John discarded the apple 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.1::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.004600920184036807,train,little chance,certain,There is little chance that 'John discarded the apple and Bernhard is a swan'.,It is certain that 'John discarded the apple and Bernhard is a swan'.,0,'John discarded the apple and Bernhard is a swan'. It is unlikely that John moved to the garden. It is probably the case that Lily is a rhino. It is highly unlikely that Daniel left the milk.,It is improbable 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.2::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.4288857771554311,train,improbable,better than even,It is improbable that 'Lily is a rhino and John moved to the garden'.,There is a better than even chance that 'Lily is a rhino and John moved to the garden'.,1,'Lily is a rhino and John moved to the garden'. It is almost certain that Mary took the milk. It is probable that Julius is yellow. There is almost no chance that Jessica is a mouse.,Chances are slight that 'Julius 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.95::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.42868573714742947,train,probable,chances are slight,It is probable that 'Julius is yellow and Mary took the milk'.,Chances are slight that 'Julius is yellow and Mary took the milk'.,0,'Julius is yellow and Mary took the milk'. It is likely that Bernhard is yellow. It is highly likely that Fred dropped the apple. We doubt that Brian is a lion.,There is a better than even chance that either 'Bernhard 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.9::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.1942388477695539,train,better than even,improbable,There is a better than even chance that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,It is improbable that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,1,Either 'Bernhard is yellow' or 'Brian is a lion' but not both. It is certain that Daniel grabbed the apple. There is little chance that Emily is a mouse. We believe that Greg is a swan.,We believe that 'Emily 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 1.0::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.5447089417883577,train,we believe,unlikely,We believe that 'Emily is a mouse' or 'Greg is a swan' or both.,It is unlikely that 'Emily is a mouse' or 'Greg is a swan' or both.,1,'Emily is a mouse' or 'Greg is a swan' or both. It is improbable that Gertrude is a sheep. It is almost certain that Jeff discarded the milk. It is almost certain that Bernhard is a frog.,Chances are slight that 'Jeff discarded the milk 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.95::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09500000000000001,0.7263452690538108,train,chances are slight,better than even,Chances are slight that 'Jeff discarded the milk and Gertrude is a sheep'.,There is a better than even chance that 'Jeff discarded the milk and Gertrude is a sheep'.,1,'Jeff discarded the milk and Gertrude is a sheep'. We doubt that Lily is a frog. It is almost certain that Greg is gray. It is improbable that John went to the office.,There is little 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.2::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.86,0.7223444688937788,train,highly likely,little chance,It is highly likely that either 'John went to the office' or 'Greg is gray' but not both.,There is little 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. There is a better than even chance that Bernhard is a frog. It is highly likely that Winona is a sheep. It is probable that John went to the kitchen.,It is almost certain that 'Winona is a sheep' 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.9::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.97,0.04920984196839368,train,almost certain,almost no chance,It is almost certain that 'Winona is a sheep' or 'John went to the kitchen' or both.,There is almost no chance that 'Winona is a sheep' or 'John went to the kitchen' or both.,1,'Winona is a sheep' or 'John went to the kitchen' or both. There is little chance that Julius is gray. We believe that Jeff moved to the garden. There is almost no chance that John went to the hallway.,It is highly unlikely that 'Jeff 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.1::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.3254650930186037,train,we believe,highly unlikely,We believe that 'Jeff moved to the garden' or 'John went to the hallway' or both.,It is highly unlikely that 'Jeff moved to the garden' or 'John went to the hallway' or both.,0,'Jeff moved to the garden' or 'John went to the hallway' or both. We doubt that Mary left the football. It is likely that Julius is a lion. It is almost certain that John discarded the apple.,There is almost no chance that either 'John discarded the apple' or 'Mary left the football' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.77,0.04040808161632326,train,we believe,almost no chance,We believe that either 'John discarded the apple' or 'Mary left the football' but not both.,There is almost no chance that either 'John discarded the apple' or 'Mary left the football' but not both.,0,Either 'John discarded the apple' or 'Mary left the football' but not both. It is likely that Greg is yellow. It is probably the case that Sandra grabbed the apple. There is almost no chance that Daniel got the football.,There is almost no chance that 'Daniel got the football 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.45329065813162633,train,almost no chance,likely,There is almost no chance that 'Daniel got the football and Sandra grabbed the apple'.,It is likely that 'Daniel got the football and Sandra grabbed the apple'.,1,'Daniel got the football and Sandra grabbed the apple'. It is highly likely that John left the milk. It is almost certain that Brian is a frog. There is a better than even chance that Bernhard is green.,It is highly unlikely that either 'Brian 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.95::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.41000000000000003,0.006001200240048009,train,about even,highly unlikely,Chances are about even that either 'Brian is a frog' or 'Bernhard is green' but not both.,It is highly unlikely that either 'Brian is a frog' or 'Bernhard is green' but not both.,0,Either 'Brian is a frog' or 'Bernhard is green' but not both. There is little chance that Mary took the football. We believe that Emily is a sheep. It is highly likely that Greg is a frog.,It is likely that either 'Emily is a sheep' 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.1::factA. 0.75::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.07921584316863373,train,likely,little chance,It is likely that either 'Emily is a sheep' or 'Mary took the football' but not both.,There is little chance that either 'Emily is a sheep' or 'Mary took the football' but not both.,1,Either 'Emily is a sheep' or 'Mary took the football' but not both. We doubt that Brian is a lion. It is certain that Bernhard is a frog. There is almost no chance that John grabbed the apple.,We believe that 'Bernhard is a frog 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.48749749949989996,train,unlikely,we believe,It is unlikely that 'Bernhard is a frog and Brian is a lion'.,We believe that 'Bernhard is a frog and Brian is a lion'.,0,'Bernhard is a frog and Brian is a lion'. It is unlikely that Emily is a wolf. There is little chance that Brian is white. It is impossible that Bernhard is a lion.,There is little chance that 'Brian 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.2::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.614122824564913,train,little chance,probably,There is little chance that 'Brian is white' or 'Bernhard is a lion' or both.,It is probably the case that 'Brian is white' or 'Bernhard is a lion' or both.,1,'Brian is white' or 'Bernhard is a lion' or both. It is probably the case that Sandra got the milk. We believe that Brian is gray. It is highly unlikely that Greg is a frog.,It is certain that 'Brian 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. 0.75::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.03750000000000001,0.6771354270854171,train,highly unlikely,certain,It is highly unlikely that 'Brian is gray and Greg is a frog'.,It is certain that 'Brian is gray and Greg is a frog'.,0,'Brian is gray and Greg is a frog'. It is probable that Mary picked up the milk. Chances are slight that John went to the hallway. It is probable that Sumit is tired.,We doubt that 'Mary picked up the milk' 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.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.36687337467493497,train,highly likely,we doubt,It is highly likely that 'Mary picked up the milk' or 'Sumit is tired' or both.,We doubt that 'Mary picked up the milk' or 'Sumit is tired' or both.,0,'Mary picked up the milk' or 'Sumit is tired' or both. There is a very good chance that Julius is a swan. It is unlikely that Lily is gray. There is a better than even chance that John took the apple.,It is improbable 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.8::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.68,0.5363072614522905,train,probably,improbable,It is probably the case that 'John took the apple' or 'Lily is gray' or both.,It is improbable that 'John took the apple' or 'Lily is gray' or both.,0,'John took the apple' or 'Lily is gray' or both. It is improbable that Sandra left the milk. It is highly likely that John moved to the garden. There is a very good chance that Bernhard is a swan.,There is little chance that 'John moved to the garden and Sandra left the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.08601720344068814,train,little chance,likely,There is little chance that 'John moved to the garden and Sandra left the milk'.,It is likely that 'John moved to the garden and Sandra left the milk'.,1,'John moved to the garden and Sandra left the milk'. It is unlikely that Brian is a rhino. Chances are about even that Mary left the football. We doubt that Lily is white.,There is a better than even chance that 'Lily is white' 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.5::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6,0.47169433886777357,train,better than even,almost no chance,There is a better than even chance that 'Lily is white' or 'Mary left the football' or both.,There is almost no chance that 'Lily is white' or 'Mary left the football' or both.,1,'Lily is white' or 'Mary left the football' or both. We believe that John dropped the apple. There is a very good chance that Mary left the football. It is highly likely that Brian is a rhino.,It is likely that 'Brian 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.8::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7200000000000001,0.7851570314062812,train,likely,we doubt,It is likely that 'Brian is a rhino and Mary left the football'.,We doubt that 'Brian is a rhino and Mary left the football'.,1,'Brian is a rhino and Mary left the football'. It is improbable that Fred put down the apple. It is highly unlikely that Sandra took the football. It is highly likely that Bernhard is a swan.,It is certain that 'Sandra took the football 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.1::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.7991598319663933,train,impossible,certain,It is impossible that 'Sandra took the football and Fred put down the apple'.,It is certain that 'Sandra took the football and Fred put down the apple'.,0,'Sandra took the football and Fred put down the apple'. There is a very good chance that John went to the garden. It is almost certain that Brian is green. We believe that Bernhard is white.,It is probably not the case that 'Bernhard 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.8::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7125,0.20684136827365474,train,likely,probably not,It is likely that 'Bernhard is white and Brian is green'.,It is probably not the case that 'Bernhard is white and Brian is green'.,0,'Bernhard is white and Brian is green'. It is probable that Julius is a swan. It is impossible that Brian is a lion. It is probable that Greg is yellow.,It is impossible that 'Brian is a lion 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5567113422684536,train,impossible,certain,It is impossible that 'Brian is a lion and Julius is a swan'.,It is certain that 'Brian is a lion and Julius is a swan'.,1,'Brian is a lion and Julius is a swan'. It is unlikely that Bill left the football. There is almost no chance that Gertrude is a cat. It is highly likely that John went to the hallway.,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.2::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.018000000000000002,0.4034806961392278,train,almost no chance,almost certain,There is almost no chance that 'John went to the hallway and Gertrude is a cat'.,It is almost certain that 'John went to the hallway and Gertrude is a cat'.,1,'John went to the hallway and Gertrude is a cat'. It is unlikely that Julius is green. There is almost no chance that John put down the apple. It is impossible that Mary discarded the milk.,We doubt that either 'Julius is green' or 'Mary discarded the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.2,0.38387677535507103,train,we doubt,very good chance,We doubt that either 'Julius is green' or 'Mary discarded the milk' but not both.,There is a very good chance that either 'Julius is green' or 'Mary discarded the milk' but not both.,1,Either 'Julius is green' or 'Mary discarded the milk' but not both. There is little chance that John dropped the apple. There is a better than even chance that Greg is a lion. There is a better than even chance that Brian is a swan.,It is unlikely that 'Brian 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.1::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8400000000000001,0.546509301860372,train,very good chance,unlikely,There is a very good chance that 'Brian is a swan' or 'Greg is a lion' or both.,It is unlikely that 'Brian is a swan' or 'Greg is a lion' or both.,0,'Brian is a swan' or 'Greg is a lion' or both. We doubt that Greg is gray. Chances are slight that Lily is yellow. It is highly unlikely that Mary went to the bedroom.,It is probable that 'Mary went to the bedroom' 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.1::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.14500000000000002,0.16923384676935388,train,chances are slight,probable,Chances are slight that 'Mary went to the bedroom' or 'Lily is yellow' or both.,It is probable that 'Mary went to the bedroom' or 'Lily is yellow' or both.,0,'Mary went to the bedroom' or 'Lily is yellow' or both. It is improbable that John took the football. It is probable that Greg is a swan. It is probably the case that Mary dropped the milk.,Chances are about even that 'Mary dropped 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.16483296659331867,train,about even,almost certain,Chances are about even that 'Mary dropped the milk and Greg is a swan'.,It is almost certain that 'Mary dropped the milk and Greg is a swan'.,1,'Mary dropped the milk and Greg is a swan'. It is probable that Lily is green. It is impossible that Antoine is bored. It is likely that John picked up the apple.,It is certain that 'John picked up 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.7::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.4614922984596919,train,about even,certain,Chances are about even that 'John picked up the apple and Lily is green'.,It is certain that 'John picked up the apple and Lily is green'.,0,'John picked up the apple and Lily is green'. There is a better than even chance that John discarded the milk. It is highly likely that Lily is a swan. It is highly unlikely that Julius is a rhino.,There is a better than even chance that 'John discarded the milk' 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.9::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.62,0.07141428285657131,train,better than even,impossible,There is a better than even chance that 'John discarded the milk' or 'Julius is a rhino' or both.,It is impossible that 'John discarded the milk' or 'Julius is a rhino' or both.,1,'John discarded the milk' or 'Julius is a rhino' or both. We doubt that Brian is yellow. It is probably not the case that Mary left the milk. We believe that John put down the milk.,Chances are slight that 'Brian 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.2::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.24084816963392677,train,chances are slight,very good chance,Chances are slight that 'Brian is yellow and John put down the milk'.,There is a very good chance that 'Brian is yellow and John put down the milk'.,1,'Brian is yellow and John put down the milk'. It is highly likely that Greg is a swan. It is highly likely that Jason is bored. Chances are about even that Bill went to the office.,We doubt that either 'Jason 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.9::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.17999999999999997,0.4872974594918984,train,we doubt,probable,We doubt that either 'Jason is bored' or 'Greg is a swan' but not both.,It is probable that either 'Jason is bored' or 'Greg is a swan' but not both.,1,Either 'Jason is bored' or 'Greg is a swan' but not both. It is highly likely that Mary took the milk. It is probable that Brian is a rhino. It is certain that Julius is a swan.,It is certain 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.9::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.29165833166633326,train,certain,highly unlikely,It is certain that 'Brian is a rhino' or 'Julius is a swan' or both.,It is highly unlikely that 'Brian is a rhino' or 'Julius is a swan' or both.,1,'Brian is a rhino' or 'Julius is a swan' or both. It is likely that Lily is white. It is unlikely that Sandra got the milk. There is a very good chance that Jeff went to the garden.,There is little chance that 'Lily is white 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.2::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.010602120424084817,train,little chance,very good chance,There is little chance that 'Lily is white and Sandra got the milk'.,There is a very good chance that 'Lily is white and Sandra got the milk'.,1,'Lily is white and Sandra got the milk'. It is almost certain that Brian is a lion. It is highly likely that Julius is a swan. We believe that Daniel grabbed the apple.,We believe that either 'Brian is a lion' 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.9::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.719743948789758,train,little chance,we believe,There is little chance that either 'Brian is a lion' or 'Julius is a swan' but not both.,We believe that either 'Brian is a lion' or 'Julius is a swan' but not both.,0,Either 'Brian is a lion' or 'Julius is a swan' but not both. It is probably not the case that Julius is a swan. There is little chance that Emily is a mouse. It is certain that Mary moved to the garden.,It is probably not the case that 'Julius is a swan 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.1::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.25,0.7369473894778956,train,probably not,we believe,It is probably not the case that 'Julius is a swan and Mary moved to the garden'.,We believe that 'Julius is a swan and Mary moved to the garden'.,1,'Julius is a swan and Mary moved to the garden'. It is probably not the case that Bernhard is a frog. Chances are about even that Brian is a rhino. It is certain that Sandra left the apple.,There is a better than even chance 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.25::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.625,0.32506501300260054,train,better than even,chances are slight,There is a better than even chance that 'Bernhard is a frog' or 'Brian is a rhino' or both.,Chances are slight that 'Bernhard is a frog' or 'Brian is a rhino' or both.,1,'Bernhard is a frog' or 'Brian is a rhino' or both. It is probable that Bernhard is a frog. It is certain that Mary went to the hallway. It is impossible that John discarded the milk.,It is certain that 'Bernhard 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.7::factA. 1.0::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.5181036207241448,train,certain,highly unlikely,It is certain that 'Bernhard is a frog' or 'Mary went to the hallway' or both.,It is highly unlikely that 'Bernhard is a frog' or 'Mary went to the hallway' or both.,1,'Bernhard is a frog' or 'Mary went to the hallway' or both. It is certain that Lily is a rhino. It is highly likely that Bernhard is a rhino. There is a very good chance that Julius is a frog.,It is probably not the case that 'Bernhard 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 1.0::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7200000000000001,0.7309461892378476,train,likely,probably not,It is likely that 'Bernhard is a rhino and Julius is a frog'.,It is probably not the case that 'Bernhard is a rhino and Julius is a frog'.,0,'Bernhard is a rhino and Julius is a frog'. It is probably the case that Lily is a swan. It is probable that Mary got the football. It is probably not the case that Bernhard is a frog.,There is almost no chance 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.7::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.20664132826565312,train,very good chance,almost no chance,There is a very good chance that 'Bernhard is a frog' or 'Lily is a swan' or both.,There is almost no chance that 'Bernhard is a frog' or 'Lily is a swan' or both.,0,'Bernhard is a frog' or 'Lily is a swan' or both. There is a better than even chance that Julius is a lion. There is little chance that Lily is gray. It is likely that John dropped the apple.,We believe that 'Lily is gray' 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.6::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.5671134226845369,train,we believe,highly unlikely,We believe that 'Lily is gray' or 'John dropped the apple' or both.,It is highly unlikely that 'Lily is gray' or 'John dropped the apple' or both.,1,'Lily is gray' or 'John dropped the apple' or both. We doubt that Greg is gray. We doubt that Sumit is tired. It is likely that John picked up the apple.,Chances are slight 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.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.590118023604721,train,better than even,chances are slight,There is a better than even chance that either 'John picked up the apple' or 'Greg is gray' but not both.,Chances are slight 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 certain that Fred went to the garden. There is a very good chance that Brian is a swan. There is a better than even chance that Greg is yellow.,Chances are about even 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.8::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.11682336467293458,train,about even,almost certain,Chances are about even that either 'Fred went to the garden' or 'Greg is yellow' but not both.,It is almost certain 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. We doubt that Winona is a mouse. It is improbable that Bernhard is white. Chances are about even that Emily is a sheep.,It is probably not the case that either 'Bernhard is white' 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.1::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.7265453090618124,train,probably not,probably,It is probably not the case that either 'Bernhard is white' or 'Winona is a mouse' but not both.,It is probably the case that either 'Bernhard is white' or 'Winona is a mouse' but not both.,1,Either 'Bernhard is white' or 'Winona is a mouse' but not both. It is probably the case that John picked up the milk. There is almost no chance that Greg is a rhino. It is highly likely that Bernhard is white.,It is highly likely that 'Bernhard 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.02::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.902,0.7979595919183837,train,highly likely,improbable,It is highly likely that 'Bernhard is white' or 'Greg is a rhino' or both.,It is improbable that 'Bernhard is white' or 'Greg is a rhino' or both.,1,'Bernhard is white' or 'Greg is a rhino' or both. It is likely that Brian is a frog. It is impossible that Greg is yellow. There is a very good chance that Mary left the football.,It is impossible that either 'Greg is yellow' 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.0::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.8,0.20384076815363072,train,very good chance,impossible,There is a very good chance that either 'Greg is yellow' or 'Mary left the football' but not both.,It is impossible that either 'Greg is yellow' or 'Mary left the football' but not both.,0,Either 'Greg is yellow' or 'Mary left the football' but not both. It is probably the case that Julius is a frog. It is improbable that Brian is yellow. There is a better than even chance that Lily is a rhino.,It is unlikely that 'Brian 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.1::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.6067213442688538,train,we believe,unlikely,We believe that 'Brian is yellow' or 'Julius is a frog' or both.,It is unlikely that 'Brian is yellow' or 'Julius is a frog' or both.,0,'Brian is yellow' or 'Julius is a frog' or both. It is highly likely that Brian is a frog. There is almost no chance that Mary went to the office. There is little chance that Bernhard is green.,Chances are about even 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.9::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0020000000000000005,0.0680136027205441,train,impossible,about even,It is impossible that 'Bernhard is green and Mary went to the office'.,Chances are about even that 'Bernhard is green and Mary went to the office'.,0,'Bernhard is green and Mary went to the office'. It is unlikely that Julius is a swan. It is almost certain that John went to the kitchen. It is probably not the case that Gertrude is a wolf.,It is improbable that 'Gertrude 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.2::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9625,0.4596919383876775,train,almost certain,improbable,It is almost certain that 'Gertrude is a wolf' or 'John went to the kitchen' or both.,It is improbable that 'Gertrude is a wolf' or 'John went to the kitchen' or both.,0,'Gertrude is a wolf' or 'John went to the kitchen' or both. It is unlikely that Winona is a wolf. There is almost no chance that Greg is white. It is probably the case that Mary went to the bedroom.,We doubt 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.2::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.21200000000000002,0.22664532906581317,train,we doubt,certain,We doubt that either 'Winona is a wolf' or 'Greg is white' but not both.,It is certain that either 'Winona is a wolf' or 'Greg is white' but not both.,1,Either 'Winona is a wolf' or 'Greg is white' but not both. Chances are about even that Sandra left the football. It is unlikely that Brian is a swan. It is almost certain that John got the apple.,It is likely that 'Brian is a swan 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.5::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.10000000000000002,0.21964392878575714,train,improbable,likely,It is improbable that 'Brian is a swan and Sandra left the football'.,It is likely that 'Brian is a swan and Sandra left the football'.,0,'Brian is a swan and Sandra left the football'. It is impossible that Greg is a swan. Chances are about even that Julius is a rhino. It is probably not the case that Brian is yellow.,Chances are about even that 'Greg is a swan 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.5::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.22104420884176834,train,impossible,about even,It is impossible that 'Greg is a swan and Julius is a rhino'.,Chances are about even that 'Greg is a swan and Julius is a rhino'.,0,'Greg is a swan and Julius is a rhino'. It is probably not the case that Daniel left the apple. It is almost certain that Brian is a frog. It is improbable that Greg is white.,There is almost no chance that 'Daniel left the apple 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.3320664132826565,train,almost no chance,better than even,There is almost no chance that 'Daniel left the apple and Greg is white'.,There is a better than even chance that 'Daniel left the apple and Greg is white'.,1,'Daniel left the apple and Greg is white'. There is a better than even chance that Bernhard is green. We believe that Brian is a rhino. It is likely that Lily is green.,Chances are about even 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.6::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45000000000000007,0.6467293458691739,train,about even,impossible,Chances are about even that either 'Bernhard is green' or 'Brian is a rhino' but not both.,It is impossible 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 impossible that Brian is a swan. There is a very good chance that Fred put down the apple. There is little chance that Mary grabbed the milk.,We believe that 'Mary grabbed 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.8::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7113422684536908,train,impossible,we believe,It is impossible that 'Mary grabbed the milk and Brian is a swan'.,We believe that 'Mary grabbed the milk and Brian is a swan'.,0,'Mary grabbed the milk and Brian is a swan'. It is probably the case that Lily is a lion. It is likely that Julius is yellow. It is highly likely that Mary put down the apple.,It is probably not the case that either 'Lily is a lion' or 'Mary put down the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.33999999999999997,0.3624724944988998,train,probably not,very good chance,It is probably not the case that either 'Lily is a lion' or 'Mary put down the apple' but not both.,There is a very good chance that either 'Lily is a lion' or 'Mary put down the apple' but not both.,1,Either 'Lily is a lion' or 'Mary put down the apple' but not both. It is highly unlikely that Mary went to the garden. It is almost certain that John dropped the apple. It is highly unlikely that Jason is bored.,It is highly likely that either 'Jason is bored' 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.05::factA. 0.95::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9049999999999999,0.4310862172434487,train,highly likely,impossible,It is highly likely that either 'Jason is bored' or 'John dropped the apple' but not both.,It is impossible that either 'Jason is bored' or 'John dropped the apple' but not both.,1,Either 'Jason is bored' or 'John dropped the apple' but not both. It is unlikely that Mary took the football. It is almost certain that Sandra left the milk. It is impossible that Yann is bored.,It is probably not the case that either 'Yann is bored' 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.2::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.06581316263252651,train,almost certain,probably not,It is almost certain that either 'Yann is bored' or 'Sandra left the milk' but not both.,It is probably not the case that either 'Yann is bored' or 'Sandra left the milk' but not both.,0,Either 'Yann is bored' or 'Sandra left the milk' but not both. There is a very good chance that Bernhard is a lion. It is unlikely that Julius is a swan. We believe that Brian is yellow.,It is impossible that either 'Bernhard is a lion' 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.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.68,0.6881376275255051,train,probable,impossible,It is probable that either 'Bernhard is a lion' or 'Julius is a swan' but not both.,It is impossible that either 'Bernhard is a lion' or 'Julius is a swan' but not both.,0,Either 'Bernhard is a lion' or 'Julius is a swan' but not both. It is almost certain that Brian is a lion. It is probably the case that Daniel got the football. We doubt that Greg is white.,Chances are slight that either 'Daniel got the football' 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.95::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.62,0.6685337067413483,train,better than even,chances are slight,There is a better than even chance that either 'Daniel got the football' or 'Greg is white' but not both.,Chances are slight that either 'Daniel got the football' or 'Greg is white' but not both.,0,Either 'Daniel got the football' or 'Greg is white' but not both. It is improbable that Fred left the apple. We doubt that Sandra took the football. It is highly likely that Lily is green.,It is probable that 'Lily is green 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.1::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09000000000000001,0.7541508301660332,train,chances are slight,probable,Chances are slight that 'Lily is green and Fred left the apple'.,It is probable that 'Lily is green and Fred left the apple'.,0,'Lily is green and Fred left the apple'. We believe that Brian is green. It is likely that Mary went to the office. We doubt that Julius is a swan.,It is highly unlikely that either 'Mary went to the office' 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.75::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.3242648529705941,train,about even,highly unlikely,Chances are about even that either 'Mary went to the office' or 'Brian is green' but not both.,It is highly unlikely that either 'Mary went to the office' or 'Brian is green' but not both.,0,Either 'Mary went to the office' or 'Brian is green' but not both. We doubt that Bernhard is a frog. It is probably not the case that John went to the hallway. We doubt that Julius is a lion.,It is probably not the case that either 'Bernhard 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.2::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.1298259651930386,train,probably not,highly likely,It is probably not the case that either 'Bernhard is a frog' or 'Julius is a lion' but not both.,It is highly likely that either 'Bernhard is a frog' or 'Julius is a lion' but not both.,1,Either 'Bernhard is a frog' or 'Julius is a lion' but not both. It is probably the case that Julius is green. There is little chance that Lily is a swan. Chances are about even that Yann is bored.,There is almost no chance that 'Lily is a swan' 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.7::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.55,0.34326865373074616,train,better than even,almost no chance,There is a better than even chance that 'Lily is a swan' or 'Yann is bored' or both.,There is almost no chance that 'Lily is a swan' or 'Yann is bored' or both.,0,'Lily is a swan' or 'Yann is bored' or both. It is probable that Brian is a frog. It is certain that Sandra dropped the apple. It is highly likely that Mary left the football.,It is impossible that 'Mary left the football 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. 1.0::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.9,0.28045609121824366,train,highly likely,impossible,It is highly likely that 'Mary left the football and Sandra dropped the apple'.,It is impossible that 'Mary left the football and Sandra dropped the apple'.,0,'Mary left the football and Sandra dropped the apple'. It is highly likely that Fred dropped the milk. It is certain that Greg is a lion. It is unlikely that Winona is a wolf.,It is highly likely that 'Greg is a lion 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.9::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.9,0.46569313862772554,train,highly likely,almost no chance,It is highly likely that 'Greg is a lion and Fred dropped the milk'.,There is almost no chance that 'Greg is a lion and Fred dropped the milk'.,1,'Greg is a lion and Fred dropped the milk'. It is unlikely that Jessica is a cat. There is little chance that Bill got the milk there. It is improbable that John dropped the milk.,There is almost no chance that 'Jessica is a cat 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.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.2930586117223445,train,almost no chance,very good chance,There is almost no chance that 'Jessica is a cat and John dropped the milk'.,There is a very good chance that 'Jessica is a cat and John dropped the milk'.,1,'Jessica is a cat and John dropped the milk'. Chances are about even that Julius is a swan. It is certain that Brian is yellow. It is likely that Mary dropped the milk.,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.5::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.7689537907581516,train,certain,improbable,It is certain 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. Chances are about even that Mary left the football. Chances are slight that Lily is a frog. It is probably the case that Brian is yellow.,It is certain that either 'Brian is yellow' 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.5::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.49999999999999994,0.3184636927385477,train,about even,certain,Chances are about even that either 'Brian is yellow' or 'Mary left the football' but not both.,It is certain that either 'Brian is yellow' or 'Mary left the football' but not both.,0,Either 'Brian is yellow' or 'Mary left the football' but not both. It is unlikely that John took the apple. Chances are about even that Winona is a sheep. We doubt that Bill went to the garden.,Chances are about even that either 'Bill went to the garden' 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.5::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.5477095419083817,train,about even,highly unlikely,Chances are about even that either 'Bill went to the garden' or 'Winona is a sheep' but not both.,It is highly unlikely that either 'Bill went to the garden' or 'Winona is a sheep' but not both.,1,Either 'Bill went to the garden' or 'Winona is a sheep' but not both. Chances are slight that Greg is yellow. We doubt that Brian is a frog. There is a very good chance that Sandra dropped the milk.,We doubt that 'Sandra dropped the milk' 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.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8400000000000001,0.6259251850370074,train,very good chance,we doubt,There is a very good chance that 'Sandra dropped the milk' or 'Brian is a frog' or both.,We doubt that 'Sandra dropped the milk' or 'Brian is a frog' or both.,0,'Sandra dropped the milk' or 'Brian is a frog' or both. It is probable that Yann is bored. It is likely that Greg is gray. Chances are slight that Mary left the milk.,It is probable that either 'Yann is bored' or 'Mary left the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.13782756551310263,train,probable,unlikely,It is probable that either 'Yann is bored' or 'Mary left the milk' but not both.,It is unlikely that either 'Yann is bored' or 'Mary left the milk' but not both.,1,Either 'Yann is bored' or 'Mary left the milk' but not both. It is almost certain that Greg is gray. It is impossible that Bernhard is yellow. There is almost no chance that Brian is a rhino.,There is almost no chance that 'Greg is gray 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.95::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.019,0.47689537907581514,train,almost no chance,highly likely,There is almost no chance that 'Greg is gray and Brian is a rhino'.,It is highly likely that 'Greg is gray and Brian is a rhino'.,1,'Greg is gray and Brian is a rhino'. It is almost certain that Daniel got the milk. It is certain that Fred went to the garden. There is almost no chance that Brian is a swan.,It is almost certain that 'Daniel got 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.95::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.95,0.07101420284056811,train,almost certain,impossible,It is almost certain that 'Daniel got the milk and Fred went to the garden'.,It is impossible that 'Daniel got the milk and Fred went to the garden'.,1,'Daniel got the milk and Fred went to the garden'. There is a very good chance that John took the apple. There is a very good chance that Sandra left the milk. It is highly unlikely that Bernhard is a swan.,There is a better than even chance that 'John took the apple 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.8::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.64,0.1818363672734547,train,better than even,little chance,There is a better than even chance that 'John took the apple and Sandra left the milk'.,There is little chance that 'John took the apple and Sandra left the milk'.,1,'John took the apple and Sandra left the milk'. It is almost certain that Bernhard is yellow. It is improbable that John went to the bedroom. There is little chance that Brian is a swan.,It is highly likely that either 'Brian is a swan' 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.95::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.28525705141028207,train,we doubt,highly likely,We doubt that either 'Brian is a swan' or 'John went to the bedroom' but not both.,It is highly likely that either 'Brian is a swan' or 'John went to the bedroom' but not both.,0,Either 'Brian is a swan' or 'John went to the bedroom' but not both. There is almost no chance that Jessica is a mouse. It is highly likely that John dropped the apple. There is little chance that Bernhard is green.,It is improbable that either 'Bernhard is green' 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.02::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.05061012202440488,train,improbable,likely,It is improbable that either 'Bernhard is green' or 'Jessica is a mouse' but not both.,It is likely that either 'Bernhard is green' or 'Jessica is a mouse' but not both.,1,Either 'Bernhard is green' or 'Jessica is a mouse' but not both. It is likely that Mary is in the hallway. It is unlikely that Sandra took the milk. It is likely that John went to the office.,Chances are about even that either 'John went to the office' 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 0.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.10222044408881777,train,about even,almost certain,Chances are about even that either 'John went to the office' or 'Mary is in the hallway' but not both.,It is almost certain that either 'John went to the office' or 'Mary is in the hallway' but not both.,1,Either 'John went to the office' or 'Mary is in the hallway' but not both. It is highly likely that Fred went to the garden. We believe that Jeff put down the milk. It is highly unlikely that Greg is green.,It is probably not the case that either 'Jeff put down the milk' 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.9::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.006601320264052811,train,probably not,almost certain,It is probably not the case that either 'Jeff put down the milk' or 'Fred went to the garden' but not both.,It is almost certain that either 'Jeff put down the milk' or 'Fred went to the garden' but not both.,1,Either 'Jeff put down the milk' or 'Fred went to the garden' but not both. We believe that Mary went to the garden. It is impossible that Emily is a sheep. It is improbable that Julius is white.,It is probably not the case 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.75::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.23904780956191238,train,likely,probably not,It is likely that either 'Mary went to the garden' or 'Julius is white' but not both.,It is probably not the case that either 'Mary went to the garden' or 'Julius is white' but not both.,0,Either 'Mary went to the garden' or 'Julius is white' but not both. It is unlikely that Lily is green. There is a better than even chance that Bernhard is yellow. It is certain that Jeff dropped the apple.,It is impossible that either 'Jeff dropped the apple' or 'Bernhard is yellow' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.6::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.5869173834766953,train,about even,impossible,Chances are about even that either 'Jeff dropped the apple' or 'Bernhard is yellow' but not both.,It is impossible that either 'Jeff dropped the apple' or 'Bernhard is yellow' but not both.,0,Either 'Jeff dropped the apple' or 'Bernhard is yellow' but not both. It is highly unlikely that John took the football. There is a very good chance that Mary moved to the office. It is impossible that Julius is a lion.,It is likely that 'Julius 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.05::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.05000000000000001,0.4956991398279656,train,highly unlikely,likely,It is highly unlikely that 'Julius is a lion' or 'John took the football' or both.,It is likely that 'Julius is a lion' or 'John took the football' or both.,0,'Julius is a lion' or 'John took the football' or both. Chances are about even that John grabbed the apple. We doubt that Greg is a frog. It is probably the case that Daniel got the milk.,It is improbable that 'John grabbed the apple' 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.5::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8499999999999999,0.3280656131226245,train,very good chance,improbable,There is a very good chance that 'John grabbed the apple' or 'Daniel got the milk' or both.,It is improbable that 'John grabbed the apple' or 'Daniel got the milk' or both.,0,'John grabbed the apple' or 'Daniel got the milk' or both. It is impossible that Jessica is a mouse. There is almost no chance that John moved to the office. It is probably the case that Mary went to the bedroom.,It is improbable 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.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7,0.27745549109821965,train,probable,improbable,It is probable that 'Mary went to the bedroom' or 'Jessica is a mouse' or both.,It is improbable 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 improbable that John left the football. It is probably the case that Greg is white. Chances are slight that Lily is a swan.,It is probable 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.25125025005001,train,highly unlikely,probable,It is highly unlikely that 'Lily is a swan and Greg is white'.,It is probable that 'Lily is a swan and Greg is white'.,0,'Lily is a swan and Greg is white'. We believe that Fred is in the cinema. Chances are about even that John went to the hallway. It is probably not the case that Mary took the football.,Chances are about even that 'Fred is in the cinema 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.75::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.375,0.47909581916383276,train,about even,almost no chance,Chances are about even that 'Fred is in the cinema and John went to the hallway'.,There is almost no chance that 'Fred is in the cinema and John went to the hallway'.,1,'Fred is in the cinema and John went to the hallway'. It is improbable that Mary went to the hallway. It is almost certain that Gertrude is a sheep. It is unlikely that Bernhard is a swan.,It is probably not the case 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.1::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.058611722344468896,train,we believe,probably not,We believe that either 'Bernhard is a swan' or 'Gertrude is a sheep' but not both.,It is probably not the case 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. It is probably not the case that Julius is gray. There is little chance that Greg is a rhino. It is improbable that Sumit is tired.,It is probably the case that 'Julius is gray and Sumit 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.16943388677735546,train,almost no chance,probably,There is almost no chance that 'Julius is gray and Sumit is tired'.,It is probably the case that 'Julius is gray and Sumit is tired'.,0,'Julius is gray and Sumit is tired'. It is unlikely that Greg is a swan. It is highly unlikely that Lily is a rhino. It is improbable that Bernhard is a lion.,It is probable that either 'Bernhard 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.2::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.658131626325265,train,little chance,probable,There is little chance that either 'Bernhard is a lion' or 'Lily is a rhino' but not both.,It is probable that either 'Bernhard is a lion' or 'Lily is a rhino' but not both.,0,Either 'Bernhard is a lion' or 'Lily is a rhino' but not both. It is probably the case that Brian is a swan. It is probable that John grabbed the milk. It is improbable that Lily is a frog.,Chances are slight that 'John grabbed 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.5241048209641929,train,we believe,chances are slight,We believe that 'John grabbed the milk' or 'Lily is a frog' or both.,Chances are slight that 'John grabbed the milk' or 'Lily is a frog' or both.,0,'John grabbed the milk' or 'Lily is a frog' or both. It is highly unlikely that Brian is a rhino. It is highly unlikely that Greg is gray. There is little chance that Mary got the football.,It is highly likely that 'Greg 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.05::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.40988197639527907,train,impossible,highly likely,It is impossible that 'Greg is gray and Mary got the football'.,It is highly likely that 'Greg is gray and Mary got the football'.,0,'Greg is gray and Mary got the football'. It is likely that Julius is a swan. It is highly likely that Mary went to the kitchen. It is probably not the case that John took the apple.,Chances are slight 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.7::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.07261452290458091,train,better than even,chances are slight,There is a better than even chance that either 'Julius is a swan' or 'John took the apple' but not both.,Chances are slight that either 'Julius is a swan' or 'John took the apple' but not both.,0,Either 'Julius is a swan' or 'John took the apple' but not both. It is unlikely that Brian is a frog. It is probable that John left the milk. It is probably not the case that Bernhard is a swan.,It is impossible that 'John left the milk' 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.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7599999999999999,0.1830366073214643,train,we believe,impossible,We believe that 'John left the milk' or 'Brian is a frog' or both.,It is impossible that 'John left the milk' or 'Brian is a frog' or both.,0,'John left the milk' or 'Brian is a frog' or both. It is unlikely that Brian is white. It is almost certain that Bernhard is a lion. It is probably not the case that Jeff left the football.,It is probably not the case that 'Jeff left the football 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.2::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.2375,0.1926385277055411,train,probably not,probably,It is probably not the case that 'Jeff left the football and Bernhard is a lion'.,It is probably the case that 'Jeff left the football and Bernhard is a lion'.,1,'Jeff left the football and Bernhard is a lion'. We believe that Bernhard is white. It is probably not the case that Mary went to the office. It is probably not the case that Julius is gray.,It is impossible 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.75::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.625,0.23084616923384677,train,better than even,impossible,There is a better than even chance 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.,0,Either 'Julius is gray' or 'Bernhard is white' but not both. It is probably the case that Greg is a lion. We doubt that Bernhard is green. We doubt that Mary went to the garden.,It is improbable that 'Greg is a lion' 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.5161032206441288,train,we believe,improbable,We believe that 'Greg is a lion' or 'Bernhard is green' or both.,It is improbable that 'Greg is a lion' or 'Bernhard is green' or both.,0,'Greg is a lion' or 'Bernhard is green' or both. It is almost certain that Brian is a frog. It is highly unlikely that Jeff moved to the garden. It is probable that Bernhard is a swan.,It is highly unlikely that 'Jeff moved to the garden and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.035,0.46509301860372076,train,highly unlikely,likely,It is highly unlikely that 'Jeff moved to the garden and Bernhard is a swan'.,It is likely that 'Jeff moved to the garden and Bernhard is a swan'.,1,'Jeff moved to the garden and Bernhard is a swan'. It is likely that Mary grabbed the milk. It is almost certain that Bernhard is yellow. There is little chance that Brian is a lion.,Chances are slight that 'Bernhard is yellow 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09500000000000001,0.7525505101020205,train,chances are slight,likely,Chances are slight that 'Bernhard is yellow and Brian is a lion'.,It is likely that 'Bernhard is yellow and Brian is a lion'.,1,'Bernhard is yellow and Brian is a lion'. There is a better than even chance that Bernhard is green. It is certain that Julius is gray. We doubt that Mary went to the kitchen.,It is highly unlikely that 'Bernhard is green 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6,0.046409281856371276,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is green and Julius is gray'.,It is highly unlikely that 'Bernhard is green and Julius is gray'.,0,'Bernhard is green and Julius is gray'. It is unlikely that Brian is white. We doubt that Jeff moved to the garden. It is likely that Greg is gray.,Chances are slight that 'Jeff moved to the garden 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.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.7419483896779356,train,chances are slight,probably,Chances are slight that 'Jeff moved to the garden and Greg is gray'.,It is probably the case that 'Jeff moved to the garden and Greg is gray'.,1,'Jeff moved to the garden and Greg is gray'. It is probable that John left the milk. We doubt that Greg is a swan. There is a very good chance that Mary went to the office.,There is little chance that either 'Greg is a swan' 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.7::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.68,0.45709141828365674,train,probable,little chance,It is probable that either 'Greg is a swan' or 'Mary went to the office' but not both.,There is little chance that either 'Greg is a swan' or 'Mary went to the office' but not both.,0,Either 'Greg is a swan' or 'Mary went to the office' but not both. It is probable that John discarded the apple. It is impossible that Mary moved to the garden. It is probable that Greg is white.,It is impossible that 'John discarded the apple 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.2580516103220644,train,impossible,better than even,It is impossible that 'John discarded the apple and Mary moved to the garden'.,There is a better than even chance that 'John discarded the apple and Mary moved to the garden'.,1,'John discarded the apple and Mary moved to the garden'. It is improbable that Emily is a mouse. Chances are about even that Sandra dropped the milk. It is highly likely that Lily is a frog.,There is a very good chance 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.1::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.6437287457491498,train,very good chance,improbable,There is a very good chance that either 'Emily is a mouse' or 'Lily is a frog' but not both.,It is improbable 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 impossible that Julius is a swan. Chances are slight that Lily is yellow. We doubt that Fred went to the garden.,Chances are slight 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.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.10000000000000002,0.17203440688137628,train,chances are slight,probable,Chances are slight that 'Lily is yellow' or 'Julius is a swan' or both.,It is probable that 'Lily is yellow' or 'Julius is a swan' or both.,1,'Lily is yellow' or 'Julius is a swan' or both. We believe that Brian is a rhino. There is a very good chance that Jessica is a mouse. It is almost certain that Julius is white.,It is likely that 'Julius is white 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.75::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7125,0.6431286257251451,train,likely,improbable,It is likely that 'Julius is white and Brian is a rhino'.,It is improbable that 'Julius is white and Brian is a rhino'.,1,'Julius is white and Brian is a rhino'. It is probably not the case that Greg is a rhino. It is certain that Mary discarded the milk. Chances are about even that Julius is gray.,We believe 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 0.25::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.75,0.053010602120424084,train,we believe,little chance,We believe that either 'Mary discarded the milk' or 'Greg is a rhino' but not both.,There is little chance that either 'Mary discarded the milk' or 'Greg is a rhino' but not both.,1,Either 'Mary discarded the milk' or 'Greg is a rhino' but not both. It is improbable that Julius is yellow. It is probably the case that Brian is green. Chances are slight that Lily is a rhino.,There is a better than even chance that 'Brian 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.5747149429885977,train,highly unlikely,better than even,It is highly unlikely that 'Brian is green and Lily is a rhino'.,There is a better than even chance that 'Brian is green and Lily is a rhino'.,0,'Brian is green and Lily is a rhino'. It is probably the case that Brian is a lion. There is almost no chance that Julius is a swan. We believe that Greg is a frog.,There is almost no chance that 'Julius is a swan 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.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.014000000000000007,0.04240848169633927,train,almost no chance,certain,There is almost no chance that 'Julius is a swan and Brian is a lion'.,It is certain that 'Julius is a swan and Brian is a lion'.,1,'Julius is a swan and Brian is a lion'. It is highly likely that Bernhard is a frog. It is impossible that Julius is a rhino. It is highly likely that Jason is tired.,It is highly likely that 'Bernhard 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.9::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.3976795359071814,train,highly likely,probably not,It is highly likely that 'Bernhard is a frog' or 'Julius is a rhino' or both.,It is probably not the case that 'Bernhard is a frog' or 'Julius is a rhino' or both.,1,'Bernhard is a frog' or 'Julius is a rhino' or both. There is a better than even chance that John took the football. It is improbable that Mary left the football. It is impossible that Bernhard is gray.,There is a better than even chance that 'Mary left the football' 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.1::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.5647129425885177,train,better than even,impossible,There is a better than even chance that 'Mary left the football' or 'John took the football' or both.,It is impossible that 'Mary left the football' or 'John took the football' or both.,1,'Mary left the football' or 'John took the football' or both. There is a very good chance that Bill got the milk there. It is certain that John dropped the apple. It is probably not the case that Mary moved to the garden.,It is certain that 'John dropped the apple' 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.8::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.4382876575315063,train,certain,little chance,It is certain that 'John dropped the apple' or 'Bill got the milk there' or both.,There is little chance that 'John dropped the apple' or 'Bill got the milk there' or both.,1,'John dropped the apple' or 'Bill got the milk there' or both. It is likely that Mary put down the milk. It is probably the case that Lily is a swan. It is probably not the case that Julius is gray.,It is unlikely that 'Julius is gray 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.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.1964392878575715,train,unlikely,probably,It is unlikely that 'Julius is gray and Lily is a swan'.,It is probably the case that 'Julius is gray and Lily is a swan'.,1,'Julius is gray and Lily is a swan'. It is improbable that Bernhard is a swan. We believe that John took the apple. It is probably not the case that Brian is a lion.,It is unlikely that 'Brian is a lion 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.75::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.1875,0.3008601720344069,train,unlikely,highly likely,It is unlikely that 'Brian is a lion and John took the apple'.,It is highly likely that 'Brian is a lion and John took the apple'.,1,'Brian is a lion and John took the apple'. It is likely that John went to the garden. It is unlikely that Greg is a rhino. It is unlikely that Brian is green.,It is certain that either 'Brian is green' 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. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32,0.46229245849169837,train,probably not,certain,It is probably not the case that either 'Brian is green' or 'Greg is a rhino' but not both.,It is certain that either 'Brian is green' or 'Greg is a rhino' but not both.,0,Either 'Brian is green' or 'Greg is a rhino' but not both. It is highly likely that John took the apple. It is unlikely that Mary went to the office. It is probably the case that Bernhard is yellow.,We believe that either 'Mary went to the office' 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.9::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.5563112622524505,train,we believe,we doubt,We believe that either 'Mary went to the office' or 'John took the apple' but not both.,We doubt that either 'Mary went to the office' or 'John took the apple' but not both.,1,Either 'Mary went to the office' or 'John took the apple' but not both. It is highly unlikely that Mary went to the bedroom. Chances are about even that Jason is tired. There is a better than even chance that John put down the milk.,It is probably not the case that 'Jason is tired 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.05::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.30000000000000004,0.4470894178835767,train,probably not,we believe,It is probably not the case that 'Jason is tired and John put down the milk'.,We believe that 'Jason is tired and John put down the milk'.,1,'Jason is tired and John put down the milk'. There is a very good chance that Daniel dropped the apple. It is probably not the case that Brian is a rhino. It is improbable that Lily is white.,It is likely that 'Brian is a rhino 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.25::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.39647929585917185,train,we doubt,likely,We doubt that 'Brian is a rhino and Daniel dropped the apple'.,It is likely that 'Brian is a rhino and Daniel dropped the apple'.,0,'Brian is a rhino and Daniel dropped the apple'. There is a better than even chance that Sandra left the milk. We doubt that Greg is white. We doubt that Jeff went to the garden.,It is probably not the case that either 'Greg 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.6::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.6537307461492299,train,probably not,certain,It is probably not the case that either 'Greg is white' or 'Jeff went to the garden' but not both.,It is certain that either 'Greg is white' or 'Jeff went to the garden' but not both.,1,Either 'Greg is white' or 'Jeff went to the garden' but not both. It is highly likely that Lily is yellow. Chances are about even that Sandra put down the milk. It is probable that Mary left the apple.,There is a very good chance that 'Sandra put down the milk' 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.9::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8499999999999999,0.33166633326665335,train,very good chance,unlikely,There is a very good chance that 'Sandra put down the milk' or 'Mary left the apple' or both.,It is unlikely that 'Sandra put down the milk' or 'Mary left the apple' or both.,1,'Sandra put down the milk' or 'Mary left the apple' or both. It is probably not the case that Julius is white. It is certain that Brian is a swan. It is improbable that Fred moved to the office.,There is almost no chance that 'Julius is white 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.25::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.2978595719143829,train,almost no chance,about even,There is almost no chance that 'Julius is white and Fred moved to the office'.,Chances are about even that 'Julius is white and Fred moved to the office'.,1,'Julius is white and Fred moved to the office'. It is improbable that Julius is a rhino. It is probable that Daniel took the apple. It is highly likely that John went to the kitchen.,There is a very good chance that either 'John went to the kitchen' 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.7::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.82,0.38667733546709343,train,very good chance,improbable,There is a very good chance that either 'John went to the kitchen' or 'Julius is a rhino' but not both.,It is improbable that either 'John went to the kitchen' or 'Julius is a rhino' but not both.,1,Either 'John went to the kitchen' or 'Julius is a rhino' but not both. There is a very good chance that Brian is green. It is probably the case that Julius is a frog. There is a better than even chance that Lily is yellow.,There is almost no chance that 'Julius is a frog' 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.7::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.94,0.5879175835167033,train,almost certain,almost no chance,It is almost certain that 'Julius is a frog' or 'Brian is green' or both.,There is almost no chance that 'Julius is a frog' or 'Brian is green' or both.,0,'Julius is a frog' or 'Brian is green' or both. It is unlikely that John went to the office. It is improbable that Brian is a frog. It is highly likely that Mary moved to the garden.,We doubt that 'Brian is a frog' 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.91,0.6155231046209242,train,highly likely,we doubt,It is highly likely that 'Brian is a frog' or 'Mary moved to the garden' or both.,We doubt that 'Brian is a frog' or 'Mary moved to the garden' or both.,0,'Brian is a frog' or 'Mary moved to the garden' or both. It is certain that Greg is a frog. Chances are slight that Lily is a rhino. It is improbable that Mary went to the office.,It is probably the case that 'Lily 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 1.0::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.4766953390678136,train,we doubt,probably,We doubt that 'Lily is a rhino' or 'Mary went to the office' or both.,It is probably the case that 'Lily is a rhino' or 'Mary went to the office' or both.,0,'Lily is a rhino' or 'Mary went to the office' or both. It is probably the case that Sandra took the milk. It is probably not the case that John went to the garden. Chances are slight that Julius is a lion.,There is a very good chance that 'Sandra took 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.7::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.05601120224044809,train,very good chance,impossible,There is a very good chance that 'Sandra took the milk' or 'John went to the garden' or both.,It is impossible that 'Sandra took the milk' or 'John went to the garden' or both.,1,'Sandra took the milk' or 'John went to the garden' or both. It is highly likely that John got the milk. It is likely that Fred went to the garden. Chances are slight that Brian is a lion.,It is almost certain that 'John got 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.9::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.6451290258051611,train,almost certain,almost no chance,It is almost certain that 'John got the milk' or 'Fred went to the garden' or both.,There is almost no chance that 'John got the milk' or 'Fred went to the garden' or both.,1,'John got the milk' or 'Fred went to the garden' or both. It is unlikely that Lily is yellow. It is highly likely that Fred went to the garden. It is probably the case that Mary discarded the apple.,It is likely that 'Fred went to the garden 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.9::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.18000000000000002,0.629125825165033,train,unlikely,likely,It is unlikely that 'Fred went to the garden and Lily is yellow'.,It is likely that 'Fred went to the garden and Lily is yellow'.,0,'Fred went to the garden and Lily is yellow'. We doubt that Brian is yellow. We believe that Greg is a frog. It is highly unlikely that John discarded the apple.,It is highly unlikely that 'John discarded 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.2::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.03750000000000001,0.3228645729145829,train,highly unlikely,likely,It is highly unlikely that 'John discarded the apple and Greg is a frog'.,It is likely that 'John discarded the apple and Greg is a frog'.,1,'John discarded the apple and Greg is a frog'. There is a very good chance that Mary went to the kitchen. It is likely that Greg is a swan. There is a better than even chance that Daniel got the football.,It is unlikely that 'Daniel got the football' 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.8::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9199999999999999,0.6491298259651931,train,highly likely,unlikely,It is highly likely that 'Daniel got the football' or 'Mary went to the kitchen' or both.,It is unlikely that 'Daniel got the football' or 'Mary went to the kitchen' or both.,0,'Daniel got the football' or 'Mary went to the kitchen' or both. It is certain that Brian is green. It is almost certain that Julius is a lion. It is likely that Daniel took the milk.,Chances are about even that 'Brian is green' 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 1.0::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.008201640328065612,train,certain,about even,It is certain that 'Brian is green' or 'Daniel took the milk' or both.,Chances are about even that 'Brian is green' or 'Daniel took the milk' or both.,0,'Brian is green' or 'Daniel took the milk' or both. Chances are about even that Lily is a swan. It is probably not the case that John went to the hallway. It is likely that Mary put down the apple.,There is a better than even chance that either 'John went to the hallway' or 'Mary put down the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.5535107021404281,train,better than even,impossible,There is a better than even chance that either 'John went to the hallway' or 'Mary put down the apple' but not both.,It is impossible that either 'John went to the hallway' or 'Mary put down the apple' but not both.,1,Either 'John went to the hallway' or 'Mary put down the apple' but not both. There is a very good chance that Greg is a rhino. It is improbable that Mary picked up the milk. It is highly unlikely that Bernhard is a frog.,There is almost no chance that 'Greg 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.8::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.81,0.5653130626125225,train,very good chance,almost no chance,There is a very good chance that 'Greg is a rhino' or 'Bernhard is a frog' or both.,There is almost no chance that 'Greg is a rhino' or 'Bernhard is a frog' or both.,0,'Greg is a rhino' or 'Bernhard is a frog' or both. It is almost certain that John moved to the office. Chances are slight that Lily is green. It is almost certain that Greg is gray.,It is highly unlikely that either 'John 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.95::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.3100620124024805,train,highly likely,highly unlikely,It is highly likely that either 'John moved to the office' or 'Lily is green' but not both.,It is highly unlikely that either 'John moved to the office' or 'Lily is green' but not both.,0,Either 'John moved to the office' or 'Lily is green' but not both. We believe that Emily is a sheep. It is highly unlikely that John went to the office. It is unlikely that Mary got the football.,It is improbable that 'Emily 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.05::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.20064012802560513,train,improbable,better than even,It is improbable that 'Emily is a sheep and Mary got the football'.,There is a better than even chance that 'Emily is a sheep and Mary got the football'.,1,'Emily is a sheep and Mary got the football'. It is probably the case that Mary grabbed the milk. It is probable that Emily is a sheep. There is almost no chance that Julius is a frog.,It is almost certain that 'Mary 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.5227045409081816,train,almost no chance,almost certain,There is almost no chance that 'Mary grabbed the milk and Julius is a frog'.,It is almost certain that 'Mary grabbed the milk and Julius is a frog'.,0,'Mary grabbed the milk and Julius is a frog'. It is improbable that Sandra dropped the milk. Chances are about even that John put down the apple. It is almost certain that Brian is a rhino.,There is a better than even chance that 'John put down 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.1::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.4014802960592118,train,better than even,little chance,There is a better than even chance that 'John put down the apple' or 'Sandra dropped the milk' or both.,There is little chance that 'John put down the apple' or 'Sandra dropped the milk' or both.,1,'John put down the apple' or 'Sandra dropped the milk' or both. It is improbable that John moved to the garden. It is likely that Brian is a swan. There is a better than even chance that Daniel left the milk.,It is impossible that 'Brian 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.1::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.6559311862372474,train,highly likely,impossible,It is highly likely that 'Brian is a swan' or 'Daniel left the milk' or both.,It is impossible that 'Brian is a swan' or 'Daniel left the milk' or both.,0,'Brian is a swan' or 'Daniel left the milk' or both. It is impossible that Greg is a frog. It is unlikely that John moved to the garden. It is probably the case that Jessica is a sheep.,There is a better than even chance that either 'Jessica 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.0::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.33626725345069014,train,better than even,highly unlikely,There is a better than even chance that either 'Jessica is a sheep' or 'John moved to the garden' but not both.,It is highly unlikely that either 'Jessica is a sheep' or 'John moved to the garden' but not both.,1,Either 'Jessica is a sheep' or 'John moved to the garden' but not both. It is probably the case that Emily is a sheep. It is highly likely that Bernhard is a swan. It is improbable that Brian is yellow.,It is impossible 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.28865773154630925,train,we believe,impossible,We believe that 'Emily is a sheep' or 'Brian is yellow' or both.,It is impossible that 'Emily is a sheep' or 'Brian is yellow' or both.,0,'Emily is a sheep' or 'Brian is yellow' or both. We believe that Daniel put down the milk. It is probable that John went to the office. Chances are slight that Brian is a rhino.,It is highly unlikely that 'John went 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.1908381676335267,train,highly unlikely,probably,It is highly unlikely that 'John went to the office and Brian is a rhino'.,It is probably the case that 'John went to the office and Brian is a rhino'.,1,'John went to the office and Brian is a rhino'. It is probable that Mary moved to the garden. Chances are slight that John grabbed the apple. It is highly likely that Julius is white.,There is little chance that either 'John grabbed the apple' 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.9::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.21044208841768353,train,likely,little chance,It is likely that either 'John grabbed the apple' or 'Mary moved to the garden' but not both.,There is little chance that either 'John grabbed the apple' or 'Mary moved to the garden' but not both.,0,Either 'John grabbed the apple' or 'Mary moved to the garden' but not both. Chances are about even that Julius is gray. There is little chance that Sandra dropped the milk. It is impossible that Greg is yellow.,It is impossible that 'Sandra dropped 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.5::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.060012002400480095,train,impossible,probable,It is impossible that 'Sandra dropped the milk and Greg is yellow'.,It is probable that 'Sandra dropped the milk and Greg is yellow'.,1,'Sandra dropped the milk and Greg is yellow'. It is highly unlikely that John put down the apple. It is highly likely that Greg is yellow. It is highly likely that Julius is a lion.,It is probable that either 'Greg 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.9::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.17999999999999997,0.20344068813762753,train,we doubt,probable,We doubt that either 'Greg is yellow' or 'Julius is a lion' but not both.,It is probable that either 'Greg is yellow' or 'Julius is a lion' but not both.,0,Either 'Greg is yellow' or 'Julius is a lion' but not both. It is probably not the case that Bernhard is yellow. It is probably not the case that Fred left the football. It is probably not the case that John put down the milk.,It is highly unlikely that 'Fred left 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.25::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0625,0.40168033606721343,train,highly unlikely,highly likely,It is highly unlikely that 'Fred left the football and John put down the milk'.,It is highly likely that 'Fred left the football and John put down the milk'.,1,'Fred left the football and John put down the milk'. Chances are slight that Mary went to the bedroom. There is little chance that Bernhard is a rhino. It is impossible that John took the football.,There is a better than even chance that either 'John took 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.1::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.10000000000000002,0.7253450690138028,train,chances are slight,better than even,Chances are slight that either 'John took the football' or 'Mary went to the bedroom' but not both.,There is a better than even chance that either 'John took the football' or 'Mary went to the bedroom' but not both.,0,Either 'John took the football' or 'Mary went to the bedroom' but not both. It is highly unlikely that Fred left the apple. Chances are slight that Mary dropped the milk. Chances are about even that Lily is gray.,It is certain that either 'Lily is gray' 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.05::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.40828165633126623,train,about even,certain,Chances are about even that either 'Lily is gray' or 'Mary dropped the milk' but not both.,It is certain that either 'Lily is gray' or 'Mary dropped the milk' but not both.,0,Either 'Lily is gray' or 'Mary dropped the milk' but not both. It is improbable that John got the milk. It is probably the case that Julius is a rhino. It is highly unlikely that Mary is in the bathroom.,It is impossible that either 'Julius is a rhino' 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.7::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.7909581916383277,train,probably,impossible,It is probably the case that either 'Julius is a rhino' or 'John got the milk' but not both.,It is impossible that either 'Julius is a rhino' or 'John got the milk' but not both.,0,Either 'Julius is a rhino' or 'John got the milk' but not both. There is a better than even chance that Brian is gray. It is unlikely that Lily is a lion. There is a very good chance that Sandra left the apple.,We believe that 'Sandra left 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.6::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.16000000000000003,0.7055411082216443,train,unlikely,we believe,It is unlikely that 'Sandra left the apple and Lily is a lion'.,We believe that 'Sandra left the apple and Lily is a lion'.,0,'Sandra left the apple and Lily is a lion'. It is likely that Greg is white. It is highly unlikely that Mary dropped the milk. It is probable that Bernhard is a rhino.,Chances are slight that either 'Mary dropped 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6799999999999999,0.20944188837767552,train,probable,chances are slight,It is probable that either 'Mary dropped the milk' or 'Greg is white' but not both.,Chances are slight that either 'Mary dropped the milk' or 'Greg is white' but not both.,0,Either 'Mary dropped the milk' or 'Greg is white' but not both. It is almost certain that Greg is a lion. It is probably not the case that Mary went to the office. It is highly likely that Sandra got the football.,There is almost no chance that either 'Sandra got the football' 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.25::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.02380476095219044,train,likely,almost no chance,It is likely that either 'Sandra got the football' or 'Mary went to the office' but not both.,There is almost no chance that either 'Sandra got the football' or 'Mary went to the office' but not both.,0,Either 'Sandra got the football' or 'Mary went to the office' but not both. It is highly likely that Jeff moved to the garden. It is unlikely that Sandra dropped the apple. There is almost no chance that Mary went to the bedroom.,Chances are slight that 'Jeff moved to the garden' 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.9::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.902,0.05461092218443689,train,highly likely,chances are slight,It is highly likely that 'Jeff moved to the garden' or 'Mary went to the bedroom' or both.,Chances are slight that 'Jeff moved to the garden' or 'Mary went to the bedroom' or both.,0,'Jeff moved to the garden' or 'Mary went to the bedroom' or both. It is improbable that Mary went to the office. Chances are about even that Bill left the milk. There is a very good chance that Bernhard is green.,There is a very good chance that 'Bernhard 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.1::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.7955591118223645,train,very good chance,almost no chance,There is a very good chance that 'Bernhard is green' or 'Mary went to the office' or both.,There is almost no chance that 'Bernhard is green' or 'Mary went to the office' or both.,1,'Bernhard is green' or 'Mary went to the office' or both. We believe that Lily is yellow. It is almost certain that John went to the bedroom. It is highly likely that Jason is thirsty.,We doubt that 'John went to the bedroom 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.75::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.855,0.36307261452290457,train,highly likely,we doubt,It is highly likely that 'John went to the bedroom and Jason is thirsty'.,We doubt that 'John went to the bedroom and Jason is thirsty'.,0,'John went to the bedroom and Jason is thirsty'. It is probable that John discarded the apple. It is highly unlikely that Brian is a frog. We doubt that Sandra is in the kitchen.,It is probably not the case that 'Sandra is in the kitchen' 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.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.24000000000000005,0.11282256451290258,train,probably not,very good chance,It is probably not the case that 'Sandra is in the kitchen' or 'Brian is a frog' or both.,There is a very good chance that 'Sandra is in the kitchen' or 'Brian is a frog' or both.,1,'Sandra is in the kitchen' or 'Brian is a frog' or both. It is improbable that Lily is a rhino. It is probably the case that Mary left the football. It is highly unlikely that Julius is a rhino.,It is probably the case 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.1::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.3160632126425285,train,highly unlikely,probably,It is highly unlikely that 'Lily is a rhino and Mary left the football'.,It is probably the case that 'Lily is a rhino and Mary left the football'.,0,'Lily is a rhino and Mary left the football'. Chances are about even that Brian is a rhino. Chances are slight that Lily is a swan. It is probable that Greg is a frog.,It is improbable 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.5::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8499999999999999,0.6395279055811163,train,very good chance,improbable,There is a very good chance that 'Brian is a rhino' or 'Greg is a frog' or both.,It is improbable 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 certain that Bernhard is a frog. It is probably the case that John moved to the office. It is impossible that Julius is a rhino.,It is improbable that 'John 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 1.0::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.33526705341068214,train,certain,improbable,It is certain that 'John moved to the office' or 'Bernhard is a frog' or both.,It is improbable that 'John moved to the office' or 'Bernhard is a frog' or both.,0,'John moved to the office' or 'Bernhard is a frog' or both. It is highly unlikely that Greg is green. It is likely that Daniel got the football. It is almost certain that Bernhard is a swan.,It is likely that either 'Bernhard is a swan' 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.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.0030006001200240046,train,probably not,likely,It is probably not the case that either 'Bernhard is a swan' or 'Daniel got the football' but not both.,It is likely that either 'Bernhard is a swan' or 'Daniel got the football' but not both.,0,Either 'Bernhard is a swan' or 'Daniel got the football' but not both. We doubt that Lily is a lion. There is almost no chance that Emily is a mouse. It is highly unlikely that Jeff dropped the apple.,It is unlikely that either 'Lily is a lion' 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.02::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.21200000000000002,0.41908381676335266,train,unlikely,highly likely,It is unlikely that either 'Lily is a lion' or 'Emily is a mouse' but not both.,It is highly likely that either 'Lily is a lion' or 'Emily is a mouse' but not both.,1,Either 'Lily is a lion' or 'Emily is a mouse' but not both. It is highly likely that Sandra dropped the milk. It is probably not the case that Winona is a mouse. It is impossible that Fred is in the school.,It is highly likely that 'Fred is in the school 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.9::factA. 0.25::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.12582516503300661,train,impossible,highly likely,It is impossible that 'Fred is in the school and Sandra dropped the milk'.,It is highly likely that 'Fred is in the school and Sandra dropped the milk'.,0,'Fred is in the school and Sandra dropped the milk'. There is a very good chance that Bernhard is a swan. It is highly unlikely that Brian is a frog. Chances are about even that Mary put down the apple.,It is unlikely that 'Mary put down 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.8::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9,0.5883176635327065,train,highly likely,unlikely,It is highly likely that 'Mary put down the apple' or 'Bernhard is a swan' or both.,It is unlikely that 'Mary put down the apple' or 'Bernhard is a swan' or both.,0,'Mary put down the apple' or 'Bernhard is a swan' or both. It is likely that Bill went to the garden. There is a very good chance that John dropped the apple. Chances are about even that Jason is bored.,It is almost certain that either 'Jason is bored' 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.8::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.49999999999999994,0.6625325065013002,train,about even,almost certain,Chances are about even that either 'Jason is bored' or 'Bill went to the garden' but not both.,It is almost certain that either 'Jason is bored' or 'Bill went to the garden' but not both.,0,Either 'Jason is bored' or 'Bill went to the garden' but not both. There is a very good chance that John got the milk. Chances are about even that Greg is white. There is a better than even chance that Mary went to the office.,It is highly likely that 'John got 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.8::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.11722344468893779,train,highly likely,chances are slight,It is highly likely that 'John got the milk' or 'Greg is white' or both.,Chances are slight that 'John got the milk' or 'Greg is white' or both.,1,'John got the milk' or 'Greg is white' or both. We believe that Lily is a swan. There is a very good chance that Winona is a wolf. It is highly unlikely that Julius is a rhino.,It is unlikely 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.75::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9500000000000001,0.6393278655731146,train,almost certain,unlikely,It is almost certain that 'Lily is a swan' or 'Winona is a wolf' or both.,It is unlikely that 'Lily is a swan' or 'Winona is a wolf' or both.,0,'Lily is a swan' or 'Winona is a wolf' or both. We doubt that Bernhard is yellow. We doubt that Julius is white. We doubt that Mary went to the bedroom.,It is certain that either 'Julius 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.2::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32,0.48469693938787756,train,probably not,certain,It is probably not the case that either 'Julius is white' or 'Bernhard is yellow' but not both.,It is certain that either 'Julius is white' or 'Bernhard is yellow' but not both.,0,Either 'Julius is white' or 'Bernhard is yellow' but not both. It is probable that Brian is gray. It is probably the case that John moved to the garden. It is unlikely that Julius is gray.,There is little chance that 'Brian is gray 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.23424684936987397,train,little chance,highly likely,There is little chance that 'Brian is gray and Julius is gray'.,It is highly likely that 'Brian is gray and Julius is gray'.,1,'Brian is gray and Julius is gray'. It is highly unlikely that Sandra left the milk. It is almost certain that Lily is white. It is likely that Jeff dropped the apple.,It is certain that 'Lily is white' 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.05::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.19623924784956992,train,certain,we doubt,It is certain that 'Lily is white' or 'Jeff dropped the apple' or both.,We doubt that 'Lily is white' or 'Jeff dropped the apple' or both.,1,'Lily is white' or 'Jeff dropped the apple' or both. It is probably the case that Bernhard is a frog. It is probably not the case that Emily is a sheep. We doubt that Mary grabbed the milk.,There is a better than even chance that either 'Emily is a sheep' 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.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.3812762552510502,train,better than even,impossible,There is a better than even chance that either 'Emily is a sheep' or 'Bernhard is a frog' but not both.,It is impossible that either 'Emily is a sheep' or 'Bernhard is a frog' but not both.,1,Either 'Emily is a sheep' or 'Bernhard is a frog' but not both. It is probably not the case that John went to the kitchen. It is highly likely that Mary left the football. Chances are slight that Bernhard is a rhino.,It is almost certain that 'Mary left the football' 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.25::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.925,0.7811562312462492,train,almost certain,probably not,It is almost certain that 'Mary left the football' or 'John went to the kitchen' or both.,It is probably not the case that 'Mary left the football' or 'John went to the kitchen' or both.,1,'Mary left the football' or 'John went to the kitchen' or both. There is little chance that John went to the garden. It is highly likely that Bernhard is a frog. It is probably the case that Mary left the apple.,It is highly unlikely that 'Mary left 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.1::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.7135427085417083,train,almost certain,highly unlikely,It is almost certain that 'Mary left the apple' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Mary left the apple' or 'Bernhard is a frog' or both.,0,'Mary left the apple' or 'Bernhard is a frog' or both. It is likely that Mary took the football. We doubt that John moved to the office. There is a very good chance that Brian is gray.,It is almost certain that either 'Mary took the football' 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.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.38,0.664132826565313,train,about even,almost certain,Chances are about even that either 'Mary took the football' or 'Brian is gray' but not both.,It is almost certain that either 'Mary took the football' or 'Brian is gray' but not both.,0,Either 'Mary took the football' or 'Brian is gray' but not both. It is highly unlikely that Julius is white. We believe that Yann is tired. It is highly unlikely that Daniel dropped the apple.,It is highly unlikely that 'Yann is tired 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.75::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.03750000000000001,0.479495899179836,train,highly unlikely,almost certain,It is highly unlikely that 'Yann is tired and Julius is white'.,It is almost certain that 'Yann is tired and Julius is white'.,1,'Yann is tired and Julius is white'. It is highly likely that Greg is a swan. We doubt that Gertrude is a sheep. It is improbable that Bernhard is a rhino.,It is almost certain that 'Gertrude 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.9::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.18000000000000002,0.2514502900580116,train,we doubt,almost certain,We doubt that 'Gertrude is a sheep and Greg is a swan'.,It is almost certain that 'Gertrude is a sheep and Greg is a swan'.,0,'Gertrude is a sheep and Greg is a swan'. Chances are about even that Brian is a frog. It is certain that Bernhard is a swan. It is probably the case that Jeff went to the bedroom.,It is likely that 'Bernhard 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.5::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.248249649929986,train,likely,almost no chance,It is likely that 'Bernhard is a swan and Jeff went to the bedroom'.,There is almost no chance that 'Bernhard is a swan and Jeff went to the bedroom'.,1,'Bernhard is a swan and Jeff went to the bedroom'. It is impossible that Lily is a swan. It is unlikely that Winona is a sheep. It is probably not the case that Daniel got the milk.,It is probably not the case that either 'Winona 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.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.35000000000000003,0.2454490898179636,train,probably not,probably,It is probably not the case that either 'Winona is a sheep' or 'Daniel got the milk' but not both.,It is probably the case that either 'Winona is a sheep' or 'Daniel got the milk' but not both.,1,Either 'Winona is a sheep' or 'Daniel got the milk' but not both. There is a very good chance that Mary left the football. It is likely that Emily is a mouse. There is little chance that Jason is tired.,It is probably the case that 'Jason is tired and Mary left the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.7251450290058011,train,little chance,probably,There is little chance that 'Jason is tired and Mary left the football'.,It is probably the case that 'Jason is tired and Mary left the football'.,0,'Jason is tired and Mary left the football'. There is a very good chance that Lily is a rhino. There is little chance that Fred moved to the office. Chances are about even that Mary dropped the milk.,It is certain that either 'Mary dropped the milk' 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.8::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.22944588917783557,train,about even,certain,Chances are about even that either 'Mary dropped the milk' or 'Fred moved to the office' but not both.,It is certain that either 'Mary dropped the milk' or 'Fred moved to the office' but not both.,0,Either 'Mary dropped the milk' or 'Fred moved to the office' but not both. It is certain that Winona is a sheep. It is almost certain that Mary is in the school. It is almost certain that Jessica is a sheep.,It is almost certain that 'Winona is a sheep and Mary 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 1.0::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.95,0.39367873574714946,train,almost certain,little chance,It is almost certain that 'Winona is a sheep and Mary is in the school'.,There is little chance that 'Winona is a sheep and Mary is in the school'.,1,'Winona is a sheep and Mary is in the school'. There is a very good chance that Greg is a swan. It is likely that Mary went to the bedroom. It is highly likely that Julius is gray.,Chances are about even that 'Julius is gray' or 'Greg is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.98,0.7293458691738348,train,certain,about even,It is certain that 'Julius is gray' or 'Greg is a swan' or both.,Chances are about even that 'Julius is gray' or 'Greg is a swan' or both.,0,'Julius is gray' or 'Greg is a swan' or both. It is likely that Julius is green. It is improbable that Lily is a swan. Chances are about even that Mary went to the office.,Chances are about even that either 'Mary went to the office' 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.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.49999999999999994,0.48369673934786955,train,about even,certain,Chances are about even that either 'Mary went to the office' or 'Julius is green' but not both.,It is certain that either 'Mary went to the office' or 'Julius is green' but not both.,1,Either 'Mary went to the office' or 'Julius is green' but not both. Chances are about even that Bernhard is a swan. It is unlikely that Daniel got the football. It is certain that Jessica is a sheep.,We believe that 'Daniel got the football 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.5::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.2,0.3138627725545109,train,we doubt,we believe,We doubt that 'Daniel got the football and Jessica is a sheep'.,We believe that 'Daniel got the football and Jessica is a sheep'.,0,'Daniel got the football and Jessica is a sheep'. It is certain that Bernhard is a frog. It is impossible that Greg is white. It is certain that John went to the bedroom.,Chances are about even 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 1.0::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.08841768353670734,train,certain,about even,It is certain that 'Bernhard is a frog' or 'John went to the bedroom' or both.,Chances are about even 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. There is almost no chance that Brian is yellow. It is almost certain that Mary left the football. Chances are about even that Sandra dropped the milk.,Chances are about even that either 'Sandra dropped the milk' 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.02::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.5017003400680136,train,about even,almost no chance,Chances are about even that either 'Sandra dropped the milk' or 'Brian is yellow' but not both.,There is almost no chance that either 'Sandra dropped the milk' or 'Brian is yellow' but not both.,1,Either 'Sandra dropped the milk' or 'Brian is yellow' but not both. There is little chance that Gertrude is a sheep. Chances are slight that Emily is a cat. There is a very good chance that Greg is a lion.,It is unlikely that 'Gertrude is a sheep' 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.1::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.19000000000000006,0.05001000200040008,train,unlikely,almost certain,It is unlikely that 'Gertrude is a sheep' or 'Emily is a cat' or both.,It is almost certain that 'Gertrude is a sheep' or 'Emily is a cat' or both.,1,'Gertrude is a sheep' or 'Emily is a cat' or both. There is almost no chance that John left the milk. It is impossible that Julius is a swan. We doubt that Bernhard is gray.,We believe 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.02::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.5915183036607321,train,unlikely,we believe,It is unlikely that 'Bernhard is gray' or 'John left the milk' or both.,We believe that 'Bernhard is gray' or 'John left the milk' or both.,0,'Bernhard is gray' or 'John left the milk' or both. There is a better than even chance that John moved to the office. It is highly unlikely that Bernhard is yellow. It is improbable that Brian is a lion.,We believe that either 'Bernhard 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.6::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.14000000000000004,0.22064412882576515,train,chances are slight,we believe,Chances are slight that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,We believe that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,0,Either 'Bernhard is yellow' or 'Brian is a lion' but not both. There is almost no chance that Brian is a swan. It is almost certain that Bernhard is a rhino. There is almost no chance that Mary dropped the milk.,It is almost certain that either 'Bernhard is a rhino' 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.95::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9319999999999999,0.32866573314662934,train,almost certain,almost no chance,It is almost certain that either 'Bernhard is a rhino' or 'Mary dropped the milk' but not both.,There is almost no chance that either 'Bernhard is a rhino' or 'Mary dropped the milk' but not both.,1,Either 'Bernhard is a rhino' or 'Mary dropped the milk' but not both. It is highly likely that Julius is a swan. It is almost certain that Sandra dropped the apple. It is impossible that Bill went to the office.,It is almost certain that 'Sandra dropped the apple' 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.9::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.95,0.5699139827965594,train,almost certain,almost no chance,It is almost certain that 'Sandra dropped the apple' or 'Bill went to the office' or both.,There is almost no chance that 'Sandra dropped the apple' or 'Bill went to the office' or both.,1,'Sandra dropped the apple' or 'Bill went to the office' or both. It is likely that Brian is green. It is certain that Lily is a swan. There is a very good chance that John went to the garden.,Chances are about even that either 'John went to the garden' 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. 1.0::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.38,0.22084416883376676,train,about even,highly unlikely,Chances are about even that either 'John went to the garden' or 'Brian is green' but not both.,It is highly unlikely that either 'John went to the garden' or 'Brian is green' but not both.,1,Either 'John went to the garden' or 'Brian is green' but not both. It is probably not the case that Lily is a lion. There is almost no chance that Mary grabbed the apple. It is impossible that Brian is white.,It is almost certain that 'Lily is a lion and Mary 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.25::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.005000000000000002,0.7463492698539708,train,impossible,almost certain,It is impossible that 'Lily is a lion and Mary grabbed the apple'.,It is almost certain that 'Lily is a lion and Mary grabbed the apple'.,0,'Lily is a lion and Mary grabbed the apple'. It is improbable that Lily is yellow. We believe that Brian is a lion. We believe that Sandra left the football.,There is a very good chance that 'Sandra left the football 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.75::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.4990998199639928,train,chances are slight,very good chance,Chances are slight that 'Sandra left the football and Lily is yellow'.,There is a very good chance that 'Sandra left the football and Lily is yellow'.,0,'Sandra left the football and Lily is yellow'. There is a very good chance that Greg is a rhino. It is probable that Julius is yellow. It is probably the case that Mary left the football.,There is a better than even chance that 'Greg is a rhino 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.5905181036207241,train,better than even,impossible,There is a better than even chance that 'Greg is a rhino and Julius is yellow'.,It is impossible that 'Greg is a rhino and Julius is yellow'.,1,'Greg is a rhino and Julius is yellow'. It is certain that Gertrude is a mouse. It is almost certain that Sandra dropped the milk. Chances are about even that Mary went to the kitchen.,It is highly unlikely that either 'Mary went to the kitchen' 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.95::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.34546909381876373,train,about even,highly unlikely,Chances are about even that either 'Mary went to the kitchen' or 'Sandra dropped the milk' but not both.,It is highly unlikely that either 'Mary went to the kitchen' or 'Sandra dropped the milk' but not both.,0,Either 'Mary went to the kitchen' or 'Sandra dropped the milk' but not both. It is probable that Lily is a lion. Chances are slight that Brian is green. It is probable that Mary is in the hallway.,It is probable that 'Brian is green 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.7625525105021004,train,highly unlikely,probable,It is highly unlikely that 'Brian is green and Mary is in the hallway'.,It is probable that 'Brian is green and Mary is in the hallway'.,0,'Brian is green and Mary is in the hallway'. It is likely that John picked up the milk. It is probable that Mary went to the office. Chances are slight that Greg is a swan.,It is probably the case that 'Greg 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.040008001600320066,train,highly unlikely,probably,It is highly unlikely that 'Greg is a swan and Mary went to the office'.,It is probably the case that 'Greg is a swan and Mary went to the office'.,0,'Greg is a swan and Mary went to the office'. There is a better than even chance that Gertrude is a cat. It is probable that Sumit is hungry. It is certain that Antoine is thirsty.,It is highly unlikely 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.6::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.47109421884376873,train,about even,highly unlikely,Chances are about even that 'Sumit is hungry and Gertrude is a cat'.,It is highly unlikely that 'Sumit is hungry and Gertrude is a cat'.,0,'Sumit is hungry and Gertrude is a cat'. It is likely that Brian is green. Chances are about even that Daniel took the apple. There is little chance that John left the apple.,It is highly unlikely that either 'Daniel took 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.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.49999999999999994,0.134626925385077,train,about even,highly unlikely,Chances are about even that either 'Daniel took the apple' or 'Brian is green' but not both.,It is highly unlikely that either 'Daniel took the apple' or 'Brian is green' but not both.,0,Either 'Daniel took the apple' or 'Brian is green' but not both. It is likely that John went to the office. We doubt that Daniel took the milk. We believe that Emily is a sheep.,It is highly unlikely that either 'Emily is a sheep' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.22644528905781156,train,about even,highly unlikely,Chances are about even that either 'Emily is a sheep' or 'John went to the office' but not both.,It is highly unlikely that either 'Emily is a sheep' or 'John went to the office' but not both.,0,Either 'Emily is a sheep' or 'John went to the office' but not both. It is improbable that Gertrude is a cat. It is unlikely that Mary got the milk. There is a better than even chance that Bernhard is a rhino.,There is a better than even chance that either 'Bernhard is a rhino' 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.1::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.58,0.3884776955391078,train,better than even,chances are slight,There is a better than even chance that either 'Bernhard is a rhino' or 'Gertrude is a cat' but not both.,Chances are slight that either 'Bernhard is a rhino' or 'Gertrude is a cat' but not both.,1,Either 'Bernhard is a rhino' or 'Gertrude is a cat' but not both. It is unlikely that John went to the office. There is a very good chance that Julius is a frog. It is certain that Greg is green.,It is likely 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.2::factA. 0.8::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.05781156231246249,train,we doubt,likely,We doubt that 'John went to the office and Greg is green'.,It is likely that 'John went to the office and Greg is green'.,0,'John went to the office and Greg is green'. There is little chance that Bernhard is gray. There is a better than even chance that Lily is a swan. Chances are slight that Mary went to the office.,We doubt that 'Mary went to the office' 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.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.19000000000000006,0.08241648329665933,train,we doubt,very good chance,We doubt that 'Mary went to the office' or 'Bernhard is gray' or both.,There is a very good chance that 'Mary went to the office' or 'Bernhard is gray' or both.,1,'Mary went to the office' or 'Bernhard is gray' or both. It is improbable that Sandra dropped the milk. Chances are slight that Greg is green. There is little chance that Mary went to the hallway.,It is unlikely that either 'Greg 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.45149029805961194,train,unlikely,probable,It is unlikely that either 'Greg is green' or 'Sandra dropped the milk' but not both.,It is probable that either 'Greg is green' or 'Sandra dropped the milk' but not both.,1,Either 'Greg is green' or 'Sandra dropped the milk' but not both. We doubt that Bill left the milk. There is almost no chance that Yann is hungry. It is certain that Sandra dropped the milk.,It is certain that either 'Sandra dropped the milk' 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.02::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.98,0.47209441888377673,train,certain,about even,It is certain that either 'Sandra dropped the milk' or 'Yann is hungry' but not both.,Chances are about even that either 'Sandra dropped the milk' or 'Yann is hungry' but not both.,1,Either 'Sandra dropped the milk' or 'Yann is hungry' but not both. There is almost no chance that Emily is a sheep. It is unlikely that Lily is white. It is unlikely that Mary moved to the garden.,We doubt that 'Mary moved to the garden' 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.27125425085017,train,we doubt,almost certain,We doubt that 'Mary moved to the garden' or 'Emily is a sheep' or both.,It is almost certain that 'Mary moved to the garden' or 'Emily is a sheep' or both.,1,'Mary moved to the garden' or 'Emily is a sheep' or both. It is probably not the case that Brian is white. It is almost certain that Greg is a rhino. It is improbable that Jeff moved to the garden.,It is probably not the case that 'Brian is white' 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.25::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.41988397679535905,train,probably not,probable,It is probably not the case that 'Brian is white' or 'Jeff moved to the garden' or both.,It is probable that 'Brian is white' or 'Jeff moved to the garden' or both.,1,'Brian is white' or 'Jeff moved to the garden' or both. It is impossible that Greg is gray. There is almost no chance that Mary moved to the office. There is little chance that Lily is a rhino.,We believe that either 'Lily 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.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.10000000000000002,0.6953390678135627,train,little chance,we believe,There is little chance that either 'Lily is a rhino' or 'Greg is gray' but not both.,We believe that either 'Lily is a rhino' or 'Greg is gray' but not both.,0,Either 'Lily is a rhino' or 'Greg is gray' but not both. It is highly unlikely that Emily is a wolf. It is improbable that Bernhard is a swan. Chances are slight that Mary left the football.,It is impossible that 'Emily is a wolf 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.005000000000000002,0.4446889377875575,train,impossible,likely,It is impossible that 'Emily is a wolf and Bernhard is a swan'.,It is likely that 'Emily is a wolf and Bernhard is a swan'.,1,'Emily is a wolf and Bernhard is a swan'. Chances are slight that Mary grabbed the milk. There is a better than even chance that Bernhard is a lion. Chances are slight that John moved to the garden.,It is certain that 'Mary grabbed 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.1::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.19000000000000006,0.6809361872374475,train,we doubt,certain,We doubt that 'Mary grabbed the milk' or 'John moved to the garden' or both.,It is certain that 'Mary grabbed the milk' or 'John moved to the garden' or both.,0,'Mary grabbed the milk' or 'John moved to the garden' or both. It is improbable that Gertrude is a mouse. It is probably not the case that Mary went to the office. It is almost certain that John grabbed the apple.,It is unlikely that either 'Mary went to the office' 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.25::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.725,0.27425485097019403,train,we believe,unlikely,We believe that either 'Mary went to the office' or 'John grabbed the apple' but not both.,It is unlikely that either 'Mary went to the office' or 'John grabbed the apple' but not both.,0,Either 'Mary went to the office' or 'John grabbed the apple' but not both. It is likely that Sandra left the apple. Chances are about even that Bernhard is a frog. It is probable that John took the milk.,It is highly unlikely that 'Bernhard is a frog' or 'John 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.5::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8499999999999999,0.7267453490698139,train,very good chance,highly unlikely,There is a very good chance that 'Bernhard is a frog' or 'John took the milk' or both.,It is highly unlikely that 'Bernhard is a frog' or 'John took the milk' or both.,0,'Bernhard is a frog' or 'John took the milk' or both. It is almost certain that Brian is a rhino. We doubt that Gertrude is a mouse. We believe that Julius is a swan.,It is unlikely that 'Gertrude 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.95::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.19,0.5381076215243049,train,unlikely,highly likely,It is unlikely that 'Gertrude is a mouse and Brian is a rhino'.,It is highly likely that 'Gertrude is a mouse and Brian is a rhino'.,1,'Gertrude is a mouse and Brian is a rhino'. There is almost no chance that Winona is a sheep. It is unlikely that Daniel took the milk. It is likely that Bernhard is white.,It is probable that either 'Winona is a sheep' 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.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.21200000000000002,0.7999599919983997,train,unlikely,probable,It is unlikely that either 'Winona is a sheep' or 'Daniel took the milk' but not both.,It is probable that either 'Winona is a sheep' or 'Daniel took the milk' but not both.,0,Either 'Winona is a sheep' or 'Daniel took the milk' but not both. It is unlikely that Brian is green. There is almost no chance that Sandra got the football. It is unlikely that Fred left the apple.,It is impossible that 'Sandra got the football 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.2::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.004000000000000002,0.5201040208041608,train,impossible,almost certain,It is impossible that 'Sandra got the football and Fred left the apple'.,It is almost certain that 'Sandra got the football and Fred left the apple'.,1,'Sandra got the football and Fred left the apple'. It is probably not the case that Lily is yellow. It is improbable that Julius is a frog. There is almost no chance that Sandra left the milk.,Chances are slight that either 'Sandra left the milk' or 'Julius is a frog' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.5615123024604921,train,chances are slight,highly likely,Chances are slight that either 'Sandra left the milk' or 'Julius is a frog' but not both.,It is highly likely that either 'Sandra left the milk' or 'Julius is a frog' but not both.,1,Either 'Sandra left the milk' or 'Julius is a frog' but not both. There is a very good chance that Mary moved to the garden. There is little chance that Greg is green. There is a very good chance that Sandra left the apple.,There is almost no chance that either 'Greg is green' 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.8::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.5173034606921384,train,we believe,almost no chance,We believe that either 'Greg is green' or 'Sandra left the apple' but not both.,There is almost no chance that either 'Greg is green' or 'Sandra left the apple' but not both.,0,Either 'Greg is green' or 'Sandra left the apple' but not both. It is almost certain that Julius is a swan. We doubt that John moved to the garden. It is certain that Bernhard is a lion.,It is certain that 'Bernhard is a lion' 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.2::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.4392878575715143,train,certain,highly unlikely,It is certain that 'Bernhard is a lion' or 'Julius is a swan' or both.,It is highly unlikely that 'Bernhard is a lion' or 'Julius is a swan' or both.,1,'Bernhard is a lion' or 'Julius is a swan' or both. It is impossible that Lily is white. There is a very good chance that Mary got the apple. It is probably not the case that Antoine is thirsty.,There is a very good chance that either 'Mary got 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.0::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.2420484096819364,train,very good chance,highly unlikely,There is a very good chance that either 'Mary got the apple' or 'Lily is white' but not both.,It is highly unlikely that either 'Mary got the apple' or 'Lily is white' but not both.,1,Either 'Mary got the apple' or 'Lily is white' but not both. It is improbable that Gertrude is a cat. Chances are slight that Jeff went to the hallway. There is almost no chance that Julius is white.,It is improbable that 'Julius is white' 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.1::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.45049009801960394,train,improbable,almost certain,It is improbable that 'Julius is white' or 'Gertrude is a cat' or both.,It is almost certain that 'Julius is white' or 'Gertrude is a cat' or both.,1,'Julius is white' or 'Gertrude is a cat' or both. There is little chance that Bernhard is a swan. There is little chance that Julius is yellow. It is certain that John left the milk.,It is improbable 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 0.1::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.09361872374474894,train,improbable,highly likely,It is improbable that 'Bernhard is a swan and John left the milk'.,It is highly likely that 'Bernhard is a swan and John left the milk'.,1,'Bernhard is a swan and John left the milk'. It is unlikely that Bernhard is a frog. There is a better than even chance that Antoine is thirsty. There is a very good chance that Mary grabbed the milk.,There is almost no chance that either 'Antoine is thirsty' 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.2::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.44,0.3022604520904181,train,about even,almost no chance,Chances are about even that either 'Antoine is thirsty' or 'Mary grabbed the milk' but not both.,There is almost no chance that either 'Antoine is thirsty' or 'Mary grabbed the milk' but not both.,0,Either 'Antoine is thirsty' or 'Mary grabbed the milk' but not both. It is probable that Mary moved to the office. It is highly unlikely that Julius is yellow. There is a very good chance that Greg is a rhino.,We believe that either 'Greg 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.7::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.35427085417083415,train,we believe,improbable,We believe that either 'Greg is a rhino' or 'Julius is yellow' but not both.,It is improbable that either 'Greg is a rhino' or 'Julius is yellow' but not both.,1,Either 'Greg is a rhino' or 'Julius is yellow' but not both. There is a better than even chance that Bernhard is a lion. There is a very good chance that Greg is gray. It is probably not the case that Jeff moved to the office.,There is a better than even chance that either 'Jeff 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.6::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.55,0.05261052210442088,train,better than even,almost no chance,There is a better than even chance that either 'Jeff moved to the office' or 'Bernhard is a lion' but not both.,There is almost no chance that either 'Jeff moved to the office' or 'Bernhard is a lion' but not both.,1,Either 'Jeff moved to the office' or 'Bernhard is a lion' but not both. It is highly unlikely that Bernhard is yellow. It is almost certain that John moved to the garden. There is a better than even chance that Mary left the milk.,It is improbable that 'Bernhard 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.05::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.6199999999999999,0.20544108821764354,train,better than even,improbable,There is a better than even chance that 'Bernhard is yellow' or 'Mary left the milk' or both.,It is improbable that 'Bernhard is yellow' or 'Mary left the milk' or both.,0,'Bernhard is yellow' or 'Mary left the milk' or both. We believe that Mary dropped the apple. There is a very good chance that Jessica is a cat. It is improbable that Greg is gray.,It is probably not the case that either 'Mary dropped 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.75::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.35000000000000003,0.44968993798759754,train,probably not,almost certain,It is probably not the case that either 'Mary dropped the apple' or 'Jessica is a cat' but not both.,It is almost certain that either 'Mary dropped the apple' or 'Jessica is a cat' but not both.,1,Either 'Mary dropped the apple' or 'Jessica is a cat' but not both. There is a better than even chance that Sandra grabbed the apple. Chances are slight that Bernhard is yellow. It is highly unlikely that John went to the kitchen.,There is a better than even chance that 'Sandra grabbed the apple' 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.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.62,0.6235247049409882,train,better than even,almost no chance,There is a better than even chance that 'Sandra grabbed the apple' or 'John went to the kitchen' or both.,There is almost no chance that 'Sandra grabbed the apple' or 'John went to the kitchen' or both.,1,'Sandra grabbed the apple' or 'John went to the kitchen' or both. It is certain that Bernhard is yellow. It is probable that Julius is a rhino. It is certain that John dropped the milk.,It is probably not the case that either 'Bernhard 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 1.0::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.3644728945789158,train,probably not,probably,It is probably not the case that either 'Bernhard is yellow' or 'Julius is a rhino' but not both.,It is probably the case that either 'Bernhard is yellow' or 'Julius is a rhino' but not both.,1,Either 'Bernhard is yellow' or 'Julius is a rhino' but not both. It is improbable that John went to the bedroom. There is a very good chance that Daniel left the football. It is probably not the case that Emily is a mouse.,There is little chance that 'Daniel left 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.1::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.23584716943388678,train,little chance,we believe,There is little chance that 'Daniel left the football and John went to the bedroom'.,We believe that 'Daniel left the football and John went to the bedroom'.,1,'Daniel left the football and John went to the bedroom'. There is little chance that Sandra dropped the milk. Chances are about even that John took the football. It is improbable that Jessica is a cat.,It is certain that either 'John took 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.1::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.717743548709742,train,about even,certain,Chances are about even that either 'John took the football' or 'Sandra dropped the milk' but not both.,It is certain that either 'John took the football' or 'Sandra dropped the milk' but not both.,0,Either 'John took the football' or 'Sandra dropped the milk' but not both. There is a better than even chance that Julius is a frog. It is probably not the case that John moved to the office. There is almost no chance that Brian is a rhino.,It is impossible 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.6::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.26905381076215246,train,impossible,highly likely,It is impossible that 'John moved to the office and Brian is a rhino'.,It is highly likely that 'John moved to the office and Brian is a rhino'.,1,'John moved to the office and Brian is a rhino'. There is a very good chance that Julius is a swan. We doubt that Mary went to the garden. We believe that Brian is a rhino.,It is probably not the case that either 'Brian 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.8::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.35000000000000003,0.6667333466693338,train,probably not,likely,It is probably not the case that either 'Brian is a rhino' or 'Julius is a swan' but not both.,It is likely that either 'Brian is a rhino' or 'Julius is a swan' but not both.,1,Either 'Brian is a rhino' or 'Julius is a swan' but not both. There is a better than even chance that Lily is a rhino. We doubt that Mary is in the bathroom. It is probably the case that Julius is a frog.,There is a better than even chance that either 'Lily is a rhino' 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.6::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5599999999999999,0.27825565113022604,train,better than even,impossible,There is a better than even chance that either 'Lily is a rhino' or 'Mary is in the bathroom' but not both.,It is impossible that either 'Lily is a rhino' or 'Mary is in the bathroom' but not both.,1,Either 'Lily is a rhino' or 'Mary is in the bathroom' but not both. There is a better than even chance that Mary got the football. It is likely that Greg is a frog. It is probably the case that Julius is yellow.,Chances are slight 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.1874374874974995,train,highly likely,chances are slight,It is highly likely that 'Julius is yellow' or 'Greg is a frog' or both.,Chances are slight that 'Julius is yellow' or 'Greg is a frog' or both.,0,'Julius is yellow' or 'Greg is a frog' or both. It is probably the case that Lily is a swan. Chances are about even that Julius is white. We believe that John moved to the garden.,Chances are about even that 'Julius 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.7::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.375,0.7545509101820365,train,about even,highly unlikely,Chances are about even that 'Julius is white and John moved to the garden'.,It is highly unlikely that 'Julius is white and John moved to the garden'.,1,'Julius is white and John moved to the garden'. It is highly likely that Mary went to the garden. We believe that Brian is a lion. It is unlikely that Sandra left the apple.,It is highly likely that 'Mary went to the garden' 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.9::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.92,0.6183236647329466,train,highly likely,improbable,It is highly likely that 'Mary went to the garden' or 'Sandra left the apple' or both.,It is improbable that 'Mary went to the garden' or 'Sandra left the apple' or both.,1,'Mary went to the garden' or 'Sandra left the apple' or both. It is impossible that Bernhard is yellow. There is a better than even chance that Lily is a swan. We believe that Brian is a frog.,Chances are about even that 'Brian 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.0::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.45,0.53250650130026,train,about even,certain,Chances are about even that 'Brian is a frog and Lily is a swan'.,It is certain that 'Brian is a frog and Lily is a swan'.,1,'Brian is a frog and Lily is a swan'. There is almost no chance that Julius is white. It is almost certain that Greg is yellow. There is almost no chance that Mary grabbed the milk.,Chances are about even that 'Mary grabbed 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.02::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.019,0.35607121424284854,train,almost no chance,about even,There is almost no chance that 'Mary grabbed the milk and Greg is yellow'.,Chances are about even that 'Mary grabbed the milk and Greg is yellow'.,0,'Mary grabbed the milk and Greg is yellow'. It is probably not the case that Julius is a swan. It is likely that Greg is a frog. There is almost no chance that Mary dropped the milk.,There is little chance that either 'Mary dropped 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.25::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.692,0.5323064612922584,train,probable,little chance,It is probable that either 'Mary dropped the milk' or 'Greg is a frog' but not both.,There is little chance that either 'Mary dropped the milk' or 'Greg is a frog' but not both.,0,Either 'Mary dropped the milk' or 'Greg is a frog' but not both. We doubt that Julius is a swan. It is likely that Mary moved to the garden. There is a better than even chance that Lily is yellow.,Chances are about even that 'Mary moved to the garden 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.7::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.41999999999999993,0.058811762352470494,train,about even,highly unlikely,Chances are about even that 'Mary moved to the garden and Lily is yellow'.,It is highly unlikely that 'Mary moved to the garden and Lily is yellow'.,1,'Mary moved to the garden and Lily is yellow'. It is highly likely that Antoine is bored. It is probable that Emily is a cat. There is a very good chance that Mary put down the milk.,It is probably not the case that either 'Antoine is bored' 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.9::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.33999999999999997,0.06741348269653931,train,probably not,probable,It is probably not the case that either 'Antoine is bored' or 'Emily is a cat' but not both.,It is probable that either 'Antoine is bored' or 'Emily is a cat' but not both.,1,Either 'Antoine is bored' or 'Emily is a cat' but not both. It is probably not the case that Mary left the football. Chances are slight that Julius is a swan. It is impossible that Winona is a sheep.,It is probably not the case 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.25::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.13542708541708343,train,probably not,probably,It is probably not the case that either 'Julius is a swan' or 'Mary left the football' but not both.,It is probably the case that either 'Julius is a swan' or 'Mary left the football' but not both.,1,Either 'Julius is a swan' or 'Mary left the football' but not both. It is probable that Sandra took the football. There is a better than even chance that John discarded the apple. It is certain that Winona is a wolf.,It is highly likely that 'John discarded the apple' 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.7::factA. 0.6::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.88,0.4918983796759352,train,highly likely,impossible,It is highly likely that 'John discarded the apple' or 'Sandra took the football' or both.,It is impossible that 'John discarded the apple' or 'Sandra took the football' or both.,1,'John discarded the apple' or 'Sandra took the football' or both. There is a better than even chance that Bernhard is a frog. There is a better than even chance that John put down the apple. It is impossible that Julius is yellow.,Chances are about even that either 'John put down 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.6::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.48000000000000004,0.2570514102820564,train,about even,certain,Chances are about even that either 'John put down the apple' or 'Bernhard is a frog' but not both.,It is certain that either 'John put down the apple' or 'Bernhard is a frog' but not both.,1,Either 'John put down the apple' or 'Bernhard is a frog' but not both. We doubt that Lily is green. We believe that Sandra left the milk. It is unlikely that Bernhard is a frog.,It is likely that 'Sandra 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.2::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.15,0.4916983396679336,train,improbable,likely,It is improbable that 'Sandra left the milk and Bernhard is a frog'.,It is likely that 'Sandra left the milk and Bernhard is a frog'.,0,'Sandra left the milk and Bernhard is a frog'. It is improbable that Greg is yellow. There is little chance that Jessica is a cat. Chances are about even that Jeff moved to the office.,It is certain that either 'Jessica is a cat' 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.1::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.1234246849369874,train,about even,certain,Chances are about even that either 'Jessica is a cat' or 'Jeff moved to the office' but not both.,It is certain that either 'Jessica is a cat' or 'Jeff moved to the office' but not both.,0,Either 'Jessica is a cat' or 'Jeff moved to the office' but not both. It is highly likely that John dropped the apple. It is highly unlikely that Brian is a swan. There is little chance that Bernhard is a frog.,It is highly unlikely that 'Brian 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.9::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.045000000000000005,0.4370874174834967,train,highly unlikely,highly likely,It is highly unlikely that 'Brian is a swan and John dropped the apple'.,It is highly likely that 'Brian is a swan and John dropped the apple'.,1,'Brian is a swan and John dropped the apple'. We believe that Daniel left the apple. It is improbable that Gertrude is a mouse. It is probable that Mary discarded the milk.,We believe that 'Mary 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.75::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.5603120624124825,train,we believe,highly unlikely,We believe that 'Mary discarded the milk' or 'Gertrude is a mouse' or both.,It is highly unlikely that 'Mary discarded the milk' or 'Gertrude is a mouse' or both.,1,'Mary discarded the milk' or 'Gertrude is a mouse' or both. It is probable that Lily is a lion. It is highly likely that Julius is a swan. Chances are slight that Mary went to the hallway.,It is almost certain 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.6119223844768954,train,almost certain,chances are slight,It is almost certain that 'Julius is a swan' or 'Lily is a lion' or both.,Chances are slight 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 very good chance that Brian is green. It is probably not the case that Bernhard is a frog. We doubt that John put down the milk.,It is probable that either 'Brian is green' 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.8::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.65,0.393878775755151,train,probable,impossible,It is probable that either 'Brian is green' or 'Bernhard is a frog' but not both.,It is impossible that either 'Brian is green' or 'Bernhard is a frog' but not both.,1,Either 'Brian is green' or 'Bernhard is a frog' but not both. There is almost no chance that John moved to the garden. It is impossible that Sandra dropped the apple. It is probable that Julius is a lion.,It is probably the case that 'Julius is a lion' 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.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7,0.5371074214842969,train,probably,chances are slight,It is probably the case that 'Julius is a lion' or 'Sandra dropped the apple' or both.,Chances are slight that 'Julius is a lion' or 'Sandra dropped the apple' or both.,1,'Julius is a lion' or 'Sandra dropped the apple' or both. It is impossible that Lily is yellow. It is probably the case that Bernhard is gray. It is likely that Mary dropped the milk.,It is impossible that either 'Bernhard 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.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.7073414682936587,train,probably,impossible,It is probably the case that either 'Bernhard is gray' or 'Lily is yellow' but not both.,It is impossible that either 'Bernhard is gray' or 'Lily is yellow' but not both.,0,Either 'Bernhard is gray' or 'Lily is yellow' but not both. Chances are about even that Mary got the milk. There is a very good chance that Julius is yellow. There is almost no chance that Fred moved to the office.,There is almost no chance that 'Mary got 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.5::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.000600120024004801,train,almost no chance,certain,There is almost no chance that 'Mary got the milk and Fred moved to the office'.,It is certain that 'Mary got the milk and Fred moved to the office'.,1,'Mary got the milk and Fred moved to the office'. It is probable that John dropped the milk. There is almost no chance that Brian is a frog. We doubt that Bernhard is yellow.,There is a better than even chance that either 'John 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.02::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.47629525905181036,train,better than even,little chance,There is a better than even chance that either 'John dropped the milk' or 'Bernhard is yellow' but not both.,There is little chance that either 'John dropped the milk' or 'Bernhard is yellow' but not both.,1,Either 'John dropped the milk' or 'Bernhard is yellow' but not both. We believe that Sumit is hungry. We believe that Greg is white. It is probably the case that Mary dropped the milk.,It is impossible that either 'Sumit is hungry' 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.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.6673334666933387,train,about even,impossible,Chances are about even that either 'Sumit is hungry' or 'Mary dropped the milk' but not both.,It is impossible that either 'Sumit is hungry' or 'Mary dropped the milk' but not both.,0,Either 'Sumit is hungry' or 'Mary dropped the milk' but not both. It is highly unlikely that Fred dropped the milk. There is a better than even chance that Mary moved to the garden. It is almost certain that Bernhard is yellow.,Chances are slight that 'Mary moved 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.05::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.98,0.27265453090618125,train,certain,chances are slight,It is certain that 'Mary moved to the garden' or 'Bernhard is yellow' or both.,Chances are slight that 'Mary moved to the garden' or 'Bernhard is yellow' or both.,0,'Mary moved to the garden' or 'Bernhard is yellow' or both. It is unlikely that Jessica is a mouse. There is almost no chance that Lily is a frog. There is a very good chance that Mary dropped the milk.,There is a very good chance 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.2::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.804,0.7189437887577516,train,very good chance,highly unlikely,There is a very good chance that 'Mary dropped the milk' or 'Lily is a frog' or both.,It is highly unlikely that 'Mary dropped the milk' or 'Lily is a frog' or both.,1,'Mary dropped the milk' or 'Lily is a frog' or both. Chances are slight that John grabbed the apple. It is highly likely that Jeff put down the milk. We believe that Greg is gray.,There is little chance that 'Greg is gray 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.1::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.7349469893978796,train,little chance,certain,There is little chance that 'Greg is gray and John grabbed the apple'.,It is certain that 'Greg is gray and John grabbed the apple'.,1,'Greg is gray and John grabbed the apple'. It is probably the case that Sandra got the football. There is a very good chance that Mary went to the office. It is highly unlikely that Brian is a rhino.,It is highly unlikely that 'Sandra got the football and Brian is a rhino'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.08421684336867373,train,highly unlikely,likely,It is highly unlikely that 'Sandra got the football and Brian is a rhino'.,It is likely that 'Sandra got the football and Brian is a rhino'.,1,'Sandra got the football and Brian is a rhino'. It is probable that Lily is green. There is a better than even chance that Bernhard is a rhino. It is highly unlikely that Brian is gray.,There is almost no chance that 'Bernhard is a rhino 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.7::factA. 0.6::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.029999999999999995,0.6055211042208442,train,almost no chance,very good chance,There is almost no chance that 'Bernhard is a rhino and Brian is gray'.,There is a very good chance that 'Bernhard is a rhino and Brian is gray'.,1,'Bernhard is a rhino and Brian is gray'. Chances are about even that Greg is a swan. It is impossible that Lily is white. It is impossible that John moved to the office.,It is highly unlikely that 'John moved 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 0.5::factA. 0.0::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.5,0.26625325065013,train,about even,highly unlikely,Chances are about even that 'John moved to the office' or 'Greg is a swan' or both.,It is highly unlikely that 'John moved to the office' or 'Greg is a swan' or both.,0,'John moved to the office' or 'Greg is a swan' or both. It is highly likely that Lily is yellow. Chances are slight that Julius is white. Chances are about even that Bernhard is yellow.,It is likely that 'Julius is white 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.9::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.4412882576515303,train,chances are slight,likely,Chances are slight that 'Julius is white and Lily is yellow'.,It is likely that 'Julius is white and Lily is yellow'.,0,'Julius is white and Lily is yellow'. It is improbable that Brian is a lion. It is highly unlikely that Julius is white. It is probable that Daniel got the football.,We believe that either 'Brian is a lion' 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.05::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.41368273654730947,train,little chance,we believe,There is little chance that either 'Brian is a lion' or 'Julius is white' but not both.,We believe that either 'Brian is a lion' or 'Julius is white' but not both.,0,Either 'Brian is a lion' or 'Julius is white' but not both. It is unlikely that Julius is a frog. It is highly unlikely that Winona is a cat. It is impossible that Mary went to the office.,It is probably not the case that 'Julius is a frog' 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.05::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.24000000000000005,0.07501500300060011,train,probably not,highly likely,It is probably not the case that 'Julius is a frog' or 'Winona is a cat' or both.,It is highly likely that 'Julius is a frog' or 'Winona is a cat' or both.,1,'Julius is a frog' or 'Winona is a cat' or both. It is unlikely that Emily is a wolf. It is probably the case that Brian is a frog. It is probably the case that Winona is a sheep.,We believe 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.2::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.76,0.6053210642128426,train,we believe,we doubt,We believe that 'Emily is a wolf' or 'Brian is a frog' or both.,We doubt that 'Emily is a wolf' or 'Brian is a frog' or both.,1,'Emily is a wolf' or 'Brian is a frog' or both. It is probable that Daniel took the apple. It is almost certain that Brian is white. It is impossible that Julius is a lion.,It is improbable that 'Brian is white 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.95::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.09881976395279056,train,probably,improbable,It is probably the case that 'Brian is white and Daniel took the apple'.,It is improbable that 'Brian is white and Daniel took the apple'.,0,'Brian is white and Daniel took the apple'. It is impossible that John picked up the apple. We doubt that Bernhard is a frog. We doubt that Daniel got the milk.,It is probably not the case that 'Bernhard is a frog' 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.36000000000000004,0.4440888177635527,train,probably not,highly likely,It is probably not the case that 'Bernhard is a frog' or 'Daniel got the milk' or both.,It is highly likely that 'Bernhard is a frog' or 'Daniel got the milk' or both.,1,'Bernhard is a frog' or 'Daniel got the milk' or both. We believe that Sandra left the milk. It is probably not the case that Julius is a swan. There is little chance that Mary picked up the milk.,It is highly likely that 'Mary picked up the milk 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.25::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.39907981596319264,train,almost no chance,highly likely,There is almost no chance that 'Mary picked up the milk and Julius is a swan'.,It is highly likely that 'Mary picked up the milk and Julius is a swan'.,0,'Mary picked up the milk and Julius is a swan'. There is a better than even chance that Bernhard is a swan. There is almost no chance that Brian is a rhino. There is a very good chance that Mary got the football.,There is a better than even chance that 'Bernhard 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.6::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.608,0.15443088617723544,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is a swan' or 'Brian is a rhino' or both.,It is highly unlikely that 'Bernhard is a swan' or 'Brian is a rhino' or both.,1,'Bernhard is a swan' or 'Brian is a rhino' or both. It is highly likely that Bernhard is a rhino. It is highly likely that Lily is a lion. It is probable that Mary put down the apple.,We doubt that either 'Bernhard is a rhino' 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.9::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.17999999999999997,0.5809161832366473,train,we doubt,very good chance,We doubt that either 'Bernhard is a rhino' or 'Lily is a lion' but not both.,There is a very good chance that either 'Bernhard is a rhino' or 'Lily is a lion' but not both.,1,Either 'Bernhard is a rhino' or 'Lily is a lion' but not both. There is a very good chance that Winona is a wolf. It is certain that Sandra got the milk. We believe that Julius is gray.,It is almost certain that either 'Sandra got 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.8::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.25,0.6743348669733947,train,probably not,almost certain,It is probably not the case that either 'Sandra got the milk' or 'Julius is gray' but not both.,It is almost certain that either 'Sandra got the milk' or 'Julius is gray' but not both.,0,Either 'Sandra got the milk' or 'Julius is gray' but not both. It is probably not the case that Mary moved to the office. It is probable that Yann is thirsty. It is unlikely that Greg is a rhino.,We believe that either 'Mary moved 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.25::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.35000000000000003,0.030406081216243247,train,probably not,we believe,It is probably not the case that either 'Mary moved to the office' or 'Greg is a rhino' but not both.,We believe that either 'Mary moved to the office' or 'Greg is a rhino' but not both.,0,Either 'Mary moved to the office' or 'Greg is a rhino' but not both. It is highly unlikely that John dropped the apple. It is likely that Mary went to the kitchen. Chances are slight that Brian is a frog.,There is little chance that 'John dropped the apple' 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.05::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.5873174634926985,train,probably,little chance,It is probably the case that 'John dropped the apple' or 'Mary went to the kitchen' or both.,There is little chance that 'John dropped the apple' or 'Mary went to the kitchen' or both.,0,'John dropped the apple' or 'Mary went to the kitchen' or both. It is probable that Julius is a rhino. Chances are slight that Greg is a frog. It is probable that Emily is a mouse.,It is certain that either 'Julius is a rhino' 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.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.4976995399079816,train,about even,certain,Chances are about even that either 'Julius is a rhino' or 'Emily is a mouse' but not both.,It is certain that either 'Julius is a rhino' or 'Emily is a mouse' but not both.,0,Either 'Julius is a rhino' or 'Emily is a mouse' but not both. It is probable that John got the apple. We doubt that Jessica is a mouse. It is highly likely that Fred went to the garden.,It is certain that either 'Fred went to the garden' 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.7::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.33999999999999997,0.49149829965993197,train,probably not,certain,It is probably not the case that either 'Fred went to the garden' or 'John got the apple' but not both.,It is certain that either 'Fred went to the garden' or 'John got the apple' but not both.,0,Either 'Fred went to the garden' or 'John got the apple' but not both. We believe that Mary picked up the milk. It is almost certain that Bernhard is a swan. Chances are about even that Sandra dropped the apple.,It is highly likely that 'Mary picked up the milk' 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.75::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.875,0.16683336667333468,train,highly likely,little chance,It is highly likely that 'Mary picked up the milk' or 'Sandra dropped the apple' or both.,There is little chance that 'Mary picked up the milk' or 'Sandra dropped the apple' or both.,1,'Mary picked up the milk' or 'Sandra dropped the apple' or both. There is little chance that Bernhard is gray. There is a very good chance that Lily is a rhino. It is likely that Mary left the football.,We doubt that either 'Mary left the football' 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.8::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.10782156431286258,train,probable,we doubt,It is probable that either 'Mary left the football' or 'Bernhard is gray' but not both.,We doubt that either 'Mary left the football' or 'Bernhard is gray' but not both.,0,Either 'Mary left the football' or 'Bernhard is gray' but not both. There is little chance that John left the football. There is little chance that Julius is a swan. It is almost certain that Jeff went to the bedroom.,It is improbable that either 'John left the football' 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.1::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.09601920384076815,train,highly likely,improbable,It is highly likely that either 'John left the football' or 'Jeff went to the bedroom' but not both.,It is improbable that either 'John left the football' or 'Jeff went to the bedroom' but not both.,0,Either 'John left the football' or 'Jeff went to the bedroom' but not both. There is a better than even chance that Brian is yellow. We believe that Julius is a frog. There is a very good chance that John picked up the milk.,It is almost certain that 'John picked up 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.6::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9500000000000001,0.22044408881776356,train,almost certain,improbable,It is almost certain that 'John picked up the milk' or 'Julius is a frog' or both.,It is improbable that 'John picked up the milk' or 'Julius is a frog' or both.,1,'John picked up the milk' or 'Julius is a frog' or both. It is unlikely that John grabbed the apple. There is almost no chance that Julius is white. It is improbable that Greg is a swan.,We believe that 'Julius is white' 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.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.11800000000000002,0.3712742548509702,train,improbable,we believe,It is improbable that 'Julius is white' or 'Greg is a swan' or both.,We believe that 'Julius is white' or 'Greg is a swan' or both.,0,'Julius is white' or 'Greg is a swan' or both. It is certain that Mary left the football. It is highly likely that Lily is a swan. It is almost certain that Fred put down the apple.,It is unlikely that 'Mary left 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 1.0::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.059411882376475295,train,certain,unlikely,It is certain that 'Mary left the football' or 'Lily is a swan' or both.,It is unlikely that 'Mary left the football' or 'Lily is a swan' or both.,0,'Mary left the football' or 'Lily is a swan' or both. It is highly likely that Brian is a rhino. It is probably not the case that Lily is a swan. It is improbable that Bernhard is gray.,It is improbable that either 'Brian 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.9::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.7509501900380076,train,very good chance,improbable,There is a very good chance that either 'Brian is a rhino' or 'Bernhard is gray' but not both.,It is improbable that either 'Brian is a rhino' or 'Bernhard is gray' but not both.,0,Either 'Brian is a rhino' or 'Bernhard is gray' but not both. There is a very good chance that Brian is a lion. It is probable that John picked up the milk. There is a better than even chance that Lily is gray.,It is highly likely that 'Lily is gray' 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.7::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9199999999999999,0.5543108621724345,train,highly likely,improbable,It is highly likely that 'Lily is gray' or 'Brian is a lion' or both.,It is improbable that 'Lily is gray' or 'Brian is a lion' or both.,1,'Lily is gray' or 'Brian is a lion' or both. There is a very good chance that John went to the bedroom. There is a better than even chance that Daniel dropped the apple. It is probable that Sandra took the milk.,It is highly unlikely that 'Sandra took 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.8::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.94,0.7893578715743149,train,almost certain,highly unlikely,It is almost certain that 'Sandra took the milk' or 'John went to the bedroom' or both.,It is highly unlikely that 'Sandra took the milk' or 'John went to the bedroom' or both.,0,'Sandra took the milk' or 'John went to the bedroom' or both. It is impossible that Sandra left the football. It is probably not the case that Gertrude is a cat. It is likely that Lily is a lion.,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.0::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.175,0.74874974994999,train,we doubt,likely,We doubt 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 probably not the case that Mary left the football. There is almost no chance that Sandra dropped the milk. There is a very good chance that John went to the garden.,We doubt that 'John went to the garden 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.25::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.2364472894578916,train,we doubt,probably,We doubt that 'John went to the garden and Mary left the football'.,It is probably the case that 'John went to the garden and Mary left the football'.,1,'John went to the garden and Mary left the football'. Chances are about even that Bill moved to the office. We believe that Greg is green. It is highly unlikely that John picked up the apple.,Chances are about even that either 'Bill moved 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.5::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5000000000000001,0.15483096619323866,train,about even,certain,Chances are about even that either 'Bill moved to the office' or 'Greg is green' but not both.,It is certain that either 'Bill moved to the office' or 'Greg is green' but not both.,1,Either 'Bill moved to the office' or 'Greg is green' but not both. It is highly unlikely that John went to the kitchen. It is probably the case that Bernhard is a rhino. It is certain that Emily is a mouse.,There is a very good chance 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.7::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.7039407881576315,train,highly unlikely,very good chance,It is highly unlikely that 'Emily is a mouse and John went to the kitchen'.,There is a very good chance that 'Emily is a mouse and John went to the kitchen'.,0,'Emily is a mouse and John went to the kitchen'. It is impossible that Greg is a rhino. It is probable that Mary moved to the garden. It is almost certain that Emily is a wolf.,It is impossible that 'Emily is a wolf 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.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7045409081816363,train,impossible,very good chance,It is impossible that 'Emily is a wolf and Greg is a rhino'.,There is a very good chance that 'Emily is a wolf and Greg is a rhino'.,1,'Emily is a wolf and Greg is a rhino'. There is a very good chance that Brian is a rhino. It is improbable that John dropped the milk. Chances are about even that Bernhard is a swan.,Chances are about even that 'Brian 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.8::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.4,0.026405281056211243,train,about even,highly unlikely,Chances are about even that 'Brian is a rhino and Bernhard is a swan'.,It is highly unlikely that 'Brian is a rhino and Bernhard is a swan'.,1,'Brian is a rhino and Bernhard is a swan'. We believe that John got the milk. It is almost certain that Mary moved to the garden. It is improbable that Lily is a swan.,It is almost certain that 'Mary moved to the garden' 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.95::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.4362872574514903,train,almost certain,about even,It is almost certain that 'Mary moved to the garden' or 'Lily is a swan' or both.,Chances are about even that 'Mary moved to the garden' or 'Lily is a swan' or both.,1,'Mary moved to the garden' or 'Lily is a swan' or both. It is highly unlikely that Julius is a frog. It is highly likely that Mary went to the office. It is almost certain that Bill got the milk there.,It is highly unlikely that 'Bill got the milk there 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.9::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0475,0.29045809161832364,train,highly unlikely,about even,It is highly unlikely that 'Bill got the milk there and Julius is a frog'.,Chances are about even that 'Bill got the milk there and Julius is a frog'.,1,'Bill got the milk there and Julius is a frog'. It is improbable that Daniel left the football. It is impossible that Brian is a rhino. It is highly likely that Julius is gray.,It is highly likely that 'Julius is gray' 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.1::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.1978395679135827,train,highly likely,probably not,It is highly likely that 'Julius is gray' or 'Daniel left the football' or both.,It is probably not the case that 'Julius is gray' or 'Daniel left the football' or both.,1,'Julius is gray' or 'Daniel left the football' or both. It is highly unlikely that Jeff went to the garden. It is improbable that Sandra got the milk. It is certain that Winona is a wolf.,It is improbable 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.05::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.04300860172034407,train,improbable,likely,It is improbable that 'Winona is a wolf and Sandra got the milk'.,It is likely that 'Winona is a wolf and Sandra got the milk'.,1,'Winona is a wolf and Sandra got the milk'. Chances are slight that Lily is a lion. It is impossible that Emily is a sheep. There is almost no chance that Gertrude is a cat.,It is impossible that 'Emily 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.0::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.46669333866773355,train,impossible,likely,It is impossible that 'Emily is a sheep and Lily is a lion'.,It is likely that 'Emily is a sheep and Lily is a lion'.,1,'Emily is a sheep and Lily is a lion'. There is a very good chance that Lily is green. It is probably not the case that John went to the office. It is improbable that Jeff discarded the milk.,There is a very good chance that either 'John went to the office' 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.8::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.6669333866773355,train,probably not,very good chance,It is probably not the case that either 'John went to the office' or 'Jeff discarded the milk' but not both.,There is a very good chance that either 'John went to the office' or 'Jeff discarded the milk' but not both.,0,Either 'John went to the office' or 'Jeff discarded the milk' but not both. It is unlikely that Fred left the football. It is certain that Bernhard is gray. It is almost certain that John discarded the apple.,We believe that either 'John discarded the apple' 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.2::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.77,0.1224244848969794,train,we believe,little chance,We believe that either 'John discarded the apple' or 'Fred left the football' but not both.,There is little chance that either 'John discarded the apple' or 'Fred left the football' but not both.,1,Either 'John discarded the apple' or 'Fred left the football' but not both. There is a better than even chance that Brian is white. It is certain that Julius is a rhino. There is almost no chance that Bernhard is gray.,There is almost no chance that 'Bernhard is gray 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.011999999999999999,0.4888977795559112,train,almost no chance,we believe,There is almost no chance that 'Bernhard is gray and Brian is white'.,We believe that 'Bernhard is gray and Brian is white'.,1,'Bernhard is gray and Brian is white'. It is probably not the case that Mary dropped the milk. There is almost no chance that Lily is green. It is almost certain that John took the apple.,It is highly likely that either 'Mary dropped the milk' 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.02::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.4806961392278456,train,probably not,highly likely,It is probably not the case that either 'Mary dropped the milk' or 'Lily is green' but not both.,It is highly likely that either 'Mary dropped the milk' or 'Lily is green' but not both.,0,Either 'Mary dropped the milk' or 'Lily is green' but not both. It is probably the case that Sandra dropped the apple. Chances are slight that Jeff discarded the milk. It is probable that Julius is green.,Chances are about even that 'Sandra dropped 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.7287457491498299,train,highly unlikely,about even,It is highly unlikely that 'Sandra dropped the apple and Jeff discarded the milk'.,Chances are about even that 'Sandra dropped the apple and Jeff discarded the milk'.,0,'Sandra dropped the apple and Jeff discarded the milk'. It is probably the case that Bernhard is a frog. We doubt that Greg is gray. We doubt that Jessica is a cat.,Chances are slight that 'Bernhard 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.7::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7599999999999999,0.6459291858371674,train,we believe,chances are slight,We believe that 'Bernhard is a frog' or 'Jessica is a cat' or both.,Chances are slight that 'Bernhard is a frog' or 'Jessica is a cat' or both.,0,'Bernhard is a frog' or 'Jessica is a cat' or both. It is probable that Greg is a lion. We believe that Mary left the football. We doubt that Bernhard is yellow.,Chances are about even that 'Greg is a lion 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.75::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.14482896579315863,train,about even,almost no chance,Chances are about even that 'Greg is a lion and Mary left the football'.,There is almost no chance that 'Greg is a lion and Mary left the football'.,1,'Greg is a lion and Mary left the football'. There is a better than even chance that Bernhard is green. There is a better than even chance that Mary got the apple. It is highly unlikely that Brian is yellow.,There is little chance that 'Mary got 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.6::factA. 0.6::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8400000000000001,0.35647129425885177,train,very good chance,little chance,There is a very good chance that 'Mary got the apple' or 'Bernhard is green' or both.,There is little chance that 'Mary got the apple' or 'Bernhard is green' or both.,0,'Mary got the apple' or 'Bernhard is green' or both. There is a very good chance that Greg is a swan. There is a very good chance that Daniel got the milk. It is improbable that Mary went to the office.,There is little chance 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.8::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.08000000000000002,0.734746949389878,train,little chance,probably,There is little chance that 'Mary went to the office and Daniel got the milk'.,It is probably the case that 'Mary went to the office and Daniel got the milk'.,1,'Mary went to the office and Daniel got the milk'. It is probably the case that Brian is a rhino. It is highly unlikely that Sandra left the apple. It is likely that Lily is green.,It is likely that 'Sandra left 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.715,0.006801360272054411,train,likely,highly unlikely,It is likely that 'Sandra left the apple' or 'Lily is green' or both.,It is highly unlikely that 'Sandra left the apple' or 'Lily is green' or both.,1,'Sandra left the apple' or 'Lily is green' or both. We believe that John went to the kitchen. There is little chance that Winona is a wolf. It is probably the case that Mary got the football.,It is highly unlikely that 'Mary got the football 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.75::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.525,0.3386677335467093,train,about even,highly unlikely,Chances are about even that 'Mary got the football and John went to the kitchen'.,It is highly unlikely that 'Mary got the football and John went to the kitchen'.,0,'Mary got the football and John went to the kitchen'. Chances are about even that Lily is green. It is improbable that Brian is a lion. There is a better than even chance that John moved to the office.,We believe that 'Brian 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.5::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.06,0.7017403480696139,train,highly unlikely,we believe,It is highly unlikely that 'Brian is a lion and John moved to the office'.,We believe that 'Brian is a lion and John moved to the office'.,0,'Brian is a lion and John moved to the office'. There is almost no chance that Bernhard is gray. It is almost certain that Julius is a rhino. Chances are slight that Lily is green.,Chances are slight that 'Lily is green' 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.02::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.4254850970194039,train,chances are slight,probable,Chances are slight that 'Lily is green' or 'Bernhard is gray' or both.,It is probable that 'Lily is green' or 'Bernhard is gray' or both.,1,'Lily is green' or 'Bernhard is gray' or both. It is impossible that Brian is a swan. It is highly unlikely that Bernhard is yellow. There is little chance that John went to the garden.,It is almost certain that either 'Bernhard 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.0::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.14000000000000004,0.47069413882776556,train,improbable,almost certain,It is improbable that either 'Bernhard is yellow' or 'John went to the garden' but not both.,It is almost certain that either 'Bernhard is yellow' or 'John went to the garden' but not both.,0,Either 'Bernhard is yellow' or 'John went to the garden' but not both. We believe that Jessica is a mouse. It is impossible that Yann is bored. It is probable that Bernhard is yellow.,It is probably the case that either 'Bernhard is yellow' or 'Yann 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.75::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.1858371674334867,train,probably,almost no chance,It is probably the case that either 'Bernhard is yellow' or 'Yann is bored' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Yann is bored' but not both.,1,Either 'Bernhard is yellow' or 'Yann is bored' but not both. Chances are slight that Mary got the football. Chances are slight that Lily is white. Chances are about even that Greg is a swan.,There is a better than even chance that 'Mary got the football' or 'Greg is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.55,0.008401680336067214,train,better than even,impossible,There is a better than even chance that 'Mary got the football' or 'Greg is a swan' or both.,It is impossible that 'Mary got the football' or 'Greg is a swan' or both.,1,'Mary got the football' or 'Greg is a swan' or both. It is probably the case that Bernhard is a lion. It is probably not the case that Sandra got the milk. There is a very good chance that Julius is gray.,It is almost certain that 'Julius is gray' 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.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9400000000000001,0.5597119423884777,train,almost certain,unlikely,It is almost certain that 'Julius is gray' or 'Bernhard is a lion' or both.,It is unlikely that 'Julius is gray' or 'Bernhard is a lion' or both.,1,'Julius is gray' or 'Bernhard is a lion' or both. There is a very good chance that John picked up the apple. It is almost certain that Bernhard is a rhino. It is improbable that Daniel dropped the milk.,There is little chance that 'Bernhard is a rhino 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. 0.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09500000000000001,0.7921584316863373,train,little chance,better than even,There is little chance that 'Bernhard is a rhino and Daniel dropped the milk'.,There is a better than even chance that 'Bernhard is a rhino and Daniel dropped the milk'.,1,'Bernhard is a rhino and Daniel dropped the milk'. It is likely that Lily is a lion. It is certain that John moved to the garden. There is a very good chance that Greg is a swan.,It is probably the case that 'Lily is a lion 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. 1.0::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.2950590118023605,train,probably,probably not,It is probably the case that 'Lily is a lion and John moved to the garden'.,It is probably not the case that 'Lily is a lion and John moved to the garden'.,1,'Lily is a lion and John moved to the garden'. There is little chance that Brian is a swan. It is improbable that Mary went to the bedroom. It is certain that John grabbed the apple.,It is probable that 'John grabbed 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.1::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.06941388277655532,train,chances are slight,probable,Chances are slight that 'John grabbed the apple and Mary went to the bedroom'.,It is probable that 'John grabbed the apple and Mary went to the bedroom'.,0,'John grabbed the apple and Mary went to the bedroom'. We doubt that Mary grabbed the milk. There is a better than even chance that John moved to the garden. It is certain that Jason is tired.,It is certain that 'Mary grabbed the milk' 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. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.01740348069613923,train,certain,highly unlikely,It is certain that 'Mary grabbed the milk' or 'Jason is tired' or both.,It is highly unlikely that 'Mary grabbed the milk' or 'Jason is tired' or both.,1,'Mary grabbed the milk' or 'Jason is tired' or both. It is improbable that Gertrude is a sheep. It is highly unlikely that Fred is in the office. It is impossible that Mary got the apple.,It is likely that 'Mary got 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.1::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.10000000000000002,0.1840368073614723,train,improbable,likely,It is improbable that 'Mary got the apple' or 'Gertrude is a sheep' or both.,It is likely that 'Mary got the apple' or 'Gertrude is a sheep' or both.,0,'Mary got the apple' or 'Gertrude is a sheep' or both. There is a better than even chance that Winona is a mouse. It is probable that Bernhard is a lion. We believe that Mary went to the office.,Chances are about even that 'Mary went to the office 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.6::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.3890778155631126,train,about even,certain,Chances are about even that 'Mary went to the office and Bernhard is a lion'.,It is certain that 'Mary went to the office and Bernhard is a lion'.,1,'Mary went to the office and Bernhard is a lion'. There is little chance that Brian is a rhino. It is certain that John put down the milk. It is highly unlikely that Mary got the football.,We doubt that either 'Brian is a rhino' or 'John put down the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.060612122424484896,train,highly likely,we doubt,It is highly likely that either 'Brian is a rhino' or 'John put down the milk' but not both.,We doubt that either 'Brian is a rhino' or 'John put down the milk' but not both.,0,Either 'Brian is a rhino' or 'John put down the milk' but not both. We believe that Bernhard is green. It is likely that Mary went to the kitchen. It is highly unlikely that Brian is gray.,It is likely that 'Mary went to the kitchen 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.75::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.035,0.5043008601720345,train,highly unlikely,likely,It is highly unlikely that 'Mary went to the kitchen and Brian is gray'.,It is likely that 'Mary went to the kitchen and Brian is gray'.,0,'Mary went to the kitchen and Brian is gray'. It is impossible that John grabbed the apple. It is probably not the case that Jeff went to the bedroom. We believe that Greg is a rhino.,It is probably not the case that 'Jeff went to the bedroom' 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.25::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.25,0.5187037407481496,train,probably not,highly likely,It is probably not the case that 'Jeff went to the bedroom' or 'John grabbed the apple' or both.,It is highly likely that 'Jeff went to the bedroom' or 'John grabbed the apple' or both.,1,'Jeff went to the bedroom' or 'John grabbed the apple' or both. It is probable that Mary took the milk. It is probably not the case that John dropped the apple. It is certain that Fred went to the garden.,It is impossible that either 'John 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.25::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.75,0.5519103820764153,train,we believe,impossible,We believe that either 'John dropped the apple' or 'Fred went to the garden' but not both.,It is impossible that either 'John dropped the apple' or 'Fred went to the garden' but not both.,0,Either 'John dropped the apple' or 'Fred went to the garden' but not both. It is impossible that Bernhard is white. There is little chance that John dropped the apple. There is almost no chance that Mary left the football.,It is improbable 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.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.10000000000000002,0.14622924584916983,train,improbable,very good chance,It is improbable that 'Bernhard is white' or 'John dropped the apple' or both.,There is a very good chance that 'Bernhard is white' or 'John dropped the apple' or both.,1,'Bernhard is white' or 'John dropped the apple' or both. There is a very good chance that Greg is a frog. Chances are slight that Bernhard is gray. There is a better than even chance that Jeff moved to the garden.,It is highly unlikely that either 'Jeff 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.8::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.58,0.4312862572514503,train,better than even,highly unlikely,There is a better than even chance that either 'Jeff moved to the garden' or 'Bernhard is gray' but not both.,It is highly unlikely that either 'Jeff moved to the garden' or 'Bernhard is gray' but not both.,0,Either 'Jeff moved to the garden' or 'Bernhard is gray' but not both. We believe that Sandra took the apple. It is improbable that Winona is a mouse. It is probably not the case that Brian is a swan.,It is probably the case that either 'Sandra took the apple' 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.75::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.626125225045009,train,probably,we doubt,It is probably the case that either 'Sandra took the apple' or 'Winona is a mouse' but not both.,We doubt that either 'Sandra took the apple' or 'Winona is a mouse' but not both.,1,Either 'Sandra took the apple' or 'Winona is a mouse' but not both. It is unlikely that Winona is a mouse. It is improbable that Greg is a frog. There is a very good chance that Bernhard is a lion.,It is highly unlikely 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.2::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8400000000000001,0.7759551910382076,train,very good chance,highly unlikely,There is a very good chance that 'Winona is a mouse' or 'Bernhard is a lion' or both.,It is highly unlikely 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 probably not the case that Daniel got the milk. We believe that John dropped the apple. It is unlikely that Bernhard is gray.,There is a very good chance that 'John dropped 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.25::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.10502100420084017,train,very good chance,little chance,There is a very good chance that 'John dropped the apple' or 'Bernhard is gray' or both.,There is little chance that 'John dropped the apple' or 'Bernhard is gray' or both.,1,'John dropped the apple' or 'Bernhard is gray' or both. It is probable that Brian is a rhino. It is improbable that Jeff discarded the milk. It is probably not the case that Bernhard is gray.,It is highly unlikely that 'Brian is a rhino' 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.1::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.7173434686937388,train,we believe,highly unlikely,We believe that 'Brian is a rhino' or 'Jeff discarded the milk' or both.,It is highly unlikely that 'Brian is a rhino' or 'Jeff discarded the milk' or both.,0,'Brian is a rhino' or 'Jeff discarded the milk' or both. It is probable that Mary went to the office. It is almost certain that Sandra dropped the milk. It is almost certain that John left the milk.,It is highly likely that either 'Sandra dropped the milk' 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.7::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32000000000000006,0.07701540308061612,train,probably not,highly likely,It is probably not the case that either 'Sandra dropped the milk' or 'Mary went to the office' but not both.,It is highly likely that either 'Sandra dropped the milk' or 'Mary went to the office' but not both.,0,Either 'Sandra dropped the milk' or 'Mary went to the office' but not both. There is a very good chance that Sandra dropped the milk. It is probably not the case that John took the apple. It is likely that Brian is a swan.,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.8::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.6683336667333467,train,we doubt,we believe,We doubt 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'. There is little chance that Winona is a sheep. There is little chance that Sandra put down the milk. Chances are slight that Bernhard is yellow.,It is highly likely that 'Sandra put down the milk 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.4850970194038808,train,almost no chance,highly likely,There is almost no chance that 'Sandra put down the milk and Bernhard is yellow'.,It is highly likely that 'Sandra put down the milk and Bernhard is yellow'.,0,'Sandra put down the milk and Bernhard is yellow'. There is a very good chance that Sandra left the football. There is a better than even chance that Julius is a rhino. There is a better than even chance that Mary took the milk.,Chances are about even that 'Mary took the milk 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.8::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48,0.5051010202040408,train,about even,certain,Chances are about even that 'Mary took the milk and Sandra left the football'.,It is certain that 'Mary took the milk and Sandra left the football'.,1,'Mary took the milk and Sandra left the football'. We doubt that Bernhard is a swan. There is a very good chance that Greg is a rhino. It is almost certain that John picked up the apple.,It is certain that 'Greg 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.2::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.99,0.45229045809161833,train,certain,little chance,It is certain that 'Greg is a rhino' or 'John picked up the apple' or both.,There is little chance that 'Greg is a rhino' or 'John picked up the apple' or both.,1,'Greg is a rhino' or 'John picked up the apple' or both. There is almost no chance that Greg is a swan. It is impossible that Julius is a lion. It is probably the case that Brian is a frog.,It is unlikely that either 'Brian 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 0.02::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.026805361072214443,train,likely,unlikely,It is likely that either 'Brian is a frog' or 'Greg is a swan' but not both.,It is unlikely that either 'Brian is a frog' or 'Greg is a swan' but not both.,0,Either 'Brian is a frog' or 'Greg is a swan' but not both. It is probably not the case that Julius is gray. There is almost no chance that Mary went to the garden. It is impossible that Bernhard is a frog.,It is impossible that 'Bernhard 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.25::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7899579915983197,train,impossible,highly likely,It is impossible that 'Bernhard is a frog and Julius is gray'.,It is highly likely that 'Bernhard is a frog and Julius is gray'.,1,'Bernhard is a frog and Julius is gray'. It is highly unlikely that Greg is a frog. There is a very good chance that Julius is a lion. Chances are about even that Jeff went to the bedroom.,There is almost no chance that either 'Jeff went to the bedroom' 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.8::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.1746349269853971,train,about even,almost no chance,Chances are about even that either 'Jeff went to the bedroom' or 'Julius is a lion' but not both.,There is almost no chance that either 'Jeff went to the bedroom' or 'Julius is a lion' but not both.,0,Either 'Jeff went to the bedroom' or 'Julius is a lion' but not both. It is almost certain that Lily is yellow. We doubt that Julius is green. We believe that John took the football.,There is almost no chance that either 'John took the football' 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.95::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.65,0.46409281856371276,train,probable,almost no chance,It is probable that either 'John took the football' or 'Julius is green' but not both.,There is almost no chance that either 'John took the football' or 'Julius is green' but not both.,0,Either 'John took the football' or 'Julius is green' but not both. We doubt that Mary left the football. It is unlikely that Greg is a rhino. It is impossible that Bernhard is white.,It is impossible 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 0.2::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.05841168233646729,train,impossible,about even,It is impossible that 'Mary left the football and Bernhard is white'.,Chances are about even that 'Mary left the football and Bernhard is white'.,1,'Mary left the football and Bernhard is white'. It is highly likely that Lily is a swan. There is almost no chance that Daniel took the milk. It is probably the case that Mary went to the hallway.,It is probably not the case that either 'Mary went to the hallway' 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.02::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.33999999999999997,0.7849569913982797,train,probably not,highly likely,It is probably not the case that either 'Mary went to the hallway' or 'Lily is a swan' but not both.,It is highly likely that either 'Mary went to the hallway' or 'Lily is a swan' but not both.,1,Either 'Mary went to the hallway' or 'Lily is a swan' but not both. It is improbable that Mary went to the hallway. It is likely that Daniel dropped the apple. It is certain that Greg is a rhino.,There is almost no chance that 'Daniel 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.1::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.7533506701340268,train,likely,almost no chance,It is likely that 'Daniel dropped the apple and Greg is a rhino'.,There is almost no chance that 'Daniel dropped the apple and Greg is a rhino'.,0,'Daniel dropped the apple and Greg is a rhino'. There is a very good chance that Bernhard is a swan. It is highly likely that Julius is white. It is likely that Yann is tired.,There is a better than even chance that 'Bernhard is a swan 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.8::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5599999999999999,0.5927185437087418,train,better than even,chances are slight,There is a better than even chance that 'Bernhard is a swan and Yann is tired'.,Chances are slight that 'Bernhard is a swan and Yann is tired'.,1,'Bernhard is a swan and Yann is tired'. There is a better than even chance that Sandra got the milk. It is impossible that Jason is bored. There is little chance that Gertrude is a cat.,There is almost no chance that either 'Sandra got the milk' 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.6::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.78875775155031,train,better than even,almost no chance,There is a better than even chance that either 'Sandra got the milk' or 'Jason is bored' but not both.,There is almost no chance that either 'Sandra got the milk' or 'Jason is bored' but not both.,0,Either 'Sandra got the milk' or 'Jason is bored' but not both. It is highly unlikely that Lily is yellow. It is almost certain that Mary went to the hallway. It is impossible that Jessica is a mouse.,It is highly unlikely that 'Lily 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.05::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0475,0.4318863772754551,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is yellow and Mary went to the hallway'.,It is highly likely that 'Lily is yellow and Mary went to the hallway'.,1,'Lily is yellow and Mary went to the hallway'. It is likely that Bernhard is a frog. It is likely that Jessica is a cat. We believe that Sumit is tired.,It is almost certain that 'Bernhard is a frog' 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.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.925,0.4168833766753351,train,almost certain,chances are slight,It is almost certain that 'Bernhard is a frog' or 'Sumit is tired' or both.,Chances are slight that 'Bernhard is a frog' or 'Sumit is tired' or both.,1,'Bernhard is a frog' or 'Sumit is tired' or both. It is probable that Mary went to the office. It is probable that Greg is a frog. It is certain that Sumit is tired.,It is certain that 'Sumit is tired' 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. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.5153030606121224,train,certain,almost no chance,It is certain that 'Sumit is tired' or 'Greg is a frog' or both.,There is almost no chance that 'Sumit is tired' or 'Greg is a frog' or both.,1,'Sumit is tired' or 'Greg is a frog' or both. It is likely that Greg is a lion. It is highly unlikely that Bernhard is yellow. Chances are about even that Antoine is hungry.,There is almost no chance that 'Bernhard is yellow' 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.7::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.525,0.28245649129825967,train,about even,almost no chance,Chances are about even that 'Bernhard is yellow' or 'Antoine is hungry' or both.,There is almost no chance that 'Bernhard is yellow' or 'Antoine is hungry' or both.,0,'Bernhard is yellow' or 'Antoine is hungry' or both. It is impossible that Gertrude is a cat. It is probably the case that John moved to the office. There is little chance that Brian is yellow.,It is probable that either 'Gertrude is a cat' 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.10000000000000002,0.04420884176835367,train,improbable,probable,It is improbable that either 'Gertrude is a cat' or 'Brian is yellow' but not both.,It is probable that either 'Gertrude is a cat' or 'Brian is yellow' but not both.,0,Either 'Gertrude is a cat' or 'Brian is yellow' but not both. There is almost no chance that Bernhard is a rhino. There is almost no chance that Mary took the football. It is probable that John went to the office.,It is almost certain that 'Bernhard 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.02::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0004000000000000001,0.1970394078815763,train,impossible,almost certain,It is impossible that 'Bernhard is a rhino and Mary took the football'.,It is almost certain that 'Bernhard is a rhino and Mary took the football'.,0,'Bernhard is a rhino and Mary took the football'. We believe that Lily is a lion. It is probable that Greg is gray. There is a better than even chance that Sumit is thirsty.,There is almost no chance that 'Lily is a lion 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.7::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.07761552310462093,train,about even,almost no chance,Chances are about even that 'Lily is a lion and Greg is gray'.,There is almost no chance that 'Lily is a lion and Greg is gray'.,0,'Lily is a lion and Greg is gray'. It is probably the case that Gertrude is a mouse. It is probable that Bernhard is green. It is highly likely that Mary moved to the office.,It is almost certain that 'Mary moved to the office' 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.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.97,0.041408281656331265,train,almost certain,about even,It is almost certain that 'Mary moved to the office' or 'Gertrude is a mouse' or both.,Chances are about even that 'Mary moved to the office' or 'Gertrude is a mouse' or both.,1,'Mary moved to the office' or 'Gertrude is a mouse' or both. It is impossible that John went to the bedroom. It is almost certain that Lily is white. Chances are about even that Bernhard is a rhino.,It is impossible that 'Bernhard is a rhino 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.0::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7133426685337068,train,impossible,certain,It is impossible that 'Bernhard is a rhino and John went to the bedroom'.,It is certain that 'Bernhard is a rhino and John went to the bedroom'.,1,'Bernhard is a rhino and John went to the bedroom'. There is almost no chance that Daniel took the milk. It is likely that Mary went to the bedroom. It is almost certain that Greg is a rhino.,It is probable that 'Greg is a rhino 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.02::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.6649999999999999,0.07981596319263853,train,probable,improbable,It is probable that 'Greg is a rhino and Mary went to the bedroom'.,It is improbable that 'Greg is a rhino and Mary went to the bedroom'.,1,'Greg is a rhino and Mary went to the bedroom'. It is probably the case that Mary got the apple. It is unlikely that Julius is green. It is impossible that Bernhard is a rhino.,We doubt that either 'Bernhard is a rhino' 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.2::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.2,0.5715143028605721,train,we doubt,probably,We doubt that either 'Bernhard is a rhino' or 'Julius is green' but not both.,It is probably the case that either 'Bernhard is a rhino' or 'Julius is green' but not both.,1,Either 'Bernhard is a rhino' or 'Julius is green' but not both. We doubt that Lily is a swan. There is almost no chance that Bernhard is green. We believe that John discarded the apple.,We believe 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.2::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.755,0.5937187437487498,train,we believe,almost no chance,We believe that 'John discarded the apple' or 'Bernhard is green' or both.,There is almost no chance that 'John discarded the apple' or 'Bernhard is green' or both.,1,'John discarded the apple' or 'Bernhard is green' or both. It is certain that Greg is a swan. It is probably the case that Lily is a frog. It is impossible that John discarded the apple.,It is almost certain that 'John discarded the apple 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. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.23864772954590918,train,impossible,almost certain,It is impossible that 'John discarded the apple and Greg is a swan'.,It is almost certain that 'John discarded the apple and Greg is a swan'.,0,'John discarded the apple and Greg is a swan'. It is likely that Mary went to the hallway. It is highly likely that Bernhard is a swan. Chances are about even that Daniel left the football.,There is a very good chance 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.7::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.5503100620124025,train,probably not,very good chance,It is probably not the case that either 'Bernhard is a swan' or 'Mary went to the hallway' but not both.,There is a very good chance that either 'Bernhard is a swan' or 'Mary went to the hallway' but not both.,0,Either 'Bernhard is a swan' or 'Mary went to the hallway' but not both. There is a very good chance that Brian is white. It is almost certain that Lily is a frog. Chances are about even that Greg is yellow.,Chances are about even that 'Greg is yellow 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.95::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.475,0.514502900580116,train,about even,almost no chance,Chances are about even that 'Greg is yellow and Lily is a frog'.,There is almost no chance that 'Greg is yellow and Lily is a frog'.,1,'Greg is yellow and Lily is a frog'. It is probable that Brian is green. It is certain that Lily is a frog. It is improbable that Emily is a sheep.,We doubt that 'Emily is a sheep' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.3462692538507702,train,certain,we doubt,It is certain that 'Emily is a sheep' or 'Lily is a frog' or both.,We doubt that 'Emily is a sheep' or 'Lily is a frog' or both.,0,'Emily is a sheep' or 'Lily is a frog' or both. It is highly likely that Mary grabbed the apple. Chances are slight that John dropped the apple. There is little chance that Brian is yellow.,It is highly likely that 'Mary grabbed the apple 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09000000000000001,0.05961192238447689,train,improbable,highly likely,It is improbable that 'Mary grabbed the apple and John dropped the apple'.,It is highly likely that 'Mary grabbed the apple and John dropped the apple'.,0,'Mary grabbed the apple and John dropped the apple'. We believe that Greg is a swan. It is probable that John went to the hallway. It is highly unlikely that Brian is a frog.,It is probable that either 'Brian 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.7::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6799999999999999,0.7125425085017003,train,probable,unlikely,It is probable that either 'Brian is a frog' or 'John went to the hallway' but not both.,It is unlikely that either 'Brian is a frog' or 'John went to the hallway' but not both.,1,Either 'Brian is a frog' or 'John went to the hallway' but not both. We believe that Bernhard is gray. There is a better than even chance that Mary left the football. It is almost certain that Lily is green.,It is probably not the case that 'Bernhard is gray 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.6::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.13822764552910582,train,probably,probably not,It is probably the case that 'Bernhard is gray and Lily is green'.,It is probably not the case that 'Bernhard is gray and Lily is green'.,0,'Bernhard is gray and Lily is green'. It is unlikely that Yann is bored. It is probably not the case that John discarded the apple. Chances are about even that Bernhard is yellow.,There is a very good chance that either 'Yann is bored' 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.25::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.35000000000000003,0.44588917783556714,train,probably not,very good chance,It is probably not the case that either 'Yann is bored' or 'John discarded the apple' but not both.,There is a very good chance that either 'Yann is bored' or 'John discarded the apple' but not both.,0,Either 'Yann is bored' or 'John discarded the apple' but not both. There is little chance that Brian is white. It is highly unlikely that Greg is a lion. We believe that Mary took the milk.,We believe that either 'Greg 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 0.1::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7250000000000001,0.7281456291258251,train,we believe,little chance,We believe that either 'Greg is a lion' or 'Mary took the milk' but not both.,There is little chance that either 'Greg is a lion' or 'Mary took the milk' but not both.,1,Either 'Greg is a lion' or 'Mary took the milk' but not both. We doubt that Mary is in the bathroom. It is impossible that Greg is a lion. Chances are slight that Brian is a swan.,There is little chance that 'Greg is a lion' 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.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.16663332666533306,train,little chance,certain,There is little chance that 'Greg is a lion' or 'Brian is a swan' or both.,It is certain that 'Greg is a lion' or 'Brian is a swan' or both.,1,'Greg is a lion' or 'Brian is a swan' or both. Chances are about even that Emily is a mouse. It is unlikely that Bernhard is gray. We doubt that Mary moved to the garden.,It is improbable that 'Emily 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.5::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.10000000000000002,0.44768953790758154,train,improbable,very good chance,It is improbable that 'Emily is a mouse and Bernhard is gray'.,There is a very good chance that 'Emily is a mouse and Bernhard is gray'.,1,'Emily is a mouse and Bernhard is gray'. It is probably the case that John grabbed the apple. It is almost certain that Julius is gray. We doubt that Brian is a swan.,It is unlikely that 'Julius 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.7::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.04500900180036007,train,unlikely,almost certain,It is unlikely that 'Julius is gray and Brian is a swan'.,It is almost certain that 'Julius is gray and Brian is a swan'.,1,'Julius is gray and Brian is a swan'. It is probable that Julius is white. It is probably the case that Brian is a swan. It is certain that Mary dropped the milk.,Chances are about even 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.7::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.18103620724144828,train,about even,highly unlikely,Chances are about even that either 'Brian is a swan' or 'Julius is white' but not both.,It is highly unlikely 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. There is a better than even chance that Brian is green. We believe that Bernhard is yellow. It is improbable that Gertrude is a mouse.,We believe that 'Brian is green 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.6::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.3434686937387478,train,highly unlikely,we believe,It is highly unlikely that 'Brian is green and Gertrude is a mouse'.,We believe that 'Brian is green and Gertrude is a mouse'.,0,'Brian is green and Gertrude is a mouse'. There is almost no chance that Greg is yellow. It is almost certain that Bernhard is white. There is a very good chance that Daniel took the milk.,There is a very good chance that either 'Greg 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.02::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.788,0.13202640528105622,train,very good chance,probably not,There is a very good chance that either 'Greg is yellow' or 'Daniel took the milk' but not both.,It is probably not the case that either 'Greg is yellow' or 'Daniel took the milk' but not both.,1,Either 'Greg is yellow' or 'Daniel took the milk' but not both. It is probably the case that Greg is a rhino. It is almost certain that John put down the apple. It is unlikely that Sandra left the milk.,It is likely that 'John put down the apple 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.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.09121824364872974,train,we doubt,likely,We doubt that 'John put down the apple and Sandra left the milk'.,It is likely that 'John put down the apple and Sandra left the milk'.,0,'John put down the apple and Sandra left the milk'. It is unlikely that Mary moved to the office. Chances are slight that John dropped the apple. It is almost certain that Fred left the football.,It is highly unlikely that 'Fred left the football' 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.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.7779555911182237,train,almost certain,highly unlikely,It is almost certain that 'Fred left the football' or 'John dropped the apple' or both.,It is highly unlikely that 'Fred left the football' or 'John dropped the apple' or both.,0,'Fred left the football' or 'John dropped the apple' or both. There is almost no chance that Julius is white. It is probably not the case that Greg is a rhino. It is unlikely that Bill went to the garden.,Chances are about even that 'Greg 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.02::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.4,0.6473294658931786,train,about even,almost no chance,Chances are about even that 'Greg is a rhino' or 'Bill went to the garden' or both.,There is almost no chance that 'Greg is a rhino' or 'Bill went to the garden' or both.,1,'Greg is a rhino' or 'Bill went to the garden' or both. It is impossible that Julius is a swan. It is almost certain that Lily is a rhino. It is improbable that Mary went to the garden.,It is probably not the case 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.0::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.21884376875375075,train,almost certain,probably not,It is almost certain that 'Lily is a rhino' or 'Mary went to the garden' or both.,It is probably not the case that 'Lily is a rhino' or 'Mary went to the garden' or both.,0,'Lily is a rhino' or 'Mary went to the garden' or both. It is certain that Fred discarded the apple. We believe that Bernhard is a lion. It is certain that Mary went to the office.,It is highly likely that either 'Bernhard 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 1.0::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.25,0.6387277455491098,train,probably not,highly likely,It is probably not the case that either 'Bernhard is a lion' or 'Mary went to the office' but not both.,It is highly likely that either 'Bernhard is a lion' or 'Mary went to the office' but not both.,0,Either 'Bernhard is a lion' or 'Mary went to the office' but not both. Chances are slight that Daniel got the apple. Chances are about even that Mary dropped the apple. It is likely that Winona is a mouse.,It is highly likely that 'Mary dropped the apple 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.5591118223644729,train,highly unlikely,highly likely,It is highly unlikely that 'Mary dropped the apple and Daniel got the apple'.,It is highly likely that 'Mary dropped the apple and Daniel got the apple'.,0,'Mary dropped the apple and Daniel got the apple'. It is likely that Greg is a frog. It is unlikely that Brian is a frog. It is almost certain that Fred left the football.,There is little chance that 'Brian is a frog' 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.7::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.05701140228045609,train,almost certain,little chance,It is almost certain that 'Brian is a frog' or 'Fred left the football' or both.,There is little chance that 'Brian is a frog' or 'Fred left the football' or both.,0,'Brian is a frog' or 'Fred left the football' or both. There is little chance that Bernhard is a frog. We believe that Greg is white. There is almost no chance that John moved to the garden.,We believe that 'Greg is white' or 'John moved to the garden' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.2586517303460692,train,we believe,impossible,We believe that 'Greg is white' or 'John moved to the garden' or both.,It is impossible that 'Greg is white' or 'John moved to the garden' or both.,1,'Greg is white' or 'John moved to the garden' or both. It is highly likely that Bernhard is a frog. It is probably not the case that Lily is a lion. It is probably the case that Daniel took the apple.,There is little chance that either 'Lily is a lion' 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.9::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.07301460292058412,train,better than even,little chance,There is a better than even chance that either 'Lily is a lion' or 'Daniel took the apple' but not both.,There is little chance that either 'Lily is a lion' or 'Daniel took the apple' but not both.,0,Either 'Lily is a lion' or 'Daniel took the apple' but not both. Chances are slight that Mary dropped the apple. There is little chance that Brian is white. It is probable that John grabbed the milk.,There is almost no chance that 'Mary dropped the apple 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.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.47149429885977195,train,almost no chance,probably,There is almost no chance that 'Mary dropped the apple and Brian is white'.,It is probably the case that 'Mary dropped the apple and Brian is white'.,1,'Mary dropped the apple and Brian is white'. There is little chance that Lily is yellow. It is certain that Mary went to the garden. It is highly likely that John put down the apple.,It is improbable that 'Lily is yellow' 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. 1.0::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.7481496299259852,train,certain,improbable,It is certain that 'Lily is yellow' or 'Mary went to the garden' or both.,It is improbable that 'Lily is yellow' or 'Mary went to the garden' or both.,0,'Lily is yellow' or 'Mary went to the garden' or both. It is highly unlikely that Bernhard is yellow. It is almost certain that Brian is gray. There is a better than even chance that Sandra grabbed the milk.,It is highly likely that either 'Brian 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.05::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9049999999999999,0.41548309661932387,train,highly likely,improbable,It is highly likely that either 'Brian is gray' or 'Bernhard is yellow' but not both.,It is improbable that either 'Brian is gray' or 'Bernhard is yellow' but not both.,1,Either 'Brian is gray' or 'Bernhard is yellow' but not both. There is a better than even chance that Mary got the milk. It is improbable that Brian is a frog. There is almost no chance that Lily is a rhino.,There is a better than even chance that 'Mary got the milk' 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.6::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.64,0.5513102620524105,train,better than even,improbable,There is a better than even chance that 'Mary got the milk' or 'Brian is a frog' or both.,It is improbable that 'Mary got the milk' or 'Brian is a frog' or both.,1,'Mary got the milk' or 'Brian is a frog' or both. It is likely that Brian is green. It is probable that Mary dropped the milk. It is probably not the case that Julius is gray.,Chances are slight 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.7::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6,0.3704740948189638,train,better than even,chances are slight,There is a better than even chance that either 'Julius is gray' or 'Brian is green' but not both.,Chances are slight that either 'Julius is gray' or 'Brian is green' but not both.,0,Either 'Julius is gray' or 'Brian is green' but not both. Chances are about even that Mary left the football. It is probably the case that John went to the garden. It is highly likely that Julius is yellow.,Chances are about even that either 'Mary left the football' 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.7::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.49999999999999994,0.033006601320264055,train,about even,impossible,Chances are about even that either 'Mary left the football' or 'John went to the garden' but not both.,It is impossible that either 'Mary left the football' or 'John went to the garden' but not both.,1,Either 'Mary left the football' or 'John went to the garden' but not both. It is impossible that Bernhard is yellow. There is a better than even chance that Lily is white. It is almost certain that Gertrude is a cat.,There is a better than even chance that either 'Bernhard is yellow' 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.0::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.6781356271254251,train,better than even,highly unlikely,There is a better than even chance that either 'Bernhard is yellow' or 'Lily is white' but not both.,It is highly unlikely that either 'Bernhard is yellow' or 'Lily is white' but not both.,1,Either 'Bernhard is yellow' or 'Lily is white' but not both. It is highly unlikely that Bernhard is a frog. There is little chance that Brian is green. We doubt that Mary left the milk.,There is almost no chance that 'Brian is green 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.02540508101620324,train,almost no chance,likely,There is almost no chance that 'Brian is green and Mary left the milk'.,It is likely that 'Brian is green and Mary left the milk'.,1,'Brian is green and Mary left the milk'. We doubt that Julius is white. There is almost no chance that Bernhard is yellow. It is highly likely that John got the apple.,We doubt that either 'Bernhard 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.2::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.21200000000000002,0.7213442688537708,train,we doubt,highly likely,We doubt that either 'Bernhard is yellow' or 'Julius is white' but not both.,It is highly likely that either 'Bernhard is yellow' or 'Julius is white' but not both.,1,Either 'Bernhard is yellow' or 'Julius is white' but not both. It is probable that John took the football. Chances are about even that Julius is a swan. It is probably not the case that Brian is a rhino.,There is a better than even chance 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.5::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.625,0.6089217843568714,train,better than even,little chance,There is a better than even chance that 'Brian is a rhino' or 'Julius is a swan' or both.,There is little chance that 'Brian is a rhino' or 'Julius is a swan' or both.,1,'Brian is a rhino' or 'Julius is a swan' or both. It is improbable that Bernhard is a rhino. It is likely that John put down the apple. Chances are about even that Julius is a frog.,It is probably not the case that 'Julius is a frog 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.1::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.4736947389477896,train,probably not,likely,It is probably not the case that 'Julius is a frog and John put down the apple'.,It is likely that 'Julius is a frog and John put down the apple'.,1,'Julius is a frog and John put down the apple'. It is probable that Sandra took the apple. There is a very good chance that Lily is gray. We believe that Brian is yellow.,It is impossible that either 'Sandra took 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.7::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.7819563912782557,train,about even,impossible,Chances are about even that either 'Sandra took the apple' or 'Lily is gray' but not both.,It is impossible that either 'Sandra took the apple' or 'Lily is gray' but not both.,0,Either 'Sandra took the apple' or 'Lily is gray' but not both. It is probable that John left the apple. It is probably the case that Lily is a swan. It is almost certain that Mary grabbed the milk.,There is almost no chance that 'John left the apple' 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.7::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.985,0.4372874574914983,train,certain,almost no chance,It is certain that 'John left the apple' or 'Mary grabbed the milk' or both.,There is almost no chance that 'John left the apple' or 'Mary grabbed the milk' or both.,0,'John left the apple' or 'Mary grabbed the milk' or both. It is almost certain that Mary went to the hallway. It is probably the case that Jessica is a cat. It is improbable that Julius is a swan.,There is a very good chance that 'Mary went to the hallway 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09500000000000001,0.7733546709341869,train,improbable,very good chance,It is improbable that 'Mary went to the hallway and Julius is a swan'.,There is a very good chance that 'Mary went to the hallway and Julius is a swan'.,0,'Mary went to the hallway and Julius is a swan'. It is impossible that Jeff went to the garden. We doubt that Greg is a swan. It is likely that Lily is green.,It is probably the case that 'Greg is a swan' 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.0::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.2,0.6347269453890778,train,unlikely,probably,It is unlikely that 'Greg is a swan' or 'Jeff went to the garden' or both.,It is probably the case that 'Greg is a swan' or 'Jeff went to the garden' or both.,0,'Greg is a swan' or 'Jeff went to the garden' or both. We doubt that Winona is a cat. It is unlikely that Mary took the milk. Chances are about even that Lily is green.,It is impossible that either 'Lily is green' 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.2::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.2912582516503301,train,about even,impossible,Chances are about even that either 'Lily is green' or 'Winona is a cat' but not both.,It is impossible that either 'Lily is green' or 'Winona is a cat' but not both.,0,Either 'Lily is green' or 'Winona is a cat' but not both. It is certain that Mary went to the kitchen. It is probably the case that Brian is a rhino. There is a very good chance that Julius is yellow.,It is probably not the case that 'Mary went to the kitchen and Brian is a rhino'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.4530906181236247,train,probable,probably not,It is probable that 'Mary went to the kitchen and Brian is a rhino'.,It is probably not the case that 'Mary went to the kitchen and Brian is a rhino'.,0,'Mary went to the kitchen and Brian is a rhino'. It is likely that Mary left the football. It is highly likely that Julius is a frog. There is a very good chance that Greg is green.,It is certain that 'Julius is a frog' 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.9::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.98,0.5659131826365273,train,certain,we doubt,It is certain that 'Julius is a frog' or 'Greg is green' or both.,We doubt that 'Julius is a frog' or 'Greg is green' or both.,1,'Julius is a frog' or 'Greg is green' or both. It is probably not the case that Jeff moved to the garden. It is impossible that John took the apple. It is probable that Bernhard is green.,It is likely that 'Bernhard is green 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.5807161432286457,train,impossible,likely,It is impossible that 'Bernhard is green and John took the apple'.,It is likely that 'Bernhard is green and John took the apple'.,0,'Bernhard is green and John took the apple'. It is unlikely that Brian is a rhino. We believe that Bernhard is yellow. It is highly likely that Daniel got the milk.,Chances are slight that either 'Brian is a rhino' 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.75::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.3166633326665333,train,we believe,chances are slight,We believe that either 'Brian is a rhino' or 'Daniel got the milk' but not both.,Chances are slight that either 'Brian is a rhino' or 'Daniel got the milk' but not both.,0,Either 'Brian is a rhino' or 'Daniel got the milk' but not both. Chances are slight that Daniel left the milk. It is highly unlikely that Lily is a frog. It is impossible that John moved to the garden.,It is almost certain that either 'Lily 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.1::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.05000000000000001,0.7327465493098619,train,highly unlikely,almost certain,It is highly unlikely that either 'Lily is a frog' or 'John moved to the garden' but not both.,It is almost certain that either 'Lily is a frog' or 'John moved to the garden' but not both.,0,Either 'Lily is a frog' or 'John moved to the garden' but not both. There is a better than even chance that Julius is a swan. It is improbable that John went to the bedroom. There is a very good chance that Greg is gray.,It is certain that either 'Greg is gray' 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.1::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.44,0.7239447889577916,train,about even,certain,Chances are about even that either 'Greg is gray' or 'Julius is a swan' but not both.,It is certain that either 'Greg is gray' or 'Julius is a swan' but not both.,0,Either 'Greg is gray' or 'Julius is a swan' but not both. It is probably not the case that Gertrude is a sheep. There is a better than even chance that John went to the kitchen. Chances are slight that Greg is yellow.,It is likely that 'Greg is yellow' 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.25::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.325,0.5759151830366073,train,probably not,likely,It is probably not the case that 'Greg is yellow' or 'Gertrude is a sheep' or both.,It is likely that 'Greg is yellow' or 'Gertrude is a sheep' or both.,0,'Greg is yellow' or 'Gertrude is a sheep' or both. It is highly likely that Lily is a swan. We believe that Jason is tired. Chances are slight that Gertrude is a mouse.,There is a very good chance that either 'Lily is a swan' or 'Gertrude is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.45789157831566313,train,very good chance,probably not,There is a very good chance that either 'Lily is a swan' or 'Gertrude is a mouse' but not both.,It is probably not the case that either 'Lily is a swan' or 'Gertrude is a mouse' but not both.,1,Either 'Lily is a swan' or 'Gertrude is a mouse' but not both. There is a better than even chance that Greg is a lion. Chances are slight that Fred went to the garden. Chances are slight that Sandra dropped the apple.,It is unlikely that either 'Fred went to the garden' 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.6::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.21084216843368675,train,unlikely,probable,It is unlikely that either 'Fred went to the garden' or 'Sandra dropped the apple' but not both.,It is probable that either 'Fred went to the garden' or 'Sandra dropped the apple' but not both.,1,Either 'Fred went to the garden' or 'Sandra dropped the apple' but not both. There is a very good chance that Bernhard is white. It is highly unlikely that Lily is a swan. It is probably the case that John moved to the office.,It is likely that 'John moved to the office' 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.05::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.544508901780356,train,likely,probably not,It is likely that 'John moved to the office' or 'Lily is a swan' or both.,It is probably not the case that 'John moved to the office' or 'Lily is a swan' or both.,1,'John moved to the office' or 'Lily is a swan' or both. It is likely that Brian is a swan. There is almost no chance that Jeff discarded the milk. There is a very good chance that Mary went to the kitchen.,It is impossible that 'Brian is a swan' 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.02::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.94,0.5959191838367673,train,almost certain,impossible,It is almost certain that 'Brian is a swan' or 'Mary went to the kitchen' or both.,It is impossible that 'Brian is a swan' or 'Mary went to the kitchen' or both.,0,'Brian is a swan' or 'Mary went to the kitchen' or both. It is highly unlikely that Mary went to the hallway. There is a very good chance that Lily is a swan. There is a better than even chance that John dropped the apple.,It is impossible that 'John dropped 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.05::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48,0.17083416683336666,train,about even,impossible,Chances are about even that 'John dropped the apple and Lily is a swan'.,It is impossible that 'John dropped the apple and Lily is a swan'.,0,'John dropped the apple and Lily is a swan'. There is almost no chance that Julius is a frog. There is almost no chance that Winona is a mouse. It is likely that Brian is a rhino.,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.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.706,0.20624124824964993,train,probably,probably not,It is probably the case that 'Winona is a mouse' or 'Brian is a rhino' or both.,It is probably not the case that 'Winona is a mouse' or 'Brian is a rhino' or both.,1,'Winona is a mouse' or 'Brian is a rhino' or both. We doubt that Bernhard is a frog. It is highly unlikely that John took the apple. It is highly unlikely that Lily is a swan.,It is probable that 'Lily 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.2::factA. 0.05::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.09750000000000002,0.34766953390678135,train,improbable,probable,It is improbable that 'Lily is a swan' or 'John took the apple' or both.,It is probable that 'Lily is a swan' or 'John took the apple' or both.,0,'Lily is a swan' or 'John took the apple' or both. Chances are slight that Lily is white. It is likely that Mary put down the milk. It is probable that Emily is a mouse.,It is highly likely that 'Emily is a mouse' or 'Mary put down the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.3078615723144629,train,highly likely,chances are slight,It is highly likely that 'Emily is a mouse' or 'Mary put down the milk' or both.,Chances are slight that 'Emily is a mouse' or 'Mary put down the milk' or both.,1,'Emily is a mouse' or 'Mary put down the milk' or both. It is certain that Brian is a lion. It is improbable that Greg is a swan. It is impossible that Mary discarded the apple.,It is improbable that either 'Mary 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 1.0::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.10000000000000002,0.23504700940188036,train,improbable,certain,It is improbable that either 'Mary discarded the apple' or 'Greg is a swan' but not both.,It is certain that either 'Mary discarded the apple' or 'Greg is a swan' but not both.,1,Either 'Mary discarded the apple' or 'Greg is a swan' but not both. It is highly likely that Jessica is a mouse. It is improbable that John discarded the apple. There is a better than even chance that Bill left the football.,It is highly unlikely that 'Bill 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.9::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.5907181436287258,train,highly unlikely,almost certain,It is highly unlikely that 'Bill left the football and John discarded the apple'.,It is almost certain that 'Bill left the football and John discarded the apple'.,1,'Bill left the football and John discarded the apple'. It is probable that Julius is a rhino. It is certain that Bernhard is a swan. We doubt that John went to the hallway.,Chances are slight that 'Bernhard is a swan 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.4538907781556311,train,likely,chances are slight,It is likely that 'Bernhard is a swan and Julius is a rhino'.,Chances are slight that 'Bernhard is a swan and Julius is a rhino'.,0,'Bernhard is a swan and Julius is a rhino'. There is little chance that Brian is a swan. There is little chance that Bernhard is yellow. It is probably the case that Sandra got the football.,It is likely that either 'Sandra got the football' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.39927985597119425,train,likely,highly unlikely,It is likely that either 'Sandra got the football' or 'Bernhard is yellow' but not both.,It is highly unlikely that either 'Sandra got the football' or 'Bernhard is yellow' but not both.,1,Either 'Sandra got the football' or 'Bernhard is yellow' but not both. Chances are about even that Bernhard is a rhino. There is almost no chance that Lily is a lion. There is little chance that John moved to the garden.,It is probable that either 'John moved to the garden' or 'Lily is a lion' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.5627125425085017,train,chances are slight,probable,Chances are slight that either 'John moved to the garden' or 'Lily is a lion' but not both.,It is probable that either 'John moved to the garden' or 'Lily is a lion' but not both.,0,Either 'John moved to the garden' or 'Lily is a lion' but not both. There is a very good chance that Brian is yellow. It is impossible that Bernhard is a frog. We doubt that Jason is tired.,It is probable that 'Bernhard 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.8::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.2,0.33726745349069814,train,unlikely,probable,It is unlikely that 'Bernhard is a frog' or 'Jason is tired' or both.,It is probable that 'Bernhard is a frog' or 'Jason is tired' or both.,0,'Bernhard is a frog' or 'Jason is tired' or both. There is almost no chance that Winona is a mouse. Chances are about even that Fred went to the garden. It is probably not the case that Greg is a lion.,It is almost certain that either 'Winona is a mouse' 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.02::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.3124624924984997,train,about even,almost certain,Chances are about even that either 'Winona is a mouse' or 'Fred went to the garden' but not both.,It is almost certain that either 'Winona is a mouse' or 'Fred went to the garden' but not both.,0,Either 'Winona is a mouse' or 'Fred went to the garden' but not both. It is highly unlikely that Bill went to the garden. We doubt that Daniel got the football. There is almost no chance that Greg is a swan.,It is almost certain that 'Greg is a swan' 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.05::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.069,0.18863772754550912,train,highly unlikely,almost certain,It is highly unlikely that 'Greg is a swan' or 'Bill went to the garden' or both.,It is almost certain that 'Greg is a swan' or 'Bill went to the garden' or both.,0,'Greg is a swan' or 'Bill went to the garden' or both. It is probable that Mary dropped the milk. Chances are about even that Emily is a wolf. Chances are about even that Brian is a frog.,Chances are about even that either 'Emily is a wolf' 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.5::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.7229445889177836,train,about even,impossible,Chances are about even that either 'Emily is a wolf' or 'Brian is a frog' but not both.,It is impossible that either 'Emily is a wolf' or 'Brian is a frog' but not both.,1,Either 'Emily is a wolf' or 'Brian is a frog' but not both. It is probably not the case that Mary left the football. We doubt that Lily is white. It is highly likely that Bill got the milk there.,It is likely that either 'Mary left the football' 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.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7000000000000001,0.624124824964993,train,likely,impossible,It is likely that either 'Mary left the football' or 'Bill got the milk there' but not both.,It is impossible that either 'Mary left the football' or 'Bill got the milk there' but not both.,1,Either 'Mary left the football' or 'Bill got the milk there' but not both. It is probably not the case that Julius is green. Chances are slight that Bernhard is a frog. There is little chance that Winona is a wolf.,We doubt that either 'Bernhard 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.25::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.11122224444888978,train,we doubt,probable,We doubt that either 'Bernhard is a frog' or 'Winona is a wolf' but not both.,It is probable that either 'Bernhard is a frog' or 'Winona is a wolf' but not both.,1,Either 'Bernhard is a frog' or 'Winona is a wolf' but not both. It is highly unlikely that John got the football. It is probable that Julius is green. It is probably not the case that Mary went to the garden.,It is probably not the case that either 'John got the football' 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.05::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.27499999999999997,0.75875175035007,train,probably not,likely,It is probably not the case that either 'John got the football' or 'Mary went to the garden' but not both.,It is likely that either 'John got the football' or 'Mary went to the garden' but not both.,1,Either 'John got the football' or 'Mary went to the garden' but not both. We believe that Lily is a lion. It is almost certain that Bernhard is gray. There is little chance that Emily is a wolf.,It is highly unlikely that 'Emily is a wolf' 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.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.371874374874975,train,almost certain,highly unlikely,It is almost certain that 'Emily is a wolf' or 'Bernhard is gray' or both.,It is highly unlikely that 'Emily is a wolf' or 'Bernhard is gray' or both.,0,'Emily is a wolf' or 'Bernhard is gray' or both. It is improbable that John got the milk. It is probably the case that Julius is white. It is highly likely that Winona is a wolf.,It is probably not the case that either 'John got 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.1::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.4128825765153031,train,very good chance,probably not,There is a very good chance that either 'John got the milk' or 'Winona is a wolf' but not both.,It is probably not the case that either 'John got the milk' or 'Winona is a wolf' but not both.,0,Either 'John got the milk' or 'Winona is a wolf' but not both. There is a very good chance that Gertrude is a sheep. It is probably not the case that Bernhard is a lion. It is almost certain that Lily is a swan.,It is probable that 'Bernhard 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.8::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.5497099419883977,train,we doubt,probable,We doubt that 'Bernhard is a lion and Gertrude is a sheep'.,It is probable that 'Bernhard is a lion and Gertrude is a sheep'.,0,'Bernhard is a lion and Gertrude is a sheep'. It is probable that Fred is in the office. Chances are slight that Julius is gray. We doubt that Brian is a rhino.,It is probably not the case 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.396879375875175,train,probably not,likely,It is probably not the case 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.,1,'Julius is gray' or 'Brian is a rhino' or both. It is improbable that Mary went to the bedroom. It is almost certain that John grabbed the apple. There is a very good chance that Brian is white.,We believe that either 'Mary 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.1::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.04620924184836967,train,we believe,we doubt,We believe that either 'Mary went to the bedroom' or 'Brian is white' but not both.,We doubt that either 'Mary went to the bedroom' or 'Brian is white' but not both.,1,Either 'Mary went to the bedroom' or 'Brian is white' but not both. It is highly unlikely that Jason is tired. We believe that Winona is a mouse. It is highly unlikely that Greg is a rhino.,It is probably not the case 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.05::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7250000000000001,0.4264852970594119,train,we believe,probably not,We believe that either 'Jason is tired' or 'Winona is a mouse' but not both.,It is probably not the case that either 'Jason is tired' or 'Winona is a mouse' but not both.,0,Either 'Jason is tired' or 'Winona is a mouse' but not both. It is impossible that Mary took the milk. It is probably not the case that Lily is green. There is almost no chance that Emily is a mouse.,It is certain 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.0::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.01920384076815363,train,probably not,certain,It is probably not the case that either 'Lily is green' or 'Emily is a mouse' but not both.,It is certain that either 'Lily is green' or 'Emily is a mouse' but not both.,0,Either 'Lily is green' or 'Emily is a mouse' but not both. It is probably the case that Bill went to the office. There is a very good chance that Greg is a swan. It is probably not the case that Julius is white.,Chances are about even that either 'Bill 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.8::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.33806761352270454,train,about even,almost certain,Chances are about even that either 'Bill went to the office' or 'Greg is a swan' but not both.,It is almost certain that either 'Bill went to the office' or 'Greg is a swan' but not both.,1,Either 'Bill went to the office' or 'Greg is a swan' but not both. It is almost certain that Julius is a lion. It is likely that Greg is green. There is a very good chance that Mary left the football.,It is likely that 'Julius is a lion 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.95::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6649999999999999,0.10802160432086418,train,likely,probably not,It is likely that 'Julius is a lion and Greg is green'.,It is probably not the case that 'Julius is a lion and Greg is green'.,1,'Julius is a lion and Greg is green'. It is impossible that Greg is green. It is certain that Bill got the milk there. It is almost certain that Emily is a sheep.,It is probable 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.0::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.42308461692338467,train,impossible,probable,It is impossible that 'Emily is a sheep and Greg is green'.,It is probable that 'Emily is a sheep and Greg is green'.,0,'Emily is a sheep and Greg is green'. There is almost no chance that Greg is yellow. It is highly likely that Bernhard is white. It is probably not the case that Mary picked up the apple.,Chances are about even that 'Bernhard is white' 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.02::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.925,0.017203440688137627,train,almost certain,about even,It is almost certain that 'Bernhard is white' or 'Mary picked up the apple' or both.,Chances are about even that 'Bernhard is white' or 'Mary picked up the apple' or both.,0,'Bernhard is white' or 'Mary picked up the apple' or both. It is almost certain that Brian is a lion. It is certain that John dropped the apple. There is a very good chance that Mary moved to the garden.,It is certain that 'Brian is a lion' 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.95::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.99,0.5541108221644329,train,certain,highly unlikely,It is certain that 'Brian is a lion' or 'Mary moved to the garden' or both.,It is highly unlikely that 'Brian is a lion' or 'Mary moved to the garden' or both.,1,'Brian is a lion' or 'Mary moved to the garden' or both. It is unlikely that Jeff moved to the garden. It is probable that Emily is a wolf. There is little chance that Sandra left the milk.,It is probably the case that either 'Emily is a wolf' 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.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.4796959391878376,train,probably,improbable,It is probably the case that either 'Emily is a wolf' or 'Sandra left the milk' but not both.,It is improbable that either 'Emily is a wolf' or 'Sandra left the milk' but not both.,1,Either 'Emily is a wolf' or 'Sandra left the milk' but not both. There is a very good chance that Greg is white. It is impossible that Bernhard is gray. There is little chance that Jessica is a cat.,We doubt that 'Bernhard is gray' 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.8::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.5357071414282857,train,very good chance,we doubt,There is a very good chance that 'Bernhard is gray' or 'Greg is white' or both.,We doubt that 'Bernhard is gray' or 'Greg is white' or both.,0,'Bernhard is gray' or 'Greg is white' or both. There is a better than even chance that Emily is a sheep. It is improbable that Julius is a frog. It is impossible that Sandra got the milk.,There is little chance that either 'Emily is a sheep' 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.1::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.7351470294058812,train,better than even,little chance,There is a better than even chance that either 'Emily is a sheep' or 'Sandra got the milk' but not both.,There is little chance that either 'Emily is a sheep' or 'Sandra got the milk' but not both.,0,Either 'Emily is a sheep' or 'Sandra got the milk' but not both. We believe that Mary dropped the apple. It is certain that Lily is green. There is little chance that Jason is tired.,There is a better than even chance that 'Jason is tired 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.75::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.5389077815563112,train,chances are slight,better than even,Chances are slight that 'Jason is tired and Mary dropped the apple'.,There is a better than even chance that 'Jason is tired and Mary dropped the apple'.,0,'Jason is tired and Mary dropped the apple'. It is almost certain that Fred moved to the office. It is impossible that Lily is yellow. There is a very good chance that Bernhard is gray.,It is probably not the case that either 'Fred moved to the office' or 'Bernhard is gray' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.23,0.4378875775155031,train,probably not,likely,It is probably not the case that either 'Fred moved to the office' or 'Bernhard is gray' but not both.,It is likely that either 'Fred moved to the office' or 'Bernhard is gray' but not both.,1,Either 'Fred moved to the office' or 'Bernhard is gray' but not both. It is highly unlikely that Brian is a lion. We doubt that John discarded the milk. It is highly unlikely that Julius is gray.,It is impossible that 'Brian 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.2::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0025000000000000005,0.033806761352270454,train,impossible,better than even,It is impossible that 'Brian is a lion and Julius is gray'.,There is a better than even chance that 'Brian is a lion and Julius is gray'.,1,'Brian is a lion and Julius is gray'. We believe that John moved to the office. It is likely that Julius is green. It is probably not the case that Fred put down the apple.,It is impossible that 'Julius is green and John moved to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.03460692138427685,train,about even,impossible,Chances are about even that 'Julius is green and John moved to the office'.,It is impossible that 'Julius is green and John moved to the office'.,0,'Julius is green and John moved to the office'. There is almost no chance that Mary put down the apple. We doubt that Brian is green. There is almost no chance that Bernhard is a swan.,It is almost certain that 'Mary put down the apple 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.02::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0004000000000000001,0.1882376475295059,train,impossible,almost certain,It is impossible that 'Mary put down the apple and Bernhard is a swan'.,It is almost certain that 'Mary put down the apple and Bernhard is a swan'.,0,'Mary put down the apple and Bernhard is a swan'. We doubt that Bernhard is green. It is probable that Jeff moved to the office. There is little chance that Mary dropped the milk.,It is probably not the case 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.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.3340668133626725,train,probably not,probably,It is probably not the case that either 'Bernhard is green' or 'Mary dropped the milk' but not both.,It is probably the case that either 'Bernhard is green' or 'Mary dropped the milk' but not both.,1,Either 'Bernhard is green' or 'Mary dropped the milk' but not both. It is probably not the case that John took the milk. We doubt that Lily is a frog. It is impossible that Fred went to the garden.,It is probably not the case that either 'John took the milk' 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.25::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25,0.5317063412682537,train,probably not,we believe,It is probably not the case that either 'John took the milk' or 'Fred went to the garden' but not both.,We believe that either 'John took the milk' or 'Fred went to the garden' but not both.,1,Either 'John took the milk' or 'Fred went to the garden' but not both. It is improbable that Gertrude is a mouse. There is a very good chance that Brian is yellow. It is highly likely that Bernhard is a rhino.,It is probably the case that 'Brian is yellow 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.8::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.19723944788957792,train,little chance,probably,There is little chance that 'Brian is yellow and Gertrude is a mouse'.,It is probably the case that 'Brian is yellow and Gertrude is a mouse'.,0,'Brian is yellow and Gertrude is a mouse'. It is probably not the case that Greg is a lion. There is a better than even chance that Lily is a rhino. It is impossible that Fred left the football.,We believe that 'Greg 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.25::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.15,0.25825165033006603,train,chances are slight,we believe,Chances are slight that 'Greg is a lion and Lily is a rhino'.,We believe that 'Greg is a lion and Lily is a rhino'.,0,'Greg is a lion and Lily is a rhino'. It is almost certain that Jessica is a cat. It is almost certain that Brian is yellow. We believe that Gertrude is a cat.,It is probably not the case that either 'Jessica is a cat' 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.95::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.275,0.372874574914983,train,probably not,probable,It is probably not the case that either 'Jessica is a cat' or 'Gertrude is a cat' but not both.,It is probable that either 'Jessica is a cat' or 'Gertrude is a cat' but not both.,1,Either 'Jessica is a cat' or 'Gertrude is a cat' but not both. It is improbable that Lily is gray. It is improbable that Mary went to the bedroom. It is probably not the case that Brian is a frog.,It is probably not the case that either 'Mary went to the bedroom' 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.1::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.44668933786757353,train,probably not,probable,It is probably not the case that either 'Mary went to the bedroom' or 'Brian is a frog' but not both.,It is probable that either 'Mary went to the bedroom' or 'Brian is a frog' but not both.,1,Either 'Mary went to the bedroom' or 'Brian is a frog' but not both. There is a better than even chance that John put down the milk. It is probably the case that Mary picked up the milk. It is unlikely that Julius is a rhino.,It is improbable that 'Mary picked up the milk' 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. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.5285057011402281,train,we believe,improbable,We believe that 'Mary picked up the milk' or 'Julius is a rhino' or both.,It is improbable that 'Mary picked up the milk' or 'Julius is a rhino' or both.,0,'Mary picked up the milk' or 'Julius is a rhino' or both. There is a very good chance that Jeff left the apple. It is unlikely that Lily is a lion. We doubt that Brian is a frog.,There is a very good chance that 'Lily is a lion' 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8400000000000001,0.5649129825965193,train,very good chance,unlikely,There is a very good chance that 'Lily is a lion' or 'Jeff left the apple' or both.,It is unlikely that 'Lily is a lion' or 'Jeff left the apple' or both.,1,'Lily is a lion' or 'Jeff left the apple' or both. There is a better than even chance that Mary went to the office. There is almost no chance that Bernhard is white. It is likely that Jeff discarded the milk.,It is impossible that 'Mary went to the office' 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.6::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.88,0.033606721344268856,train,highly likely,impossible,It is highly likely that 'Mary went to the office' or 'Jeff discarded the milk' or both.,It is impossible that 'Mary went to the office' or 'Jeff discarded the milk' or both.,0,'Mary went to the office' or 'Jeff discarded the milk' or both. It is unlikely that Daniel got the milk. There is almost no chance that Winona is a sheep. There is little chance that Julius is a lion.,It is probable that 'Winona is a sheep 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.02::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0020000000000000005,0.790758151630326,train,impossible,probable,It is impossible that 'Winona is a sheep and Julius is a lion'.,It is probable that 'Winona is a sheep and Julius is a lion'.,0,'Winona is a sheep and Julius is a lion'. It is probably the case that Sandra dropped the milk. Chances are slight that John moved to the office. There is little chance that Lily is a swan.,It is highly likely that 'Lily is a swan' 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.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.19000000000000006,0.4830966193238648,train,we doubt,highly likely,We doubt that 'Lily is a swan' or 'John moved to the office' or both.,It is highly likely that 'Lily is a swan' or 'John moved to the office' or both.,0,'Lily is a swan' or 'John moved to the office' or both. It is unlikely that Jessica is a mouse. It is impossible that Sumit is thirsty. Chances are about even that Fred dropped the apple.,Chances are about even that either 'Sumit is thirsty' or 'Fred 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.0::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.42088417683536705,train,about even,certain,Chances are about even that either 'Sumit is thirsty' or 'Fred dropped the apple' but not both.,It is certain that either 'Sumit is thirsty' or 'Fred dropped the apple' but not both.,1,Either 'Sumit is thirsty' or 'Fred dropped the apple' but not both. There is a very good chance that Brian is a swan. It is probable that John went to the office. It is impossible that Winona is a wolf.,Chances are about even that 'John went to the office' or 'Brian is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.94,0.6091218243648729,train,almost certain,about even,It is almost certain that 'John went to the office' or 'Brian is a swan' or both.,Chances are about even that 'John went to the office' or 'Brian is a swan' or both.,0,'John went to the office' or 'Brian is a swan' or both. It is probably the case that Greg is white. Chances are about even that John discarded the apple. It is certain that Bernhard is a swan.,It is probably not the case that 'Greg is white and John discarded the apple'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.04980996199239848,train,probably not,almost certain,It is probably not the case that 'Greg is white and John discarded the apple'.,It is almost certain that 'Greg is white and John discarded the apple'.,1,'Greg is white and John discarded the apple'. It is probable that Sandra left the apple. We believe that Winona is a sheep. We believe that Yann is tired.,Chances are about even that either 'Yann is tired' or 'Sandra left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.75::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.08301660332066413,train,about even,impossible,Chances are about even that either 'Yann is tired' or 'Sandra left the apple' but not both.,It is impossible that either 'Yann is tired' or 'Sandra left the apple' but not both.,1,Either 'Yann is tired' or 'Sandra left the apple' but not both. There is little chance that Julius is a swan. It is probably not the case that Mary left the football. Chances are slight that Greg is white.,It is probably the case that 'Greg is white 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.25::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.016003200640128026,train,almost no chance,probably,There is almost no chance that 'Greg is white and Mary left the football'.,It is probably the case that 'Greg is white and Mary left the football'.,0,'Greg is white and Mary left the football'. We believe that Mary moved to the garden. It is probably not the case that Brian is a rhino. There is almost no chance that John put down the apple.,It is unlikely that 'Mary 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.75::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.1875,0.3028605721144229,train,unlikely,probable,It is unlikely that 'Mary moved to the garden and Brian is a rhino'.,It is probable that 'Mary moved to the garden and Brian is a rhino'.,1,'Mary moved to the garden and Brian is a rhino'. It is probably not the case that Julius is yellow. It is improbable that Lily is a lion. There is a very good chance that John dropped the apple.,Chances are slight that 'John dropped the apple' 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.25::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.01960392078415683,train,very good chance,chances are slight,There is a very good chance that 'John dropped the apple' or 'Lily is a lion' or both.,Chances are slight that 'John dropped the apple' or 'Lily is a lion' or both.,0,'John dropped the apple' or 'Lily is a lion' or both. There is a very good chance that Bernhard is yellow. It is highly likely that Daniel took the apple. It is impossible that Julius is white.,It is certain that 'Daniel took 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.8::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.98,0.2430486097219444,train,certain,probably not,It is certain that 'Daniel took the apple' or 'Bernhard is yellow' or both.,It is probably not the case that 'Daniel took the apple' or 'Bernhard is yellow' or both.,1,'Daniel took the apple' or 'Bernhard is yellow' or both. It is probable that Brian is a lion. It is unlikely that Jessica is a cat. It is probably not the case that Lily is a rhino.,It is probable 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.7::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.05000000000000001,0.14262852570514103,train,highly unlikely,probable,It is highly unlikely that 'Lily is a rhino and Jessica is a cat'.,It is probable that 'Lily is a rhino and Jessica is a cat'.,0,'Lily is a rhino and Jessica is a cat'. We believe that John picked up the milk. It is highly unlikely that Fred is in the school. It is probably not the case that Jeff went to the bedroom.,It is highly unlikely that 'Fred is in the school and John picked up the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.03750000000000001,0.3822764552910582,train,highly unlikely,about even,It is highly unlikely that 'Fred is in the school and John picked up the milk'.,Chances are about even that 'Fred is in the school and John picked up the milk'.,1,'Fred is in the school and John picked up the milk'. There is a better than even chance that Greg is a rhino. It is unlikely that John took the football. It is unlikely that Bernhard is gray.,It is probable that 'Bernhard 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.6::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.68,0.6205241048209642,train,probable,improbable,It is probable that 'Bernhard is gray' or 'Greg is a rhino' or both.,It is improbable that 'Bernhard is gray' or 'Greg is a rhino' or both.,1,'Bernhard is gray' or 'Greg is a rhino' or both. It is almost certain that Brian is green. It is probably the case that John picked up the apple. It is highly likely that Lily is yellow.,It is probably not the case that 'Brian is green 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.95::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6649999999999999,0.21524304860972193,train,probable,probably not,It is probable that 'Brian is green and John picked up the apple'.,It is probably not the case that 'Brian is green and John picked up the apple'.,0,'Brian is green and John picked up the apple'. It is probably not the case that Brian is green. It is unlikely that Greg is yellow. There is a better than even chance that Julius is a lion.,There is little 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.25::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12000000000000001,0.6933386677335467,train,little chance,almost certain,There is little chance that 'Julius is a lion and Greg is yellow'.,It is almost certain that 'Julius is a lion and Greg is yellow'.,1,'Julius is a lion and Greg is yellow'. It is highly likely that Sandra got the milk. We doubt that Greg is white. It is probable that Bernhard is white.,There is a better than even chance that either 'Bernhard is white' 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.9::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.5825165033006602,train,better than even,chances are slight,There is a better than even chance that either 'Bernhard is white' or 'Greg is white' but not both.,Chances are slight that either 'Bernhard is white' or 'Greg is white' but not both.,1,Either 'Bernhard is white' or 'Greg is white' but not both. It is impossible that John dropped the apple. It is certain that Winona is a mouse. There is almost no chance that Jeff moved to the garden.,Chances are about even that either 'Winona is a mouse' 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",1.0,0.05201040208041608,train,certain,about even,It is certain that either 'Winona is a mouse' or 'John dropped the apple' but not both.,Chances are about even that either 'Winona is a mouse' or 'John dropped the apple' but not both.,0,Either 'Winona is a mouse' or 'John dropped the apple' but not both. There is a very good chance that Mary went to the office. We doubt that Lily is a swan. It is highly unlikely that Bernhard is gray.,There is a very good chance that 'Mary went to the office' 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.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8400000000000001,0.4434886977395479,train,very good chance,little chance,There is a very good chance that 'Mary went to the office' or 'Lily is a swan' or both.,There is little chance that 'Mary went to the office' or 'Lily is a swan' or both.,1,'Mary went to the office' or 'Lily is a swan' or both. It is almost certain that Mary went to the garden. It is impossible that Bernhard is green. It is almost certain that John got the milk.,It is almost certain that 'Mary 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.95::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.23444688937787558,train,impossible,almost certain,It is impossible that 'Mary went to the garden and Bernhard is green'.,It is almost certain that 'Mary went to the garden and Bernhard is green'.,0,'Mary went to the garden and Bernhard is green'. Chances are about even that Sandra put down the milk. It is almost certain that Bill went to the garden. Chances are about even that Brian is a lion.,There is almost no chance that 'Sandra put down 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.5::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.75,0.5929185837167433,train,we believe,almost no chance,We believe that 'Sandra put down the milk' or 'Brian is a lion' or both.,There is almost no chance that 'Sandra put down the milk' or 'Brian is a lion' or both.,0,'Sandra put down the milk' or 'Brian is a lion' or both. There is little chance that Lily is a lion. There is a better than even chance that Emily is a mouse. We doubt that Julius is a rhino.,It is highly unlikely that 'Lily 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.1::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.06,0.26505301060212044,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is a lion and Emily is a mouse'.,It is almost certain that 'Lily is a lion and Emily is a mouse'.,1,'Lily is a lion and Emily is a mouse'. It is likely that Julius is a lion. It is unlikely that Brian is yellow. It is improbable that Mary dropped the milk.,It is probably the case that 'Brian is yellow' or 'Mary dropped the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.0612122424484897,train,probably not,probably,It is probably not the case that 'Brian is yellow' or 'Mary dropped the milk' or both.,It is probably the case that 'Brian is yellow' or 'Mary dropped the milk' or both.,0,'Brian is yellow' or 'Mary dropped the milk' or both. It is certain that Lily is a swan. There is a very good chance that Bernhard is a frog. We doubt that Sandra dropped the milk.,We doubt 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 1.0::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.16000000000000003,0.28985797159431886,train,we doubt,probably,We doubt that 'Bernhard is a frog and Sandra dropped the milk'.,It is probably the case that 'Bernhard is a frog and Sandra dropped the milk'.,1,'Bernhard is a frog and Sandra dropped the milk'. It is certain that Jeff put down the milk. It is probable that Gertrude is a cat. It is almost certain that Bernhard is a swan.,There is almost no chance that 'Gertrude is a cat 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 1.0::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.09301860372074415,train,probable,almost no chance,It is probable that 'Gertrude is a cat and Jeff put down the milk'.,There is almost no chance that 'Gertrude is a cat and Jeff put down the milk'.,0,'Gertrude is a cat and Jeff put down the milk'. Chances are about even that Mary moved to the garden. Chances are about even that Brian is yellow. There is a better than even chance that John went to the office.,There is a very good chance that 'John 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.5::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.6891378275655131,train,very good chance,highly unlikely,There is a very good chance that 'John went to the office' or 'Brian is yellow' or both.,It is highly unlikely that 'John went to the office' or 'Brian is yellow' or both.,1,'John went to the office' or 'Brian is yellow' or both. There is almost no chance that John went to the kitchen. We believe that Fred discarded the apple. It is certain that Lily is white.,We believe that either 'John went to the kitchen' or 'Fred 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.75::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.7623524704940988,train,we believe,almost no chance,We believe that either 'John went to the kitchen' or 'Fred discarded the apple' but not both.,There is almost no chance that either 'John went to the kitchen' or 'Fred discarded the apple' but not both.,1,Either 'John went to the kitchen' or 'Fred discarded the apple' but not both. There is little chance that Lily is white. It is highly likely that Mary left the apple. There is almost no chance that Bernhard is a swan.,There is little chance that 'Mary left 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.1::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.21924384876975395,train,little chance,probable,There is little chance that 'Mary left the apple and Lily is white'.,It is probable that 'Mary left the apple and Lily is white'.,1,'Mary left the apple and Lily is white'. Chances are about even that John left the football. Chances are about even that Bill went to the bedroom. It is unlikely that Bernhard is a swan.,Chances are about even that either 'John left the football' 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.5::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.22704540908181636,train,about even,highly unlikely,Chances are about even that either 'John left the football' or 'Bill went to the bedroom' but not both.,It is highly unlikely that either 'John left the football' or 'Bill went to the bedroom' but not both.,1,Either 'John left the football' or 'Bill went to the bedroom' but not both. There is a better than even chance that John went to the garden. It is almost certain that Jessica is a mouse. Chances are about even that Fred dropped the milk.,There is a very good chance that 'John went to the garden 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.6::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.30000000000000004,0.716743348669734,train,probably not,very good chance,It is probably not the case that 'John went to the garden and Fred dropped the milk'.,There is a very good chance that 'John went to the garden and Fred dropped the milk'.,0,'John went to the garden and Fred dropped the milk'. It is highly unlikely that John left the milk. There is almost no chance that Lily is a rhino. We believe that Bernhard is green.,It is highly unlikely that 'Lily is a rhino' 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.05::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.069,0.5179035807161432,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a rhino' or 'John left the milk' or both.,There is a better than even chance that 'Lily is a rhino' or 'John left the milk' or both.,1,'Lily is a rhino' or 'John left the milk' or both. It is highly likely that Greg is white. It is highly likely that Jeff left the apple. It is almost certain that Julius is a rhino.,It is unlikely that 'Julius is a rhino 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.9::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.855,0.27905581116223244,train,highly likely,unlikely,It is highly likely that 'Julius is a rhino and Greg is white'.,It is unlikely that 'Julius is a rhino and Greg is white'.,0,'Julius is a rhino and Greg is white'. Chances are slight that Julius is green. There is a better than even chance that Bernhard is a rhino. There is a better than even chance that Mary went to the office.,It is highly unlikely that 'Mary went to the office 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.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.06,0.21664332866573316,train,highly unlikely,almost certain,It is highly unlikely that 'Mary went to the office and Julius is green'.,It is almost certain that 'Mary went to the office and Julius is green'.,1,'Mary went to the office and Julius is green'. Chances are slight that Bernhard is yellow. It is impossible that Greg is gray. We doubt that Mary put down the apple.,It is probably not the case that either 'Bernhard is yellow' 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.0::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.4992998599719944,train,probably not,we believe,It is probably not the case that either 'Bernhard is yellow' or 'Mary put down the apple' but not both.,We believe that either 'Bernhard is yellow' or 'Mary put down the apple' but not both.,1,Either 'Bernhard is yellow' or 'Mary put down the apple' but not both. There is a very good chance that Lily is white. It is impossible that John went to the bedroom. We believe that Fred dropped the apple.,There is a very good chance that either 'John went to the bedroom' 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.8::factA. 0.0::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.7883576715343069,train,very good chance,probably not,There is a very good chance that either 'John went to the bedroom' or 'Lily is white' but not both.,It is probably not the case that either 'John went to the bedroom' or 'Lily is white' but not both.,1,Either 'John went to the bedroom' or 'Lily is white' but not both. It is unlikely that Mary is in the school. Chances are about even that Gertrude is a cat. It is highly likely that Brian is a swan.,We doubt 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.2::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.95,0.34486897379475895,train,almost certain,we doubt,It is almost certain that 'Brian is a swan' or 'Gertrude is a cat' or both.,We doubt 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 Mary grabbed the milk. It is likely that Jason is tired. Chances are slight that Bernhard is a rhino.,It is likely that 'Jason is tired 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.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.4482896579315863,train,highly unlikely,likely,It is highly unlikely that 'Jason is tired and Bernhard is a rhino'.,It is likely that 'Jason is tired and Bernhard is a rhino'.,0,'Jason is tired and Bernhard is a rhino'. It is impossible that Gertrude is a wolf. It is likely that Greg is yellow. We believe that Winona is a wolf.,It is impossible that 'Gertrude is a wolf 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.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.6069213842768554,train,impossible,about even,It is impossible that 'Gertrude is a wolf and Winona is a wolf'.,Chances are about even that 'Gertrude is a wolf and Winona is a wolf'.,1,'Gertrude is a wolf and Winona is a wolf'. There is almost no chance that Jeff discarded the milk. It is unlikely that Mary took the football. It is probably not the case that Bernhard is green.,It is impossible that 'Jeff discarded 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.02::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.005000000000000002,0.26425285057011405,train,impossible,probably,It is impossible that 'Jeff discarded the milk and Bernhard is green'.,It is probably the case that 'Jeff discarded the milk and Bernhard is green'.,1,'Jeff discarded the milk and Bernhard is green'. It is probably the case that John moved to the garden. It is probable that Emily is a mouse. It is improbable that Jeff left the apple.,It is almost certain that either 'John moved to the garden' 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.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.3950790158031606,train,about even,almost certain,Chances are about even that either 'John moved to the garden' or 'Emily is a mouse' but not both.,It is almost certain that either 'John moved to the garden' or 'Emily is a mouse' but not both.,0,Either 'John moved to the garden' or 'Emily is a mouse' but not both. It is impossible that Lily is a swan. It is highly likely that Mary went to the hallway. There is little chance that Bernhard is gray.,It is impossible that 'Lily is a swan and Bernhard is gray'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.0640128025605121,train,impossible,probably,It is impossible that 'Lily is a swan and Bernhard is gray'.,It is probably the case that 'Lily is a swan and Bernhard is gray'.,1,'Lily is a swan and Bernhard is gray'. Chances are slight that Julius is green. It is probable that Greg is white. It is certain that Gertrude is a sheep.,It is certain that 'Julius is green' 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.7::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.022404480896179236,train,certain,chances are slight,It is certain that 'Julius is green' or 'Gertrude is a sheep' or both.,Chances are slight that 'Julius is green' or 'Gertrude is a sheep' or both.,1,'Julius is green' or 'Gertrude is a sheep' or both. There is little chance that John went to the garden. It is probably not the case that Greg is a frog. We believe that Brian is a rhino.,It is impossible 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.1::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.07321464292858572,train,very good chance,impossible,There is a very good chance that 'John went to the garden' or 'Brian is a rhino' or both.,It is impossible that 'John went to the garden' or 'Brian is a rhino' or both.,0,'John went to the garden' or 'Brian is a rhino' or both. There is little chance that Bernhard is white. It is likely that Julius is gray. It is likely that Brian is white.,It is highly unlikely that 'Bernhard 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.35707141428285655,train,highly unlikely,very good chance,It is highly unlikely that 'Bernhard is white and Julius is gray'.,There is a very good chance that 'Bernhard is white and Julius is gray'.,1,'Bernhard is white and Julius is gray'. It is almost certain that Brian is a rhino. Chances are slight that Bernhard is green. It is highly unlikely that Greg is gray.,It is almost certain that 'Brian 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.95::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9525,0.4244848969793959,train,almost certain,almost no chance,It is almost certain that 'Brian is a rhino' or 'Greg is gray' or both.,There is almost no chance that 'Brian is a rhino' or 'Greg is gray' or both.,1,'Brian is a rhino' or 'Greg is gray' or both. It is improbable that Mary went to the bedroom. There is little chance that Bernhard is a frog. It is unlikely that Lily is yellow.,It is highly likely 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.7951590318063613,train,almost no chance,highly likely,There is almost no chance that 'Lily is yellow and Bernhard is a frog'.,It is highly likely that 'Lily is yellow and Bernhard is a frog'.,0,'Lily is yellow and Bernhard is a frog'. There is a very good chance that Greg is a swan. It is improbable that Julius is green. There is almost no chance that Sandra took the football.,Chances are slight 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 0.8::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.3724744948989798,train,chances are slight,likely,Chances are slight that 'Julius is green and Greg is a swan'.,It is likely that 'Julius is green and Greg is a swan'.,1,'Julius is green and Greg is a swan'. There is a better than even chance that Bernhard is a swan. It is probably the case that Mary left the football. It is certain that Sandra dropped the milk.,It is impossible that either 'Sandra 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.6::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.27765553110622126,train,about even,impossible,Chances are about even that either 'Sandra dropped the milk' or 'Bernhard is a swan' but not both.,It is impossible that either 'Sandra dropped the milk' or 'Bernhard is a swan' but not both.,0,Either 'Sandra dropped the milk' or 'Bernhard is a swan' but not both. It is probably the case that Brian is white. It is almost certain that John moved to the office. It is likely that Bernhard is a rhino.,It is probably not the case that either 'Brian 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.34466893378675734,train,probably not,probably,It is probably not the case that either 'Brian is white' or 'John moved to the office' but not both.,It is probably the case that either 'Brian is white' or 'John moved to the office' but not both.,1,Either 'Brian is white' or 'John moved to the office' but not both. There is almost no chance that Julius is a swan. There is a better than even chance that Emily is a sheep. There is a very good chance that Lily is a lion.,We doubt that 'Lily is a lion' 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.6::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.804,0.6327265453090618,train,very good chance,we doubt,There is a very good chance that 'Lily is a lion' or 'Julius is a swan' or both.,We doubt that 'Lily is a lion' or 'Julius is a swan' or both.,0,'Lily is a lion' or 'Julius is a swan' or both. There is little chance that John dropped the apple. Chances are slight that Greg is a swan. We doubt that Sumit is hungry.,There is a very good chance that 'John dropped the apple 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.6895379075815163,train,almost no chance,very good chance,There is almost no chance that 'John dropped the apple and Greg is a swan'.,There is a very good chance that 'John dropped the apple and Greg is a swan'.,0,'John dropped the apple and Greg is a swan'. There is a better than even chance that John picked up the apple. There is a better than even chance that Mary went to the office. We doubt that Bernhard is a frog.,It is probably not the case that 'Bernhard is a frog' 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.6::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.68,0.373874774954991,train,probably,probably not,It is probably the case that 'Bernhard is a frog' or 'John picked up the apple' or both.,It is probably not the case that 'Bernhard is a frog' or 'John picked up the apple' or both.,0,'Bernhard is a frog' or 'John picked up the apple' or both. It is unlikely that Bernhard is yellow. It is improbable that Winona is a wolf. Chances are about even that Sandra dropped the apple.,Chances are slight that 'Sandra dropped 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.2::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6000000000000001,0.704740948189638,train,better than even,chances are slight,There is a better than even chance that 'Sandra dropped the apple' or 'Bernhard is yellow' or both.,Chances are slight that 'Sandra dropped the apple' or 'Bernhard is yellow' or both.,0,'Sandra dropped the apple' or 'Bernhard is yellow' or both. It is impossible that Mary went to the office. It is highly likely that Brian is yellow. We doubt that John got the apple.,It is highly likely 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.0::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9,0.7845569113822765,train,highly likely,little chance,It is highly likely that either 'Brian is yellow' or 'Mary went to the office' but not both.,There is little chance that either 'Brian is yellow' or 'Mary went to the office' but not both.,1,Either 'Brian is yellow' or 'Mary went to the office' but not both. There is a very good chance that Jeff went to the garden. There is a better than even chance that Brian is a lion. It is unlikely that John dropped the milk.,Chances are slight that 'John 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.8::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.68,0.4418883776755351,train,likely,chances are slight,It is likely that 'John dropped the milk' or 'Brian is a lion' or both.,Chances are slight that 'John dropped the milk' or 'Brian is a lion' or both.,0,'John dropped the milk' or 'Brian is a lion' or both. Chances are slight that Brian is yellow. There is a better than even chance that Mary is in the school. It is likely that Greg is white.,Chances are about even that either 'Mary is in the school' 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.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45999999999999996,0.6421284256851371,train,about even,impossible,Chances are about even that either 'Mary is in the school' or 'Greg is white' but not both.,It is impossible that either 'Mary is in the school' or 'Greg is white' but not both.,1,Either 'Mary is in the school' or 'Greg is white' but not both. It is likely that John went to the kitchen. It is improbable that Brian is a swan. We doubt that Julius is white.,It is likely that 'Julius 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.1208241648329666,train,almost no chance,likely,There is almost no chance that 'Julius is white and Brian is a swan'.,It is likely that 'Julius is white and Brian is a swan'.,0,'Julius is white and Brian is a swan'. It is improbable that Julius is a swan. There is almost no chance that John dropped the apple. Chances are slight that Bernhard is a swan.,It is impossible that 'John dropped the apple 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.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0020000000000000005,0.5029005801160232,train,impossible,better than even,It is impossible that 'John dropped the apple and Bernhard is a swan'.,There is a better than even chance that 'John dropped the apple and Bernhard is a swan'.,1,'John dropped the apple and Bernhard is a swan'. We believe that Bernhard is yellow. It is likely that Fred put down the apple. It is almost certain that Daniel got the football.,There is little chance that 'Bernhard is yellow 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.75::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.22724544908981797,train,probable,little chance,It is probable that 'Bernhard is yellow and Daniel got the football'.,There is little chance that 'Bernhard is yellow and Daniel got the football'.,0,'Bernhard is yellow and Daniel got the football'. It is improbable that John moved to the garden. It is likely that Lily is gray. We believe that Gertrude is a mouse.,There is a better than even chance that 'John moved to the garden 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.1::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.7687537507501501,train,highly unlikely,better than even,It is highly unlikely that 'John moved to the garden and Lily is gray'.,There is a better than even chance that 'John moved to the garden and Lily is gray'.,0,'John moved to the garden and Lily is gray'. There is a very good chance that Sandra got the football. Chances are about even that Lily is white. It is probably the case that Daniel took the apple.,It is certain that either 'Daniel took 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.8::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.38,0.11442288457691538,train,about even,certain,Chances are about even that either 'Daniel took the apple' or 'Sandra got the football' but not both.,It is certain that either 'Daniel took the apple' or 'Sandra got the football' but not both.,0,Either 'Daniel took the apple' or 'Sandra got the football' but not both. It is highly likely that John dropped the apple. It is probable that Winona is a wolf. We doubt that Brian is a frog.,We doubt that 'John dropped the apple 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.9::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.18000000000000002,0.7211442288457691,train,we doubt,probable,We doubt that 'John dropped the apple and Brian is a frog'.,It is probable that 'John dropped the apple and Brian is a frog'.,1,'John dropped the apple and Brian is a frog'. It is highly likely that Mary dropped the milk. It is almost certain that Bill went to the kitchen. We believe that Brian is a frog.,It is probably the case that 'Brian is a frog 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.9::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7125,0.3566713342668534,train,probably,we doubt,It is probably the case that 'Brian is a frog and Bill went to the kitchen'.,We doubt that 'Brian is a frog and Bill went to the kitchen'.,1,'Brian is a frog and Bill went to the kitchen'. It is impossible that Bernhard is green. It is certain that Greg is yellow. It is certain that Brian is a frog.,We believe 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.0::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.0,0.7589517903580716,train,impossible,we believe,It is impossible that either 'Greg is yellow' or 'Brian is a frog' but not both.,We believe 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. We believe that Lily is a lion. Chances are slight that Mary dropped the milk. We doubt that Bernhard is white.,It is probably not the case that 'Mary dropped 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.75::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.7029405881176235,train,probably not,we believe,It is probably not the case that 'Mary dropped the milk' or 'Bernhard is white' or both.,We believe that 'Mary dropped the milk' or 'Bernhard is white' or both.,1,'Mary dropped the milk' or 'Bernhard is white' or both. It is likely that Greg is a swan. It is probably the case that Bernhard is a frog. There is little chance that Julius is green.,There is a very good chance that 'Julius 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.47049409881976395,train,highly unlikely,very good chance,It is highly unlikely that 'Julius is green and Bernhard is a frog'.,There is a very good chance that 'Julius is green and Bernhard is a frog'.,0,'Julius is green and Bernhard is a frog'. It is impossible that Mary left the football. It is unlikely that Greg is white. It is certain that Winona is a sheep.,It is highly unlikely 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.0::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.8,0.1930386077215443,train,very good chance,highly unlikely,There is a very good chance that either 'Winona is a sheep' or 'Greg is white' but not both.,It is highly unlikely 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 Jason is tired. It is likely that Sandra left the football. We believe that Lily is a rhino.,It is almost certain that either 'Sandra 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.7::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.4,0.5249049809961992,train,about even,almost certain,Chances are about even that either 'Sandra left the football' or 'Lily is a rhino' but not both.,It is almost certain that either 'Sandra left the football' or 'Lily is a rhino' but not both.,0,Either 'Sandra left the football' or 'Lily is a rhino' but not both. It is highly likely that John went to the office. It is probable that Daniel put down the milk. It is unlikely that Lily is a swan.,There is a better than even chance that either 'Daniel put down 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.7::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.62,0.6623324664932987,train,better than even,impossible,There is a better than even chance that either 'Daniel put down the milk' or 'Lily is a swan' but not both.,It is impossible that either 'Daniel put down the milk' or 'Lily is a swan' but not both.,1,Either 'Daniel put down the milk' or 'Lily is a swan' but not both. We doubt that Julius is a swan. There is a very good chance that Mary went to the kitchen. It is certain that Sandra left the milk.,It is unlikely that 'Sandra left the milk 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.8::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.06861372274454891,train,unlikely,highly likely,It is unlikely that 'Sandra left the milk and Julius is a swan'.,It is highly likely that 'Sandra left the milk and Julius is a swan'.,1,'Sandra left the milk and Julius is a swan'. It is likely that Lily is green. It is probably not the case that Jeff went to the garden. There is almost no chance that Brian is a frog.,There is almost no chance that either 'Lily is green' 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.25::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.692,0.23384676935387078,train,probably,almost no chance,It is probably the case that either 'Lily is green' or 'Brian is a frog' but not both.,There is almost no chance that either 'Lily is green' or 'Brian is a frog' but not both.,0,Either 'Lily is green' or 'Brian is a frog' but not both. There is a better than even chance that Brian is yellow. It is highly likely that Greg is a swan. It is improbable that John went to the hallway.,It is highly likely that 'Greg is a swan' 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.6::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.91,0.5793158631726345,train,highly likely,almost no chance,It is highly likely that 'Greg is a swan' or 'John went to the hallway' or both.,There is almost no chance that 'Greg is a swan' or 'John went to the hallway' or both.,1,'Greg is a swan' or 'John went to the hallway' or both. There is a very good chance that Bernhard is yellow. There is a very good chance that Greg is a swan. It is highly likely that Mary went to the hallway.,It is improbable that 'Mary went to the hallway 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.8::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7200000000000001,0.6811362272454491,train,probably,improbable,It is probably the case that 'Mary went to the hallway and Bernhard is yellow'.,It is improbable that 'Mary went to the hallway and Bernhard is yellow'.,0,'Mary went to the hallway and Bernhard is yellow'. It is probable that Gertrude is a mouse. There is a very good chance that Bill went to the garden. It is probably not the case that Daniel dropped the milk.,Chances are about even that either 'Bill 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.7::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.30106021204240846,train,about even,highly unlikely,Chances are about even that either 'Bill went to the garden' or 'Gertrude is a mouse' but not both.,It is highly unlikely that either 'Bill went to the garden' or 'Gertrude is a mouse' but not both.,1,Either 'Bill went to the garden' or 'Gertrude is a mouse' but not both. It is certain that Gertrude is a cat. It is impossible that Daniel left the milk. It is probably not the case that Bernhard is gray.,It is probably not the case that 'Gertrude is a cat 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.0::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.25,0.541508301660332,train,probably not,highly likely,It is probably not the case that 'Gertrude is a cat and Bernhard is gray'.,It is highly likely that 'Gertrude is a cat and Bernhard is gray'.,1,'Gertrude is a cat and Bernhard is gray'. We believe that Sandra dropped the apple. It is highly unlikely that Mary got the milk. We doubt that Bernhard is gray.,We believe that either 'Sandra dropped the apple' 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.75::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7250000000000001,0.2398479695939188,train,we believe,almost no chance,We believe that either 'Sandra dropped the apple' or 'Mary got the milk' but not both.,There is almost no chance that either 'Sandra dropped the apple' or 'Mary got the milk' but not both.,1,Either 'Sandra dropped the apple' or 'Mary got the milk' but not both. It is almost certain that Jason is tired. It is impossible that Sandra took the milk. It is certain that Brian is green.,It is almost certain that 'Jason is tired and Brian is green'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.95,0.3634726945389078,train,almost certain,unlikely,It is almost certain that 'Jason is tired and Brian is green'.,It is unlikely that 'Jason is tired and Brian is green'.,1,'Jason is tired and Brian is green'. It is probably not the case that John discarded the apple. Chances are slight that Sandra got the milk. We believe that Gertrude is a mouse.,There is almost no chance that 'John discarded the apple 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.25::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.5711142228445689,train,almost no chance,probable,There is almost no chance that 'John discarded the apple and Sandra got the milk'.,It is probable that 'John discarded the apple and Sandra got the milk'.,1,'John discarded the apple and Sandra got the milk'. There is a better than even chance that John put down the apple. It is certain that Greg is green. It is probable that Brian is a lion.,It is impossible that either 'John put down 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.6::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.45999999999999996,0.3236647329465893,train,about even,impossible,Chances are about even that either 'John put down the apple' or 'Brian is a lion' but not both.,It is impossible that either 'John put down the apple' or 'Brian is a lion' but not both.,0,Either 'John put down the apple' or 'Brian is a lion' but not both. There is little chance that Bernhard is yellow. We doubt that Mary went to the office. We believe that John discarded the apple.,There is almost no chance that 'Bernhard 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.1::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.1904380876175235,train,almost no chance,certain,There is almost no chance that 'Bernhard is yellow and Mary went to the office'.,It is certain that 'Bernhard is yellow and Mary went to the office'.,1,'Bernhard is yellow and Mary went to the office'. It is probable that Julius is gray. It is almost certain that John went to the garden. It is probable that Brian is green.,It is probably the case that 'John went to the garden and Brian is green'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.6649999999999999,0.7471494298859772,train,probably,probably not,It is probably the case that 'John went to the garden and Brian is green'.,It is probably not the case that 'John went to the garden and Brian is green'.,1,'John went to the garden and Brian is green'. There is a better than even chance that Mary dropped the milk. It is likely that John went to the hallway. It is probably the case that Lily is gray.,Chances are about even 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.48999999999999994,0.07521504300860173,train,about even,almost no chance,Chances are about even that 'John went to the hallway and Lily is gray'.,There is almost no chance that 'John went to the hallway and Lily is gray'.,1,'John went to the hallway and Lily is gray'. It is impossible that Fred is in the school. It is probable that Julius is yellow. Chances are about even that John went to the garden.,It is certain 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.0::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.49999999999999994,0.4518903780756151,train,about even,certain,Chances are about even that either 'Julius is yellow' or 'John went to the garden' but not both.,It is certain that either 'Julius is yellow' or 'John went to the garden' but not both.,0,Either 'Julius is yellow' or 'John went to the garden' but not both. We believe that Julius is a lion. There is almost no chance that John moved to the garden. It is almost certain that Mary dropped the apple.,It is almost certain that either 'John moved 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.75::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9319999999999999,0.4194838967793559,train,almost certain,probably not,It is almost certain that either 'John moved to the garden' or 'Mary dropped the apple' but not both.,It is probably not the case that either 'John moved to the garden' or 'Mary dropped the apple' but not both.,1,Either 'John moved to the garden' or 'Mary dropped the apple' but not both. We believe that Greg is a lion. It is certain that Julius is white. It is highly likely that Fred went to the garden.,It is probably not the case that either 'Greg is a lion' 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.75::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.25,0.45449089817963595,train,probably not,we believe,It is probably not the case that either 'Greg is a lion' or 'Julius is white' but not both.,We believe that either 'Greg is a lion' or 'Julius is white' but not both.,1,Either 'Greg is a lion' or 'Julius is white' but not both. It is probably not the case that John got the apple. Chances are about even that Brian is a lion. It is certain that Jason is tired.,It is certain that 'Jason is tired' 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.5::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.4394878975795159,train,certain,about even,It is certain that 'Jason is tired' or 'John got the apple' or both.,Chances are about even that 'Jason is tired' or 'John got the apple' or both.,1,'Jason is tired' or 'John got the apple' or both. It is unlikely that Sandra got the milk. It is unlikely that Brian is gray. It is probably the case that John discarded the apple.,There is little chance that 'John discarded the apple 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.21904380876175236,train,little chance,likely,There is little chance that 'John discarded the apple and Sandra got the milk'.,It is likely that 'John discarded the apple and Sandra got the milk'.,1,'John discarded the apple and Sandra got the milk'. It is probably not the case that Brian is green. It is unlikely that Julius is white. It is likely that Bernhard is a swan.,It is certain that 'Bernhard 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.25::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.40108021604320865,train,little chance,certain,There is little chance that 'Bernhard is a swan and Julius is white'.,It is certain that 'Bernhard is a swan and Julius is white'.,0,'Bernhard is a swan and Julius is white'. There is a very good chance that Lily is a swan. It is almost certain that Bernhard is a rhino. It is highly unlikely that John went to the kitchen.,We believe that either 'John went to the kitchen' 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.95::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.77,0.47429485897179435,train,we believe,almost no chance,We believe that either 'John went to the kitchen' or 'Lily is a swan' but not both.,There is almost no chance that either 'John went to the kitchen' or 'Lily is a swan' but not both.,1,Either 'John went to the kitchen' or 'Lily is a swan' but not both. It is impossible that John dropped the milk. There is almost no chance that Julius is white. It is improbable that Jessica is a mouse.,Chances are slight that 'Julius 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.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.11800000000000002,0.057411482296459294,train,chances are slight,certain,Chances are slight that 'Julius is white' or 'Jessica is a mouse' or both.,It is certain that 'Julius is white' or 'Jessica is a mouse' or both.,1,'Julius is white' or 'Jessica is a mouse' or both. It is probably the case that Daniel left the milk. It is likely that Greg is a lion. It is probable that John went to the garden.,Chances are about even that either 'Daniel left 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 0.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.7651530306061213,train,about even,certain,Chances are about even that either 'Daniel left the milk' or 'Greg is a lion' but not both.,It is certain that either 'Daniel left the milk' or 'Greg is a lion' but not both.,1,Either 'Daniel left the milk' or 'Greg is a lion' but not both. There is almost no chance that Fred went to the garden. We believe that Lily is green. It is improbable that Bernhard is a lion.,We believe that either 'Bernhard 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.02::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.7645529105821164,train,little chance,we believe,There is little chance that either 'Bernhard is a lion' or 'Fred went to the garden' but not both.,We believe that either 'Bernhard is a lion' or 'Fred went to the garden' but not both.,0,Either 'Bernhard is a lion' or 'Fred went to the garden' but not both. It is likely that Greg is a rhino. There is little chance that John grabbed the milk. It is unlikely that Emily is a cat.,It is almost certain that either 'Emily is a cat' 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.46969393878775756,train,probably not,almost certain,It is probably not the case that either 'Emily is a cat' or 'John grabbed the milk' but not both.,It is almost certain that either 'Emily is a cat' or 'John grabbed the milk' but not both.,0,Either 'Emily is a cat' or 'John grabbed the milk' but not both. We believe that Bernhard is a rhino. It is unlikely that Mary got the apple. There is little chance that Greg is white.,There is almost no chance that 'Greg is white 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.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.3780756151230246,train,almost no chance,likely,There is almost no chance that 'Greg is white and Mary got the apple'.,It is likely that 'Greg is white and Mary got the apple'.,1,'Greg is white and Mary got the apple'. It is likely that Lily is a rhino. It is likely that Mary went to the kitchen. It is probably the case that Jessica is a mouse.,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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.19823964792958593,train,about even,impossible,Chances are about even that either 'Mary went to the kitchen' or 'Lily is a rhino' but not both.,It is impossible 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 likely that Emily is a wolf. It is unlikely that Sandra got the football. It is impossible that Antoine is hungry.,It is unlikely that either 'Antoine is hungry' 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. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.2,0.6023204640928186,train,unlikely,almost certain,It is unlikely that either 'Antoine is hungry' or 'Sandra got the football' but not both.,It is almost certain that either 'Antoine is hungry' or 'Sandra got the football' but not both.,1,Either 'Antoine is hungry' or 'Sandra got the football' but not both. It is certain that Mary went to the bedroom. It is highly unlikely that Greg is yellow. It is almost certain that Brian is white.,It is almost certain that 'Greg 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 1.0::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9524999999999999,0.30586117223444687,train,almost certain,little chance,It is almost certain that 'Greg is yellow' or 'Brian is white' or both.,There is little chance that 'Greg is yellow' or 'Brian is white' or both.,1,'Greg is yellow' or 'Brian is white' or both. Chances are about even that Jason is tired. It is probably the case that Greg is a swan. It is probably the case that Lily is gray.,There is almost no chance that either 'Greg is a swan' 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.49999999999999994,0.478495699139828,train,about even,almost no chance,Chances are about even that either 'Greg is a swan' or 'Jason is tired' but not both.,There is almost no chance that either 'Greg is a swan' or 'Jason is tired' but not both.,0,Either 'Greg is a swan' or 'Jason is tired' but not both. It is highly unlikely that Mary left the football. We believe that Bernhard is white. There is little chance that John got the milk.,There is a very good chance that 'Bernhard is white' 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.05::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.32966593318663734,train,very good chance,highly unlikely,There is a very good chance that 'Bernhard is white' or 'John got the milk' or both.,It is highly unlikely that 'Bernhard is white' or 'John got the milk' or both.,1,'Bernhard is white' or 'John got the milk' or both. It is almost certain that John moved to the office. Chances are slight that Daniel grabbed the apple. It is likely that Fred went to the garden.,It is highly unlikely that 'Daniel grabbed the apple 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.95::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.35127025405081014,train,highly unlikely,about even,It is highly unlikely that 'Daniel grabbed the apple and Fred went to the garden'.,Chances are about even that 'Daniel grabbed the apple and Fred went to the garden'.,1,'Daniel grabbed the apple and Fred went to the garden'. Chances are about even that Bernhard is a lion. It is impossible that Julius is yellow. Chances are slight that Mary went to the bedroom.,It is almost certain that either 'Julius is yellow' 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. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.2986597319463893,train,about even,almost certain,Chances are about even that either 'Julius is yellow' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Julius is yellow' or 'Bernhard is a lion' but not both.,0,Either 'Julius is yellow' or 'Bernhard is a lion' but not both. It is unlikely that Bernhard is yellow. It is almost certain that Mary put down the apple. It is highly unlikely that John picked up the apple.,It is highly unlikely that 'John picked up the apple 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.2::factA. 0.95::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0475,0.5729145829165834,train,highly unlikely,likely,It is highly unlikely that 'John picked up the apple and Mary put down the apple'.,It is likely that 'John picked up the apple and Mary put down the apple'.,1,'John picked up the apple and Mary put down the apple'. It is probably not the case that Gertrude is a sheep. It is certain that Julius is gray. It is likely that Brian is yellow.,We believe that 'Gertrude 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.25::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.6703340668133627,train,we believe,we doubt,We believe that 'Gertrude is a sheep' or 'Brian is yellow' or both.,We doubt that 'Gertrude is a sheep' or 'Brian is yellow' or both.,1,'Gertrude is a sheep' or 'Brian is yellow' or both. There is a very good chance that Julius is yellow. We believe that Bill moved to the office. There is a better than even chance that Lily is a frog.,Chances are about even that either 'Lily 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.8::factA. 0.75::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.44,0.14202840568113623,train,about even,highly unlikely,Chances are about even that either 'Lily is a frog' or 'Julius is yellow' but not both.,It is highly unlikely that either 'Lily is a frog' or 'Julius is yellow' but not both.,1,Either 'Lily is a frog' or 'Julius is yellow' but not both. It is probable that Sandra dropped the milk. There is little chance that John put down the apple. It is likely that Brian is yellow.,It is probably not the case that either 'John 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 0.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.1260252050410082,train,probably,probably not,It is probably the case that either 'John put down the apple' or 'Sandra dropped the milk' but not both.,It is probably not the case that either 'John put down the apple' or 'Sandra dropped the milk' but not both.,0,Either 'John put down the apple' or 'Sandra dropped the milk' but not both. It is improbable that John moved to the office. It is probably not the case that Bernhard is a swan. Chances are about even that Yann is hungry.,It is highly unlikely that 'John moved to the office 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.25::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.1760352070414083,train,highly unlikely,better than even,It is highly unlikely that 'John moved to the office and Yann is hungry'.,There is a better than even chance that 'John moved to the office and Yann is hungry'.,1,'John moved to the office and Yann is hungry'. There is little chance that Bernhard is gray. We believe that Julius is a frog. There is almost no chance that Gertrude is a cat.,There is little chance that either 'Bernhard is gray' 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.75::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.3742748549709942,train,probably,little chance,It is probably the case that either 'Bernhard is gray' or 'Julius is a frog' but not both.,There is little chance that either 'Bernhard is gray' or 'Julius is a frog' but not both.,0,Either 'Bernhard is gray' or 'Julius is a frog' but not both. We believe that Bernhard is a swan. It is probably the case that Julius is a frog. We believe that Sandra got the milk.,There is almost no chance that either 'Sandra got the milk' 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.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.5639127825565113,train,about even,almost no chance,Chances are about even that either 'Sandra got the milk' or 'Julius is a frog' but not both.,There is almost no chance that either 'Sandra got the milk' or 'Julius is a frog' but not both.,0,Either 'Sandra got the milk' or 'Julius is a frog' but not both. It is almost certain that Mary went to the office. We believe that John took the football. We doubt that Bernhard is a frog.,It is likely that either 'John 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.95::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.48269653930786155,train,likely,almost no chance,It is likely that either 'John took the football' or 'Bernhard is a frog' but not both.,There is almost no chance that either 'John took the football' or 'Bernhard is a frog' but not both.,1,Either 'John took the football' or 'Bernhard is a frog' but not both. It is probably the case that Winona is a mouse. It is almost certain that Brian is white. Chances are about even that Greg is a swan.,It is almost certain 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.95::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.46489297859571915,train,about even,almost certain,Chances are about even that either 'Brian is white' or 'Greg is a swan' but not both.,It is almost certain 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 improbable that Mary is in the hallway. It is almost certain that Sandra left the milk. It is probably the case that Brian is green.,It is certain that 'Sandra left the milk' or 'Brian is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.4642928585717143,train,certain,about even,It is certain that 'Sandra left the milk' or 'Brian is green' or both.,Chances are about even that 'Sandra left the milk' or 'Brian is green' or both.,1,'Sandra left the milk' or 'Brian is green' or both. It is almost certain that Gertrude is a sheep. There is almost no chance that Sandra got the football. We believe that John grabbed the milk.,It is probable that 'Gertrude is a sheep and John 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.02::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.7033406681336267,train,probable,highly unlikely,It is probable that 'Gertrude is a sheep and John grabbed the milk'.,It is highly unlikely that 'Gertrude is a sheep and John grabbed the milk'.,1,'Gertrude is a sheep and John grabbed the milk'. We doubt that Daniel put down the milk. It is improbable that Bernhard is green. It is improbable that John went to the kitchen.,It is probably not the case that either 'Daniel put down the milk' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.6755351070214043,train,probably not,highly likely,It is probably not the case that either 'Daniel put down the milk' or 'John went to the kitchen' but not both.,It is highly likely that either 'Daniel put down the milk' or 'John went to the kitchen' but not both.,1,Either 'Daniel put down the milk' or 'John went to the kitchen' but not both. There is a better than even chance that John grabbed the apple. It is highly unlikely that Bernhard is green. It is improbable that Jessica is a cat.,Chances are slight that 'John grabbed 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 0.6::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.64,0.74374874974995,train,better than even,chances are slight,There is a better than even chance that 'John grabbed the apple' or 'Jessica is a cat' or both.,Chances are slight that 'John grabbed the apple' or 'Jessica is a cat' or both.,0,'John grabbed the apple' or 'Jessica is a cat' or both. There is almost no chance that Lily is white. It is improbable that John went to the office. It is unlikely that Julius is a swan.,It is probably not the case that 'John went 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.02::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.2446489297859572,train,probably not,likely,It is probably not the case that 'John went to the office' or 'Julius is a swan' or both.,It is likely that 'John went to the office' or 'Julius is a swan' or both.,1,'John went to the office' or 'Julius is a swan' or both. It is unlikely that Julius is a rhino. There is a very good chance that Bernhard is green. It is probably not the case that Mary put down the apple.,It is probably not the case that either 'Bernhard is green' 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.2::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.03520704140828165,train,probable,probably not,It is probable that either 'Bernhard is green' or 'Mary put down the apple' but not both.,It is probably not the case that either 'Bernhard is green' or 'Mary put down the apple' but not both.,0,Either 'Bernhard is green' or 'Mary put down the apple' but not both. There is a very good chance that Bernhard is white. It is improbable that John took the apple. It is highly unlikely that Greg is a swan.,It is highly unlikely that 'Greg is a swan 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.8::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.04000000000000001,0.07841568313662732,train,highly unlikely,about even,It is highly unlikely that 'Greg is a swan and Bernhard is white'.,Chances are about even that 'Greg is a swan and Bernhard is white'.,1,'Greg is a swan and Bernhard is white'. It is certain that Emily is a sheep. We believe that Brian is a swan. There is little chance that Julius is a frog.,We doubt 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 1.0::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.9,0.6189237847569514,train,highly likely,we doubt,It is highly likely that either 'Julius is a frog' or 'Emily is a sheep' but not both.,We doubt 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. It is almost certain that John got the milk. It is almost certain that Lily is yellow. It is impossible that Winona is a mouse.,It is improbable that 'Winona 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.95::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.95,0.3586717343468694,train,almost certain,improbable,It is almost certain that 'Winona is a mouse' or 'John got the milk' or both.,It is improbable that 'Winona is a mouse' or 'John got the milk' or both.,0,'Winona is a mouse' or 'John got the milk' or both. Chances are slight that Sandra got the football. Chances are about even that Bernhard is a swan. It is probably the case that Brian is green.,There is almost no chance that either 'Sandra got 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.1::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.41068213642728546,train,probable,almost no chance,It is probable that either 'Sandra got the football' or 'Brian is green' but not both.,There is almost no chance that either 'Sandra got the football' or 'Brian is green' but not both.,0,Either 'Sandra got the football' or 'Brian is green' but not both. It is improbable that Sandra is in the kitchen. It is impossible that Fred left the football. It is almost certain that Brian is green.,It is probably not the case that 'Brian is green' 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.0::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.95,0.21344268853770754,train,almost certain,probably not,It is almost certain that 'Brian is green' or 'Fred left the football' or both.,It is probably not the case that 'Brian is green' or 'Fred left the football' or both.,0,'Brian is green' or 'Fred left the football' or both. There is a better than even chance that Greg is a rhino. There is a very good chance that Bernhard is white. There is a better than even chance that Winona is a mouse.,There is almost no chance that 'Greg 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.6::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8400000000000001,0.4158831766353271,train,very good chance,almost no chance,There is a very good chance that 'Greg is a rhino' or 'Winona is a mouse' or both.,There is almost no chance that 'Greg is a rhino' or 'Winona is a mouse' or both.,0,'Greg is a rhino' or 'Winona is a mouse' or both. It is highly likely that John dropped the apple. There is a better than even chance that Mary went to the hallway. It is almost certain that Bernhard is a lion.,It is almost certain that 'John dropped 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.9::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5399999999999999,0.010802160432086417,train,about even,almost certain,Chances are about even that 'John dropped the apple and Mary went to the hallway'.,It is almost certain that 'John dropped the apple and Mary went to the hallway'.,0,'John dropped the apple and Mary went to the hallway'. It is unlikely that John went to the kitchen. Chances are slight that Mary is in the school. Chances are slight that Lily is a swan.,We believe that 'John went to the kitchen and Mary 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.038207641528305664,train,almost no chance,we believe,There is almost no chance that 'John went to the kitchen and Mary is in the school'.,We believe that 'John went to the kitchen and Mary is in the school'.,0,'John went to the kitchen and Mary is in the school'. There is almost no chance that Bernhard is a rhino. There is a better than even chance that John went to the hallway. There is a very good chance that Julius is a swan.,There is a very good chance that either 'Julius 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.02::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.788,0.10982196439287857,train,very good chance,unlikely,There is a very good chance that either 'Julius is a swan' or 'Bernhard is a rhino' but not both.,It is unlikely that either 'Julius is a swan' or 'Bernhard is a rhino' but not both.,1,Either 'Julius is a swan' or 'Bernhard is a rhino' but not both. There is a very good chance that Jessica is a wolf. We believe that Greg is white. We doubt that Lily is yellow.,There is a very good chance that 'Lily is yellow' or 'Jessica 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.75::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8400000000000001,0.22624524904980997,train,very good chance,almost no chance,There is a very good chance that 'Lily is yellow' or 'Jessica is a wolf' or both.,There is almost no chance that 'Lily is yellow' or 'Jessica is a wolf' or both.,1,'Lily is yellow' or 'Jessica is a wolf' or both. There is a better than even chance that Bernhard is a swan. It is almost certain that Sandra dropped the milk. It is almost certain that Gertrude is a mouse.,Chances are slight that 'Bernhard is a swan 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.6::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.57,0.2600520104020804,train,better than even,chances are slight,There is a better than even chance that 'Bernhard is a swan and Sandra dropped the milk'.,Chances are slight that 'Bernhard is a swan and Sandra dropped the milk'.,0,'Bernhard is a swan and Sandra dropped the milk'. It is highly likely that Bernhard is white. There is little chance that Bill went to the kitchen. It is probably the case that Sandra dropped the milk.,It is almost certain that 'Bernhard 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.7791558311662332,train,almost certain,chances are slight,It is almost certain that 'Bernhard is white' or 'Sandra dropped the milk' or both.,Chances are slight that 'Bernhard is white' or 'Sandra dropped the milk' or both.,1,'Bernhard is white' or 'Sandra dropped the milk' or both. There is a better than even chance that Emily is a sheep. It is certain that Greg is a swan. There is little chance that Julius is yellow.,It is certain that either 'Emily is a sheep' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.14402880576115223,train,about even,certain,Chances are about even that either 'Emily is a sheep' or 'Greg is a swan' but not both.,It is certain that either 'Emily is a sheep' or 'Greg is a swan' but not both.,0,Either 'Emily is a sheep' or 'Greg is a swan' but not both. It is likely that Greg is a rhino. It is almost certain that John went to the office. It is improbable that Brian is a frog.,It is probably not the case that either 'Greg 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.7::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.7721544308861772,train,probably not,highly likely,It is probably not the case that either 'Greg is a rhino' or 'John went to the office' but not both.,It is highly likely that either 'Greg is a rhino' or 'John went to the office' but not both.,1,Either 'Greg is a rhino' or 'John went to the office' but not both. It is highly unlikely that Bernhard is a rhino. It is highly likely that Jeff went to the garden. Chances are slight that John got the apple.,There is a very good chance that either 'Jeff went to the garden' 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.05::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.5097019403880776,train,very good chance,little chance,There is a very good chance that either 'Jeff went to the garden' or 'John got the apple' but not both.,There is little chance that either 'Jeff went to the garden' or 'John got the apple' but not both.,1,Either 'Jeff went to the garden' or 'John got the apple' but not both. It is probable that Greg is yellow. Chances are slight that Gertrude is a wolf. We doubt that John dropped the milk.,Chances are slight that either 'Gertrude is a wolf' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.23244648929785958,train,probable,chances are slight,It is probable that either 'Gertrude is a wolf' or 'Greg is yellow' but not both.,Chances are slight that either 'Gertrude is a wolf' or 'Greg is yellow' but not both.,0,Either 'Gertrude is a wolf' or 'Greg is yellow' but not both. It is likely that Daniel dropped the milk. Chances are slight that Mary went to the office. It is unlikely that Sandra took the football.,There is almost no chance that 'Mary went to the office 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.5143028605721144,train,almost no chance,very good chance,There is almost no chance that 'Mary went to the office and Sandra took the football'.,There is a very good chance that 'Mary went to the office and Sandra took the football'.,1,'Mary went to the office and Sandra took the football'. There is a very good chance that Brian is a swan. There is almost no chance that Mary went to the bedroom. Chances are about even that Sandra took the football.,Chances are about even that 'Sandra took the football' 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.02::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.51,0.22224444888977796,train,about even,almost no chance,Chances are about even that 'Sandra took the football' or 'Mary went to the bedroom' or both.,There is almost no chance that 'Sandra took the football' or 'Mary went to the bedroom' or both.,1,'Sandra took the football' or 'Mary went to the bedroom' or both. There is little chance that Fred dropped the milk. We believe that Brian is a frog. It is highly unlikely that John went to the garden.,It is highly unlikely that 'Brian is a frog 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.75::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.03750000000000001,0.7101420284056812,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a frog and John went to the garden'.,There is a very good chance that 'Brian is a frog and John went to the garden'.,1,'Brian is a frog and John went to the garden'. There is a better than even chance that Fred dropped the milk. We doubt that Mary went to the office. Chances are slight that John discarded the apple.,It is improbable that 'Fred dropped 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.6::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.68,0.389877975595119,train,probable,improbable,It is probable that 'Fred dropped the milk' or 'Mary went to the office' or both.,It is improbable that 'Fred dropped the milk' or 'Mary went to the office' or both.,0,'Fred dropped the milk' or 'Mary went to the office' or both. There is a better than even chance that Bernhard is yellow. It is unlikely that Greg is a swan. It is probably not the case that Lily is gray.,Chances are about even that 'Lily is gray' 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.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.4,0.37727545509101823,train,about even,certain,Chances are about even that 'Lily is gray' or 'Greg is a swan' or both.,It is certain that 'Lily is gray' or 'Greg is a swan' or both.,1,'Lily is gray' or 'Greg is a swan' or both. It is unlikely that Bernhard is a rhino. It is highly likely that Brian is yellow. It is likely that Julius is a frog.,There is a better than even 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.2::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.22404480896179235,train,better than even,improbable,There is a better than even chance that either 'Julius is a frog' or 'Bernhard is a rhino' but not both.,It is improbable 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 highly unlikely that Lily is a lion. There is a very good chance that Brian is green. Chances are slight that John left the football.,There is little chance that 'John 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.05::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.4388877775555111,train,very good chance,little chance,There is a very good chance that 'John left the football' or 'Brian is green' or both.,There is little chance that 'John left the football' or 'Brian is green' or both.,0,'John left the football' or 'Brian is green' or both. It is likely that John got the apple. It is highly unlikely that Julius is a rhino. We doubt that Yann is hungry.,There is little chance that 'John got the apple 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.05::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.6415283056611323,train,little chance,highly likely,There is little chance that 'John got the apple and Yann is hungry'.,It is highly likely that 'John got the apple and Yann is hungry'.,1,'John got the apple and Yann is hungry'. It is probable that John put down the apple. It is unlikely that Lily is yellow. It is probable that Greg is gray.,There is a better than even chance that either 'Lily 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.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.3338667733546709,train,better than even,chances are slight,There is a better than even chance that either 'Lily is yellow' or 'John put down the apple' but not both.,Chances are slight that either 'Lily is yellow' or 'John put down the apple' but not both.,1,Either 'Lily is yellow' or 'John put down the apple' but not both. There is almost no chance that Bernhard is a rhino. We doubt that John discarded the apple. Chances are slight that Sumit is thirsty.,It is almost certain that either 'Sumit is thirsty' 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.4776955391078216,train,chances are slight,almost certain,Chances are slight that either 'Sumit is thirsty' or 'Bernhard is a rhino' but not both.,It is almost certain that either 'Sumit is thirsty' or 'Bernhard is a rhino' but not both.,0,Either 'Sumit is thirsty' or 'Bernhard is a rhino' but not both. Chances are slight that Mary left the football. It is highly likely that Julius is white. It is unlikely that John moved to the garden.,It is highly likely that 'Mary left the football' 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.9::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.16103220644128827,train,highly likely,we doubt,It is highly likely that 'Mary left the football' or 'Julius is white' or both.,We doubt that 'Mary left the football' or 'Julius is white' or both.,1,'Mary left the football' or 'Julius is white' or both. Chances are slight that John dropped the apple. It is certain that Brian is a lion. There is a better than even chance that Bernhard is a frog.,It is impossible that 'John dropped 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.1::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.64,0.71874374874975,train,better than even,impossible,There is a better than even chance that 'John dropped the apple' or 'Bernhard is a frog' or both.,It is impossible that 'John dropped the apple' or 'Bernhard is a frog' or both.,0,'John dropped the apple' or 'Bernhard is a frog' or both. It is highly unlikely that Mary dropped the milk. There is a very good chance that Brian is a rhino. There is a very good chance that Bernhard is a swan.,There is little chance that 'Mary dropped 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.8::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.81,0.7865573114622925,train,very good chance,little chance,There is a very good chance that 'Mary dropped the milk' or 'Bernhard is a swan' or both.,There is little chance that 'Mary dropped the milk' or 'Bernhard is a swan' or both.,0,'Mary dropped the milk' or 'Bernhard is a swan' or both. It is highly unlikely that John grabbed the apple. There is a better than even chance that Julius is a rhino. We doubt that Mary moved to the garden.,It is almost certain that 'John grabbed the apple' 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.05::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.6531306261252251,train,probably not,almost certain,It is probably not the case that 'John grabbed the apple' or 'Mary moved to the garden' or both.,It is almost certain that 'John grabbed the apple' or 'Mary moved to the garden' or both.,0,'John grabbed the apple' or 'Mary moved to the garden' or both. There is little chance that Brian is a lion. It is probably the case that Mary left the football. There is a very good chance that Julius is a frog.,There is a very good chance that 'Julius 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.1::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.21224244848969795,train,very good chance,unlikely,There is a very good chance that 'Julius is a frog' or 'Brian is a lion' or both.,It is unlikely that 'Julius is a frog' or 'Brian is a lion' or both.,1,'Julius is a frog' or 'Brian is a lion' or both. Chances are about even that Bernhard is white. It is improbable that John dropped the milk. It is improbable that Brian is white.,It is unlikely that 'John dropped 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.5::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.7813562712542509,train,unlikely,highly likely,It is unlikely that 'John dropped the milk' or 'Brian is white' or both.,It is highly likely that 'John dropped the milk' or 'Brian is white' or both.,1,'John dropped the milk' or 'Brian is white' or both. It is highly unlikely that Greg is a swan. It is certain that Bernhard is yellow. Chances are about even that John moved to the office.,It is certain 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.05::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.5237047409481896,train,about even,certain,Chances are about even that either 'John moved to the office' or 'Greg is a swan' but not both.,It is certain 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 certain that Lily is gray. It is almost certain that Mary moved to the office. It is certain that Greg is yellow.,Chances are about even that 'Lily is gray' or 'Greg is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.7681536307261452,train,certain,about even,It is certain that 'Lily is gray' or 'Greg is yellow' or both.,Chances are about even that 'Lily is gray' or 'Greg is yellow' or both.,0,'Lily is gray' or 'Greg is yellow' or both. It is improbable that Fred left the football. It is impossible that Mary went to the office. We doubt that John moved to the garden.,It is probable that either 'Fred left the football' 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.0::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.10000000000000002,0.7021404280856172,train,little chance,probable,There is little chance that either 'Fred left the football' or 'Mary went to the office' but not both.,It is probable that either 'Fred left the football' or 'Mary went to the office' but not both.,0,Either 'Fred left the football' or 'Mary went to the office' but not both. It is improbable that Brian is a rhino. Chances are about even that Lily is a swan. There is little chance that Bernhard is yellow.,Chances are about even that either 'Lily 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.1::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.5057011402280456,train,about even,certain,Chances are about even that either 'Lily is a swan' or 'Bernhard is yellow' but not both.,It is certain that either 'Lily is a swan' or 'Bernhard is yellow' but not both.,1,Either 'Lily is a swan' or 'Bernhard is yellow' but not both. It is probably not the case that Mary went to the hallway. It is highly unlikely that John moved to the office. It is unlikely that Brian is a frog.,We believe that 'Brian is a frog' or 'John moved to the office' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.24000000000000005,0.46829365873174633,train,probably not,we believe,It is probably not the case that 'Brian is a frog' or 'John moved to the office' or both.,We believe that 'Brian is a frog' or 'John moved to the office' or both.,0,'Brian is a frog' or 'John moved to the office' or both. It is almost certain that Mary put down the apple. It is almost certain that Brian is yellow. It is probable that John took the football.,It is certain that 'Mary put down the apple' 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.95::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9975,0.7453490698139628,train,certain,chances are slight,It is certain that 'Mary put down the apple' or 'Brian is yellow' or both.,Chances are slight that 'Mary put down the apple' or 'Brian is yellow' or both.,1,'Mary put down the apple' or 'Brian is yellow' or both. We doubt that John went to the hallway. It is improbable that Greg is white. It is almost certain that Bernhard is a swan.,There is almost no chance that 'Greg is white 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.1::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.3224644928985797,train,almost no chance,highly likely,There is almost no chance that 'Greg is white and John went to the hallway'.,It is highly likely that 'Greg is white and John went to the hallway'.,1,'Greg is white and John went to the hallway'. It is likely that Greg is a swan. There is a very good chance that John picked up the milk. Chances are about even that Brian is white.,Chances are about even that either 'John picked up 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.8::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.07181436287257452,train,about even,impossible,Chances are about even that either 'John picked up the milk' or 'Greg is a swan' but not both.,It is impossible that either 'John picked up the milk' or 'Greg is a swan' but not both.,1,Either 'John picked up the milk' or 'Greg is a swan' but not both. There is a better than even chance that Sandra got the football. It is almost certain that Mary went to the bedroom. There is a better than even chance that Greg is gray.,Chances are about even that either 'Mary went to the bedroom' 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.95::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.41000000000000003,0.615123024604921,train,about even,almost no chance,Chances are about even that either 'Mary went to the bedroom' or 'Greg is gray' but not both.,There is almost no chance that either 'Mary went to the bedroom' or 'Greg is gray' but not both.,1,Either 'Mary went to the bedroom' or 'Greg is gray' but not both. It is probable that Greg is yellow. It is improbable that Brian is a frog. It is probably the case that Bernhard is green.,It is probably the case 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.4174834966993399,train,probably,improbable,It is probably the case that either 'Greg is yellow' or 'Brian is a frog' but not both.,It is improbable that either 'Greg is yellow' or 'Brian is a frog' but not both.,1,Either 'Greg is yellow' or 'Brian is a frog' but not both. It is probably not the case that Gertrude is a mouse. There is a very good chance that Julius is a frog. It is likely that Greg is gray.,There is a very good chance that 'Julius is a frog 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.25::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.11042208441688338,train,we doubt,very good chance,We doubt that 'Julius is a frog and Gertrude is a mouse'.,There is a very good chance that 'Julius is a frog and Gertrude is a mouse'.,0,'Julius is a frog and Gertrude is a mouse'. There is almost no chance that Brian is a frog. It is impossible that Greg is yellow. We believe that Bill went to the garden.,There is almost no chance that 'Bill 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.02::factA. 0.0::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014999999999999998,0.6017203440688138,train,almost no chance,we believe,There is almost no chance that 'Bill went to the garden and Brian is a frog'.,We believe that 'Bill went to the garden and Brian is a frog'.,1,'Bill went to the garden and Brian is a frog'. It is improbable that Julius is white. It is certain that Mary went to the kitchen. It is probably not the case that Brian is white.,It is impossible that 'Julius 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.1::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.6829365873174635,train,certain,impossible,It is certain that 'Julius is white' or 'Mary went to the kitchen' or both.,It is impossible that 'Julius is white' or 'Mary went to the kitchen' or both.,0,'Julius is white' or 'Mary went to the kitchen' or both. We doubt that John took the apple. It is almost certain that Emily is a sheep. Chances are about even that Mary left the milk.,Chances are about even that 'Mary left the milk 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.2::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.475,0.1880376075215043,train,about even,highly unlikely,Chances are about even that 'Mary left the milk and Emily is a sheep'.,It is highly unlikely that 'Mary left the milk and Emily is a sheep'.,1,'Mary left the milk and Emily is a sheep'. There is a better than even chance that Greg is a frog. It is certain that Julius is a frog. It is improbable that Lily is a swan.,There is little chance 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.6::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.64,0.506501300260052,train,better than even,little chance,There is a better than even chance that 'Lily is a swan' or 'Greg is a frog' or both.,There is little chance that 'Lily is a swan' or 'Greg is a frog' or both.,0,'Lily is a swan' or 'Greg is a frog' or both. Chances are about even that John dropped the apple. It is improbable that Brian is a rhino. It is improbable that Bernhard is a frog.,There is almost no chance that 'Bernhard 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.5::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.010000000000000004,0.32206441288257653,train,almost no chance,about even,There is almost no chance that 'Bernhard is a frog and Brian is a rhino'.,Chances are about even that 'Bernhard is a frog and Brian is a rhino'.,1,'Bernhard is a frog and Brian is a rhino'. It is improbable that Jessica is a cat. It is likely that Mary is in the hallway. It is highly unlikely that Bernhard is a swan.,It is highly unlikely that 'Mary is in the hallway 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.7::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.4328865773154631,train,highly unlikely,almost certain,It is highly unlikely that 'Mary is in the hallway and Jessica is a cat'.,It is almost certain that 'Mary is in the hallway and Jessica is a cat'.,1,'Mary is in the hallway and Jessica is a cat'. We believe that Greg is gray. It is likely that John moved to the office. We believe that Fred went to the garden.,Chances are about even that either 'John 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.75::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.4,0.22184436887377476,train,about even,almost no chance,Chances are about even that either 'John moved to the office' or 'Fred went to the garden' but not both.,There is almost no chance that either 'John moved to the office' or 'Fred went to the garden' but not both.,1,Either 'John moved to the office' or 'Fred went to the garden' but not both. We believe that John left the apple. There is almost no chance that Lily is a swan. It is impossible that Gertrude is a cat.,It is impossible that 'Gertrude is a cat' 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.75::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.75,0.6977395479095819,train,we believe,impossible,We believe that 'Gertrude is a cat' or 'John left the apple' or both.,It is impossible that 'Gertrude is a cat' or 'John left the apple' or both.,0,'Gertrude is a cat' or 'John left the apple' or both. It is unlikely that Brian is yellow. It is improbable that Lily is a swan. There is little chance that Emily is a wolf.,It is probable that 'Lily is a swan 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.6045209041808361,train,almost no chance,probable,There is almost no chance that 'Lily is a swan and Emily is a wolf'.,It is probable that 'Lily is a swan and Emily is a wolf'.,0,'Lily is a swan and Emily is a wolf'. We believe that Greg is a rhino. It is impossible that Brian is gray. We believe that Lily is a swan.,We doubt that 'Greg is a rhino' 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.75::factA. 0.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.75,0.5407081416283257,train,we believe,we doubt,We believe that 'Greg is a rhino' or 'Brian is gray' or both.,We doubt that 'Greg is a rhino' or 'Brian is gray' or both.,0,'Greg is a rhino' or 'Brian is gray' or both. There is almost no chance that John grabbed the apple. It is highly unlikely that Mary went to the bedroom. It is improbable that Gertrude is a cat.,It is impossible that 'Gertrude 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.02::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0020000000000000005,0.19903980796159232,train,impossible,very good chance,It is impossible that 'Gertrude is a cat and John grabbed the apple'.,There is a very good chance that 'Gertrude is a cat and John grabbed the apple'.,1,'Gertrude is a cat and John grabbed the apple'. We doubt that Mary went to the garden. It is probably not the case that John discarded the apple. It is probably not the case that Lily is a lion.,Chances are about even that 'Mary 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.2::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.4,0.6149229845969194,train,about even,impossible,Chances are about even that 'Mary went to the garden' or 'Lily is a lion' or both.,It is impossible that 'Mary went to the garden' or 'Lily is a lion' or both.,1,'Mary went to the garden' or 'Lily is a lion' or both. It is almost certain that Lily is a swan. Chances are slight that Jessica is a mouse. We believe that Mary grabbed the milk.,It is probably the case that either 'Mary grabbed the milk' or 'Jessica is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.5939187837567513,train,probably,almost no chance,It is probably the case that either 'Mary grabbed the milk' or 'Jessica is a mouse' but not both.,There is almost no chance that either 'Mary grabbed the milk' or 'Jessica is a mouse' but not both.,1,Either 'Mary grabbed the milk' or 'Jessica is a mouse' but not both. We doubt that John went to the garden. It is almost certain that Jessica is a cat. There is a better than even chance that Mary dropped the milk.,We doubt that 'John went to the garden 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.95::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.19,0.6517303460692139,train,we doubt,we believe,We doubt that 'John went to the garden and Jessica is a cat'.,We believe that 'John went to the garden and Jessica is a cat'.,1,'John went to the garden and Jessica is a cat'. It is almost certain that Bernhard is a frog. It is probably the case that Lily is a rhino. It is likely that Fred went to the garden.,Chances are about even 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.95::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.5943188637727546,train,about even,impossible,Chances are about even that either 'Fred went to the garden' or 'Lily is a rhino' but not both.,It is impossible 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 almost certain that Mary got the football. It is likely that John moved to the office. There is little chance that Jason is bored.,It is highly unlikely that 'John 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.95::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.23164632926585318,train,highly unlikely,better than even,It is highly unlikely that 'John moved to the office and Jason is bored'.,There is a better than even chance that 'John moved to the office and Jason is bored'.,1,'John moved to the office and Jason is bored'. It is likely that John picked up the milk. It is likely that Greg is a frog. It is improbable that Bernhard is a rhino.,It is likely that 'Bernhard is a rhino 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.47269453890778157,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is a rhino and John picked up the milk'.,It is likely that 'Bernhard is a rhino and John picked up the milk'.,0,'Bernhard is a rhino and John picked up the milk'. There is a better than even chance that Brian is yellow. Chances are about even that Jason is tired. It is highly likely that Lily is a swan.,Chances are about even that 'Lily 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 0.6::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5399999999999999,0.5575115023004601,train,about even,certain,Chances are about even that 'Lily is a swan and Brian is yellow'.,It is certain that 'Lily is a swan and Brian is yellow'.,1,'Lily is a swan and Brian is yellow'. It is improbable that Daniel got the milk. We believe that Gertrude is a sheep. It is likely that Brian is a rhino.,It is almost certain that 'Gertrude is a sheep' 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.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.925,0.11262252450490098,train,almost certain,probably not,It is almost certain that 'Gertrude is a sheep' or 'Brian is a rhino' or both.,It is probably not the case that 'Gertrude is a sheep' or 'Brian is a rhino' or both.,1,'Gertrude is a sheep' or 'Brian is a rhino' or both. Chances are slight that Mary left the milk. It is highly unlikely that Jeff discarded the milk. We believe that Greg is a lion.,It is likely that either 'Mary left 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 0.1::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.4910982196439288,train,likely,impossible,It is likely that either 'Mary left the milk' or 'Greg is a lion' but not both.,It is impossible that either 'Mary left the milk' or 'Greg is a lion' but not both.,1,Either 'Mary left the milk' or 'Greg is a lion' but not both. It is impossible that Mary dropped the milk. It is likely that Lily is yellow. It is probably the case that John went to the bedroom.,It is highly unlikely that 'John went to the bedroom 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.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.1866373274654931,train,about even,highly unlikely,Chances are about even that 'John went to the bedroom and Lily is yellow'.,It is highly unlikely that 'John went to the bedroom and Lily is yellow'.,0,'John went to the bedroom and Lily is yellow'. It is impossible that Bernhard is gray. It is highly unlikely that Mary took the football. It is unlikely that Greg is a swan.,It is probable that either 'Mary took 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.0::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.23624724944988998,train,probably not,probable,It is probably not the case that either 'Mary took the football' or 'Greg is a swan' but not both.,It is probable that either 'Mary took the football' or 'Greg is a swan' but not both.,0,Either 'Mary took the football' or 'Greg is a swan' but not both. It is certain that Bernhard is white. It is unlikely that Mary went to the bedroom. It is probably not the case that Jeff dropped the apple.,It is certain that 'Bernhard is white' 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.2::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.39467893578715746,train,certain,improbable,It is certain that 'Bernhard is white' or 'Jeff dropped the apple' or both.,It is improbable that 'Bernhard is white' or 'Jeff dropped the apple' or both.,1,'Bernhard is white' or 'Jeff dropped the apple' or both. Chances are slight that Julius is white. It is improbable that John got the apple. We believe that Greg is gray.,It is almost certain that either 'John got 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.1::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.3134626925385077,train,unlikely,almost certain,It is unlikely that either 'John got the apple' or 'Julius is white' but not both.,It is almost certain that either 'John got the apple' or 'Julius is white' but not both.,0,Either 'John got the apple' or 'Julius is white' but not both. It is impossible that Mary went to the hallway. It is unlikely that Sandra took the football. It is unlikely that Julius is white.,It is impossible that 'Mary 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.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.7571514302860572,train,impossible,we believe,It is impossible that 'Mary went to the hallway and Julius is white'.,We believe that 'Mary went to the hallway and Julius is white'.,1,'Mary went to the hallway and Julius is white'. There is a better than even chance that Bernhard is a lion. It is probably the case that John left the apple. It is almost certain that Julius is green.,Chances are about even that either 'Bernhard 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.6::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.6541308261652331,train,about even,almost certain,Chances are about even that either 'Bernhard is a lion' or 'John left the apple' but not both.,It is almost certain that either 'Bernhard is a lion' or 'John left the apple' but not both.,1,Either 'Bernhard is a lion' or 'John left the apple' but not both. It is impossible that Greg is a swan. There is a better than even chance that Sandra left the milk. We believe that Brian is a frog.,It is impossible that 'Greg is a swan 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.6::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.40968193638727746,train,impossible,certain,It is impossible that 'Greg is a swan and Brian is a frog'.,It is certain that 'Greg is a swan and Brian is a frog'.,1,'Greg is a swan and Brian is a frog'. There is a very good chance that Mary went to the garden. It is certain that John discarded the apple. It is likely that Julius is a swan.,It is probably not the case that 'Julius 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.8::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.23064612922584518,train,certain,probably not,It is certain that 'Julius is a swan' or 'John discarded the apple' or both.,It is probably not the case that 'Julius is a swan' or 'John discarded the apple' or both.,0,'Julius is a swan' or 'John discarded the apple' or both. It is likely that Greg is a swan. We believe that Mary went to the office. There is a better than even chance that Bernhard is yellow.,It is highly unlikely that 'Mary went to the office 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.75::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45,0.5571114222844569,train,about even,highly unlikely,Chances are about even that 'Mary went to the office and Bernhard is yellow'.,It is highly unlikely that 'Mary went to the office and Bernhard is yellow'.,0,'Mary went to the office and Bernhard is yellow'. It is certain that Greg is a rhino. It is highly likely that Bernhard is yellow. There is a very good chance that Lily is white.,It is impossible 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 1.0::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.04600920184036807,train,certain,impossible,It is certain that 'Greg is a rhino' or 'Bernhard is yellow' or both.,It is impossible that 'Greg is a rhino' or 'Bernhard is yellow' or both.,0,'Greg is a rhino' or 'Bernhard is yellow' or both. It is almost certain that Greg is a rhino. It is probable that Mary put down the milk. We believe that John went to the garden.,Chances are about even that either 'John went to the garden' 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.95::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.3796759351870374,train,about even,almost certain,Chances are about even that either 'John went to the garden' or 'Mary put down the milk' but not both.,It is almost certain that either 'John went to the garden' or 'Mary put down the milk' but not both.,1,Either 'John went to the garden' or 'Mary put down the milk' but not both. There is a better than even chance that Bill went to the garden. There is almost no chance that Julius is a swan. It is improbable that Bernhard is yellow.,It is impossible that 'Bernhard is yellow' 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.02::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.64,0.6307261452290458,train,better than even,impossible,There is a better than even chance that 'Bernhard is yellow' or 'Bill went to the garden' or both.,It is impossible that 'Bernhard is yellow' or 'Bill went to the garden' or both.,0,'Bernhard is yellow' or 'Bill went to the garden' or both. It is probably not the case that Lily is green. We believe that Mary went to the office. It is highly likely that Sandra left the milk.,It is certain that 'Sandra left the milk 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.75::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.225,0.13762752550510102,train,probably not,certain,It is probably not the case that 'Sandra left the milk and Lily is green'.,It is certain that 'Sandra left the milk and Lily is green'.,0,'Sandra left the milk and Lily is green'. It is almost certain that Winona is a wolf. It is unlikely that John went to the kitchen. There is a better than even chance that Daniel got the football.,It is probably not the case that either 'Winona is a wolf' 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.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.77,0.46749349869973994,train,we believe,probably not,We believe that either 'Winona is a wolf' or 'John went to the kitchen' but not both.,It is probably not the case that either 'Winona is a wolf' or 'John went to the kitchen' but not both.,0,Either 'Winona is a wolf' or 'John went to the kitchen' but not both. It is probably the case that John put down the apple. It is probably the case that Winona is a mouse. It is improbable that Julius is gray.,Chances are slight that either 'John put down 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.10342068413682737,train,likely,chances are slight,It is likely that either 'John put down the apple' or 'Julius is gray' but not both.,Chances are slight that either 'John put down the apple' or 'Julius is gray' but not both.,0,Either 'John put down the apple' or 'Julius is gray' but not both. Chances are about even that Julius is a lion. It is probably not the case that John picked up the apple. There is a better than even chance that Brian is yellow.,There is a better than even chance that either 'Brian is yellow' 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.5::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.55,0.48249649929986,train,better than even,highly unlikely,There is a better than even chance that either 'Brian is yellow' or 'John picked up the apple' but not both.,It is highly unlikely that either 'Brian is yellow' or 'John picked up the apple' but not both.,1,Either 'Brian is yellow' or 'John picked up the apple' but not both. It is almost certain that John went to the kitchen. We believe that Brian is a frog. There is a better than even chance that Mary grabbed the milk.,Chances are slight that 'John went to the kitchen' 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.75::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9875,0.6253250650130026,train,certain,chances are slight,It is certain that 'John went to the kitchen' or 'Brian is a frog' or both.,Chances are slight that 'John went to the kitchen' or 'Brian is a frog' or both.,0,'John went to the kitchen' or 'Brian is a frog' or both. There is a very good chance that John went to the kitchen. It is almost certain that Jessica is a mouse. There is a very good chance that Jeff dropped the apple.,It is certain that 'Jeff dropped the apple' 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.8::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.99,0.10882176435287058,train,certain,unlikely,It is certain that 'Jeff dropped the apple' or 'Jessica is a mouse' or both.,It is unlikely that 'Jeff dropped the apple' or 'Jessica is a mouse' or both.,1,'Jeff dropped the apple' or 'Jessica is a mouse' or both. It is unlikely that Emily is a wolf. It is improbable that Fred put down the apple. It is unlikely that Julius is yellow.,There is almost no chance that 'Julius is yellow 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.3874774954990998,train,almost no chance,almost certain,There is almost no chance that 'Julius is yellow and Fred put down the apple'.,It is almost certain that 'Julius is yellow and Fred put down the apple'.,1,'Julius is yellow and Fred put down the apple'. It is unlikely that Julius is a rhino. There is a better than even chance that John discarded the milk. We believe that Bernhard is yellow.,It is highly likely that 'Bernhard is yellow' 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.2::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9,0.6563312662532507,train,highly likely,probably not,It is highly likely that 'Bernhard is yellow' or 'John discarded the milk' or both.,It is probably not the case that 'Bernhard is yellow' or 'John discarded the milk' or both.,1,'Bernhard is yellow' or 'John discarded the milk' or both. We doubt that John got the milk. We doubt that Julius is green. It is improbable that Bernhard is a lion.,It is highly likely that either 'Bernhard is a lion' 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.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.2760552110422084,train,probably not,highly likely,It is probably not the case that either 'Bernhard is a lion' or 'John got the milk' but not both.,It is highly likely that either 'Bernhard is a lion' or 'John got the milk' but not both.,0,Either 'Bernhard is a lion' or 'John got the milk' but not both. It is probably the case that Winona is a wolf. It is unlikely that Mary went to the office. It is probably the case that Sandra left the football.,Chances are slight that 'Winona is a wolf' 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.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.6799359871974395,train,we believe,chances are slight,We believe that 'Winona is a wolf' or 'Mary went to the office' or both.,Chances are slight that 'Winona is a wolf' or 'Mary went to the office' or both.,0,'Winona is a wolf' or 'Mary went to the office' or both. It is almost certain that Winona is a sheep. There is little chance that Brian is gray. We doubt that Bernhard is a swan.,It is highly likely that either 'Winona 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.95::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.5481096219243848,train,highly likely,little chance,It is highly likely that either 'Winona is a sheep' or 'Brian is gray' but not both.,There is little chance that either 'Winona is a sheep' or 'Brian is gray' but not both.,1,Either 'Winona is a sheep' or 'Brian is gray' but not both. It is improbable that Sandra left the apple. It is almost certain that John put down the apple. It is improbable that Mary picked up the milk.,It is probably not the case that 'Mary picked up the milk' 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.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.622124424884977,train,almost certain,probably not,It is almost certain that 'Mary picked up the milk' or 'John put down the apple' or both.,It is probably not the case that 'Mary picked up the milk' or 'John put down the apple' or both.,0,'Mary picked up the milk' or 'John put down the apple' or both. There is a very good chance that Julius is a swan. It is probable that Brian is green. There is a very good chance that Mary dropped the milk.,It is almost certain 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.8::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9400000000000001,0.2440488097619524,train,almost certain,highly unlikely,It is almost certain 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. It is improbable that John went to the hallway. There is a better than even chance that Mary took the football. It is likely that Winona is a mouse.,Chances are about even that either 'Mary took the football' or 'Winona is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45999999999999996,0.5347069413882777,train,about even,certain,Chances are about even that either 'Mary took the football' or 'Winona is a mouse' but not both.,It is certain that either 'Mary took the football' or 'Winona is a mouse' but not both.,1,Either 'Mary took the football' or 'Winona is a mouse' but not both. There is a very good chance that John went to the office. Chances are slight that Sandra took the football. It is impossible that Gertrude is a wolf.,We doubt that either 'John went 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.8::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.48589717943588717,train,very good chance,we doubt,There is a very good chance that either 'John went to the office' or 'Gertrude is a wolf' but not both.,We doubt that either 'John went to the office' or 'Gertrude is a wolf' but not both.,0,Either 'John went to the office' or 'Gertrude is a wolf' but not both. There is little chance that Jason is thirsty. Chances are about even that Antoine is hungry. Chances are about even that Mary got the football.,It is probably not the case that 'Antoine is hungry and Mary got the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.25,0.5667133426685337,train,probably not,highly likely,It is probably not the case that 'Antoine is hungry and Mary got the football'.,It is highly likely that 'Antoine is hungry and Mary got the football'.,1,'Antoine is hungry and Mary got the football'. Chances are about even that Bernhard is green. It is probably not the case that Sandra dropped the milk. It is improbable that Greg is gray.,It is impossible 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.5::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.625,0.7583516703340668,train,better than even,impossible,There is a better than even chance that 'Sandra dropped the milk' or 'Bernhard is green' or both.,It is impossible 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 very good chance that Emily is a wolf. It is probably not the case that Mary dropped the milk. There is a very good chance that Lily is a swan.,It is highly likely that 'Mary dropped 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.8::factA. 0.25::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8500000000000001,0.21704340868173636,train,highly likely,probably not,It is highly likely that 'Mary dropped the milk' or 'Lily is a swan' or both.,It is probably not the case that 'Mary dropped the milk' or 'Lily is a swan' or both.,1,'Mary dropped the milk' or 'Lily is a swan' or both. We doubt that Sandra left the apple. It is highly likely that Bernhard is a swan. There is a better than even chance that Greg is a frog.,Chances are about even 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.2::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5399999999999999,0.4300860172034407,train,about even,impossible,Chances are about even that 'Greg is a frog and Bernhard is a swan'.,It is impossible that 'Greg is a frog and Bernhard is a swan'.,1,'Greg is a frog and Bernhard is a swan'. We believe that Greg is a rhino. It is probably the case that Bill moved to the office. It is improbable that Julius is white.,Chances are about even that either 'Bill moved 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.46609321864372877,train,about even,impossible,Chances are about even that either 'Bill moved to the office' or 'Greg is a rhino' but not both.,It is impossible that either 'Bill moved to the office' or 'Greg is a rhino' but not both.,1,Either 'Bill moved to the office' or 'Greg is a rhino' but not both. It is probable that Sandra got the football. There is little chance that Mary dropped the milk. It is almost certain that Gertrude is a cat.,It is probably the case that 'Sandra got the football 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.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.6649999999999999,0.15403080616123224,train,probably,highly unlikely,It is probably the case that 'Sandra got the football and Gertrude is a cat'.,It is highly unlikely that 'Sandra got the football and Gertrude is a cat'.,1,'Sandra got the football and Gertrude is a cat'. It is certain that Mary dropped the apple. It is probably not the case that Lily is a swan. There is a better than even chance that Brian is yellow.,It is certain that 'Mary dropped the apple' 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 1.0::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.1218243648729746,train,certain,highly unlikely,It is certain that 'Mary dropped the apple' or 'Brian is yellow' or both.,It is highly unlikely that 'Mary dropped the apple' or 'Brian is yellow' or both.,1,'Mary dropped the apple' or 'Brian is yellow' or both. It is probable that Mary went to the garden. There is a very good chance that Julius is green. It is improbable that Bernhard is a swan.,There is almost no chance that either 'Mary went to the garden' 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.8::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.14362872574514904,train,about even,almost no chance,Chances are about even that either 'Mary went to the garden' or 'Julius is green' but not both.,There is almost no chance that either 'Mary went to the garden' or 'Julius is green' but not both.,0,Either 'Mary went to the garden' or 'Julius is green' but not both. It is almost certain that John grabbed the apple. It is probably the case that Sandra left the football. Chances are about even that Bernhard is gray.,There is almost no chance that either 'Bernhard is gray' 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.95::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.49999999999999994,0.5703140628125625,train,about even,almost no chance,Chances are about even that either 'Bernhard is gray' or 'Sandra left the football' but not both.,There is almost no chance that either 'Bernhard is gray' or 'Sandra left the football' but not both.,0,Either 'Bernhard is gray' or 'Sandra left the football' but not both. It is certain that Bernhard is gray. It is highly unlikely that Gertrude is a mouse. There is a very good chance that Brian is a rhino.,Chances are slight 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 1.0::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.81,0.4966993398679736,train,very good chance,chances are slight,There is a very good chance that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,Chances are slight that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,0,'Gertrude is a mouse' or 'Brian is a rhino' or both. Chances are slight that John put down the apple. We doubt that Mary picked up the milk. It is probably not the case that Bernhard is a rhino.,It is almost certain 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.1::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.35000000000000003,0.20764152830566113,train,probably not,almost certain,It is probably not the case that either 'Mary picked up the milk' or 'Bernhard is a rhino' but not both.,It is almost certain 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. It is probable that Julius is a swan. It is unlikely that Lily is green. There is a better than even chance that John put down the milk.,Chances are about even that either 'John put down 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.7::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.45999999999999996,0.4958991798359672,train,about even,almost certain,Chances are about even that either 'John put down the milk' or 'Julius is a swan' but not both.,It is almost certain that either 'John put down the milk' or 'Julius is a swan' but not both.,1,Either 'John put down the milk' or 'Julius is a swan' but not both. We doubt that Sandra dropped the milk. Chances are about even that John put down the apple. It is probably not the case that Greg is a frog.,There is almost no chance that either 'Greg is a frog' 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.2::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5000000000000001,0.7559511902380476,train,about even,almost no chance,Chances are about even that either 'Greg is a frog' or 'John put down the apple' but not both.,There is almost no chance that either 'Greg is a frog' or 'John put down the apple' but not both.,0,Either 'Greg is a frog' or 'John put down the apple' but not both. It is improbable that John dropped the apple. There is a better than even chance that Winona is a sheep. It is impossible that Brian is green.,There is a better than even chance that 'Winona 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.1::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6,0.09861972394478896,train,better than even,almost no chance,There is a better than even chance that 'Winona is a sheep' or 'Brian is green' or both.,There is almost no chance that 'Winona is a sheep' or 'Brian is green' or both.,1,'Winona is a sheep' or 'Brian is green' or both. It is probably not the case that John left the football. It is improbable that Daniel grabbed the milk. It is highly likely that Greg is yellow.,It is probably not the case that either 'Daniel 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.1::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.16283256651330266,train,very good chance,probably not,There is a very good chance that either 'Daniel grabbed the milk' or 'Greg is yellow' but not both.,It is probably not the case that either 'Daniel grabbed the milk' or 'Greg is yellow' but not both.,0,Either 'Daniel grabbed the milk' or 'Greg is yellow' but not both. It is highly unlikely that John dropped the apple. Chances are about even that Julius is a lion. There is almost no chance that Emily is a sheep.,It is certain that either 'Emily 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.05::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.7149429885977195,train,about even,certain,Chances are about even that either 'Emily is a sheep' or 'Julius is a lion' but not both.,It is certain that either 'Emily is a sheep' or 'Julius is a lion' but not both.,0,Either 'Emily is a sheep' or 'Julius is a lion' but not both. We doubt that Brian is white. Chances are about even that Lily is a rhino. There is a better than even chance that Mary took the football.,It is impossible that 'Lily is a rhino' 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.2::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.2626525305061012,train,very good chance,impossible,There is a very good chance that 'Lily is a rhino' or 'Mary took the football' or both.,It is impossible that 'Lily is a rhino' or 'Mary took the football' or both.,0,'Lily is a rhino' or 'Mary took the football' or both. We doubt that Brian is a lion. We doubt that Greg is yellow. It is probably not the case that Mary went to the kitchen.,It is probably not the case that either 'Mary went to the kitchen' 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.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.03060612122424485,train,probably not,very good chance,It is probably not the case that either 'Mary went to the kitchen' or 'Greg is yellow' but not both.,There is a very good chance that either 'Mary went to the kitchen' or 'Greg is yellow' but not both.,1,Either 'Mary went to the kitchen' or 'Greg is yellow' but not both. We doubt that John went to the office. There is a better than even chance that Jessica is a cat. It is unlikely that Lily is a swan.,It is improbable that 'Lily 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.2::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12000000000000001,0.0666133226645329,train,improbable,probable,It is improbable that 'Lily is a swan and Jessica is a cat'.,It is probable that 'Lily is a swan and Jessica is a cat'.,1,'Lily is a swan and Jessica is a cat'. There is almost no chance that John went to the office. It is likely that Greg is a rhino. It is certain that Bernhard is a frog.,It is certain that either 'John went 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.7::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.98,0.3510702140428086,train,certain,improbable,It is certain that either 'John went to the office' or 'Bernhard is a frog' but not both.,It is improbable that either 'John went to the office' or 'Bernhard is a frog' but not both.,1,Either 'John went to the office' or 'Bernhard is a frog' but not both. There is a better than even chance that Bernhard is a swan. It is probable that Julius is gray. It is improbable that John moved to the office.,There is almost no chance 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.6::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.6791358271654331,train,probable,almost no chance,It is probable that either 'John moved to the office' or 'Julius is gray' but not both.,There is almost no chance 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 unlikely that Mary dropped the milk. It is highly unlikely that Brian is green. It is likely that Bernhard is a swan.,There is almost no chance that 'Brian is green 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. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.10842168433686737,train,almost no chance,probable,There is almost no chance that 'Brian is green and Mary dropped the milk'.,It is probable that 'Brian is green and Mary dropped the milk'.,1,'Brian is green and Mary dropped the milk'. It is probably not the case that Mary went to the bedroom. It is likely that Greg is white. It is probably the case that Sandra put down the milk.,It is highly likely that 'Sandra put down 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.25::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.7675535107021404,train,highly likely,impossible,It is highly likely that 'Sandra put down the milk' or 'Greg is white' or both.,It is impossible that 'Sandra put down the milk' or 'Greg is white' or both.,1,'Sandra put down the milk' or 'Greg is white' or both. It is improbable that John put down the apple. We doubt that Sandra got the milk. There is almost no chance that Jessica is a cat.,It is improbable that either 'Jessica is a cat' 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.1::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.16243248649729947,train,improbable,highly likely,It is improbable that either 'Jessica is a cat' or 'John put down the apple' but not both.,It is highly likely that either 'Jessica is a cat' or 'John put down the apple' but not both.,1,Either 'Jessica is a cat' or 'John put down the apple' but not both. It is likely that Mary took the milk. It is almost certain that Lily is white. We believe that Julius is a frog.,We doubt that 'Lily is white and Mary took the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.6779355871174235,train,likely,we doubt,It is likely that 'Lily is white and Mary took the milk'.,We doubt that 'Lily is white and Mary took the milk'.,0,'Lily is white and Mary took the milk'. We doubt that Brian is white. There is a better than even chance that Bill went to the garden. There is little chance that Bernhard is yellow.,There is a better than even chance that either 'Bill went 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.6::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.58,0.3174634926985397,train,better than even,almost no chance,There is a better than even chance that either 'Bill went to the garden' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Bill went to the garden' or 'Bernhard is yellow' but not both.,1,Either 'Bill went to the garden' or 'Bernhard is yellow' but not both. We believe that Julius is a swan. There is a very good chance that Mary went to the bedroom. It is impossible that Brian is a lion.,It is highly likely that 'Brian is a lion 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.8::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.10482096419283857,train,impossible,highly likely,It is impossible that 'Brian is a lion and Mary went to the bedroom'.,It is highly likely that 'Brian is a lion and Mary went to the bedroom'.,0,'Brian is a lion and Mary went to the bedroom'. It is certain that John took the apple. It is highly likely that Antoine is thirsty. We doubt that Brian is a frog.,We doubt that 'Antoine is thirsty 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.9::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.18000000000000002,0.7489497899579916,train,we doubt,highly likely,We doubt that 'Antoine is thirsty and Brian is a frog'.,It is highly likely that 'Antoine is thirsty and Brian is a frog'.,1,'Antoine is thirsty and Brian is a frog'. We believe that John left the football. It is almost certain that Daniel got the football. It is improbable that Jeff went to the bedroom.,Chances are about even that 'Daniel got the football' 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.75::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9875,0.18143628725745148,train,certain,about even,It is certain that 'Daniel got the football' or 'John left the football' or both.,Chances are about even that 'Daniel got the football' or 'John left the football' or both.,0,'Daniel got the football' or 'John left the football' or both. We believe that Julius is white. It is highly likely that Sandra got the milk. We believe that John went to the bedroom.,It is almost certain that 'Julius is white' 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.75::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9375,0.3162632526505301,train,almost certain,almost no chance,It is almost certain that 'Julius is white' or 'John went to the bedroom' or both.,There is almost no chance that 'Julius is white' or 'John went to the bedroom' or both.,1,'Julius is white' or 'John went to the bedroom' or both. It is likely that Lily is a rhino. There is little chance that Julius is a swan. It is highly likely that Bernhard is a lion.,It is almost certain 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.1::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.4962992598519704,train,improbable,almost certain,It is improbable that 'Julius is a swan and Bernhard is a lion'.,It is almost certain that 'Julius is a swan and Bernhard is a lion'.,0,'Julius is a swan and Bernhard is a lion'. It is improbable that Greg is white. It is probably not the case that Emily is a mouse. Chances are about even that John put down the milk.,It is probably not the case that 'Greg 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.1::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.325,0.08261652330466093,train,probably not,almost certain,It is probably not the case that 'Greg is white' or 'Emily is a mouse' or both.,It is almost certain that 'Greg is white' or 'Emily is a mouse' or both.,1,'Greg is white' or 'Emily is a mouse' or both. There is little chance that Jeff dropped the apple. It is impossible that Emily is a mouse. It is likely that Brian is a frog.,It is probably the case that 'Brian is a frog' 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.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7,0.7019403880776155,train,probably,highly unlikely,It is probably the case that 'Brian is a frog' or 'Emily is a mouse' or both.,It is highly unlikely that 'Brian is a frog' or 'Emily is a mouse' or both.,1,'Brian is a frog' or 'Emily is a mouse' or both. It is probably the case that Mary went to the bedroom. It is probable that Winona is a sheep. It is impossible that Bernhard is a rhino.,It is impossible that 'Bernhard is a rhino 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.7::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.17623524704940988,train,impossible,probable,It is impossible that 'Bernhard is a rhino and Mary went to the bedroom'.,It is probable that 'Bernhard is a rhino and Mary went to the bedroom'.,1,'Bernhard is a rhino and Mary went to the bedroom'. Chances are about even that Julius is white. It is certain that Bernhard is yellow. There is almost no chance that Jessica is a mouse.,It is certain that 'Julius is white' 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.3860772154430886,train,certain,about even,It is certain that 'Julius is white' or 'Bernhard is yellow' or both.,Chances are about even that 'Julius is white' or 'Bernhard is yellow' or both.,1,'Julius is white' or 'Bernhard is yellow' or both. It is unlikely that Emily is a sheep. It is impossible that Julius is a lion. Chances are slight that Brian is a swan.,Chances are about even that 'Julius 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.2::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.11502300460092019,train,impossible,about even,It is impossible that 'Julius is a lion and Brian is a swan'.,Chances are about even that 'Julius is a lion and Brian is a swan'.,0,'Julius is a lion and Brian is a swan'. It is likely that Jeff left the apple. It is almost certain that Julius is a lion. It is highly likely that John went to the kitchen.,It is certain that 'Jeff 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.7::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.985,0.6763352670534107,train,certain,we doubt,It is certain that 'Jeff left the apple' or 'Julius is a lion' or both.,We doubt that 'Jeff left the apple' or 'Julius is a lion' or both.,1,'Jeff left the apple' or 'Julius is a lion' or both. It is unlikely that Brian is a rhino. It is improbable that Greg is gray. It is probably the case that Lily is a swan.,There is almost no chance that 'Brian 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.3222644528905781,train,almost no chance,better than even,There is almost no chance that 'Brian is a rhino and Greg is gray'.,There is a better than even chance that 'Brian is a rhino and Greg is gray'.,1,'Brian is a rhino and Greg is gray'. It is almost certain that Mary went to the bedroom. Chances are slight that Brian is green. It is certain that Sumit is thirsty.,It is almost certain that 'Mary went to the bedroom' 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.95::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.955,0.3826765353070614,train,almost certain,impossible,It is almost certain that 'Mary went to the bedroom' or 'Brian is green' or both.,It is impossible that 'Mary went to the bedroom' or 'Brian is green' or both.,1,'Mary went to the bedroom' or 'Brian is green' or both. It is highly likely that Emily is a sheep. It is likely that John went to the office. It is almost certain that Mary is in the hallway.,There is a very good chance that either 'Emily is a sheep' 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 0.9::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.5897179435887178,train,little chance,very good chance,There is little chance that either 'Emily is a sheep' or 'Mary is in the hallway' but not both.,There is a very good chance that either 'Emily is a sheep' or 'Mary is in the hallway' but not both.,0,Either 'Emily is a sheep' or 'Mary is in the hallway' but not both. It is highly likely that Bill moved to the office. It is probably the case that Bernhard is a lion. It is improbable that Emily is a mouse.,It is highly unlikely 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.9::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.14842968593718744,train,highly unlikely,highly likely,It is highly unlikely that 'Bernhard is a lion and Emily is a mouse'.,It is highly likely that 'Bernhard is a lion and Emily is a mouse'.,1,'Bernhard is a lion and Emily is a mouse'. It is almost certain that Julius is yellow. It is impossible that Brian is white. There is a better than even chance that Mary went to the garden.,It is impossible that 'Mary went 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.95::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.3832766553310662,train,impossible,almost certain,It is impossible that 'Mary went to the garden and Brian is white'.,It is almost certain that 'Mary went to the garden and Brian is white'.,1,'Mary went to the garden and Brian is white'. It is probably not the case that Brian is green. It is certain that Lily is a frog. It is highly unlikely that Mary went to the office.,Chances are about even 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. 1.0::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.2450490098019604,train,highly unlikely,about even,It is highly unlikely that 'Lily is a frog and Mary went to the office'.,Chances are about even that 'Lily is a frog and Mary went to the office'.,0,'Lily is a frog and Mary went to the office'. It is almost certain that Brian is a lion. It is impossible that Mary moved to the garden. Chances are slight that Julius is yellow.,It is almost certain that 'Julius is yellow' 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.95::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.10000000000000002,0.21144228845769153,train,chances are slight,almost certain,Chances are slight that 'Julius is yellow' or 'Mary moved to the garden' or both.,It is almost certain that 'Julius is yellow' or 'Mary moved to the garden' or both.,0,'Julius is yellow' or 'Mary moved to the garden' or both. It is almost certain that Daniel put down the milk. It is impossible that Greg is a frog. It is impossible that Mary went to the hallway.,It is almost certain that either 'Daniel 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.95::factA. 0.0::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.95,0.45729145829165835,train,almost certain,we doubt,It is almost certain that either 'Daniel put down the milk' or 'Mary went to the hallway' but not both.,We doubt that either 'Daniel put down the milk' or 'Mary went to the hallway' but not both.,1,Either 'Daniel put down the milk' or 'Mary went to the hallway' but not both. It is improbable that Jeff left the apple. It is likely that Brian is yellow. There is a better than even chance that John went to the office.,It is probably the case that 'John went to the office 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.7::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.06,0.1864372874574915,train,highly unlikely,probably,It is highly unlikely that 'John went to the office and Jeff left the apple'.,It is probably the case that 'John went to the office and Jeff left the apple'.,0,'John went to the office and Jeff left the apple'. It is improbable that Brian is yellow. It is likely that Antoine is hungry. There is almost no chance that Yann is bored.,We believe that 'Brian is yellow' 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.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.5423084616923385,train,we believe,probably not,We believe that 'Brian is yellow' or 'Antoine is hungry' or both.,It is probably not the case that 'Brian is yellow' or 'Antoine is hungry' or both.,1,'Brian is yellow' or 'Antoine is hungry' or both. It is impossible that John moved to the office. It is probably not the case that Julius is yellow. It is probably not the case that Bernhard is a swan.,It is probably the case that either 'Bernhard 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.0::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.375,0.5655131026205241,train,probably not,probably,It is probably not the case that either 'Bernhard is a swan' or 'Julius is yellow' but not both.,It is probably the case that either 'Bernhard is a swan' or 'Julius is yellow' but not both.,0,Either 'Bernhard is a swan' or 'Julius is yellow' but not both. We believe that Greg is white. It is likely that Brian is a frog. There is a very good chance that John went to the office.,It is impossible that either 'Brian 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.75::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.35807161432286455,train,about even,impossible,Chances are about even that either 'Brian is a frog' or 'John went to the office' but not both.,It is impossible that either 'Brian is a frog' or 'John went to the office' but not both.,0,Either 'Brian is a frog' or 'John went to the office' but not both. It is highly unlikely that Bernhard is a swan. It is almost certain that Mary went to the garden. It is highly unlikely that John put down the apple.,It is highly unlikely that 'Bernhard 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.95::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0475,0.32106421284256853,train,highly unlikely,about even,It is highly unlikely that 'Bernhard is a swan and Mary went to the garden'.,Chances are about even that 'Bernhard is a swan and Mary went to the garden'.,1,'Bernhard is a swan and Mary went to the garden'. We doubt that Brian is white. It is improbable that Sumit is thirsty. Chances are slight that Jeff went to the garden.,There is a very good chance that 'Brian is white 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.28965793158631725,train,almost no chance,very good chance,There is almost no chance that 'Brian is white and Jeff went to the garden'.,There is a very good chance that 'Brian is white and Jeff went to the garden'.,0,'Brian is white and Jeff went to the garden'. It is probably the case that Lily is gray. It is unlikely that John went to the garden. Chances are slight that Daniel left the milk.,It is probably not the case that 'Daniel left 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.4860972194438888,train,probably not,probably,It is probably not the case that 'Daniel left the milk' or 'John went to the garden' or both.,It is probably the case that 'Daniel left the milk' or 'John went to the garden' or both.,1,'Daniel left the milk' or 'John went to the garden' or both. It is unlikely that John dropped the milk. There is almost no chance that Greg is a swan. There is a very good chance that Lily is yellow.,It is unlikely that 'Lily is yellow 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.02::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.16000000000000003,0.253250650130026,train,unlikely,likely,It is unlikely that 'Lily is yellow and John dropped the milk'.,It is likely that 'Lily is yellow and John dropped the milk'.,1,'Lily is yellow and John dropped the milk'. There is a very good chance that Jeff went to the garden. It is probably not the case that Bernhard is green. It is certain that Lily is a swan.,We believe that either 'Lily is a swan' or 'Bernhard is green' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.75,0.36967393478695737,train,we believe,we doubt,We believe that either 'Lily is a swan' or 'Bernhard is green' but not both.,We doubt that either 'Lily is a swan' or 'Bernhard is green' but not both.,1,Either 'Lily is a swan' or 'Bernhard is green' but not both. Chances are about even that John got the milk. It is probably the case that Brian is a frog. We believe that Jessica is a cat.,It is probably not the case that 'Brian is a frog 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.5::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.29425885177035405,train,probably not,almost certain,It is probably not the case that 'Brian is a frog and John got the milk'.,It is almost certain that 'Brian is a frog and John got the milk'.,1,'Brian is a frog and John got the milk'. It is impossible that Greg is a swan. It is highly unlikely that Brian is gray. There is a better than even chance that Daniel took the milk.,There is a better than even chance that either 'Greg is a swan' 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.05::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.07961592318463692,train,better than even,almost no chance,There is a better than even chance that either 'Greg is a swan' or 'Daniel took the milk' but not both.,There is almost no chance that either 'Greg is a swan' or 'Daniel took the milk' but not both.,1,Either 'Greg is a swan' or 'Daniel took the milk' but not both. It is probable that Mary went to the bedroom. Chances are slight that John put down the apple. It is unlikely that Brian is a frog.,It is highly unlikely that 'Mary went to the bedroom 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.5753150630126025,train,highly unlikely,highly likely,It is highly unlikely that 'Mary went to the bedroom and John put down the apple'.,It is highly likely that 'Mary went to the bedroom and John put down the apple'.,1,'Mary went to the bedroom and John put down the apple'. It is highly unlikely that Jessica is a cat. It is impossible that Lily is white. It is highly unlikely that Emily is a sheep.,It is probably the case that 'Emily is a sheep 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.0::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.5987197439487898,train,impossible,probably,It is impossible that 'Emily is a sheep and Lily is white'.,It is probably the case that 'Emily is a sheep and Lily is white'.,0,'Emily is a sheep and Lily is white'. It is certain that Brian is a rhino. We believe that Greg is a swan. There is little chance that Emily is a mouse.,It is almost certain 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 1.0::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.269253850770154,train,improbable,almost certain,It is improbable that 'Emily is a mouse and Brian is a rhino'.,It is almost certain that 'Emily is a mouse and Brian is a rhino'.,0,'Emily is a mouse and Brian is a rhino'. It is probable that John picked up the milk. It is probably not the case that Sumit is thirsty. We believe that Bernhard is yellow.,We doubt that 'Bernhard is yellow 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.7::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.1875,0.13962792558511702,train,we doubt,highly likely,We doubt that 'Bernhard is yellow and Sumit is thirsty'.,It is highly likely that 'Bernhard is yellow and Sumit is thirsty'.,1,'Bernhard is yellow and Sumit is thirsty'. It is probable that Emily is a mouse. It is impossible that Sandra put down the milk. It is highly likely that Daniel dropped the apple.,There is little chance that 'Sandra put down the milk' 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.0::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.17523504700940187,train,likely,little chance,It is likely that 'Sandra put down the milk' or 'Emily is a mouse' or both.,There is little chance that 'Sandra put down the milk' or 'Emily is a mouse' or both.,0,'Sandra put down the milk' or 'Emily is a mouse' or both. It is probable that Julius is a frog. Chances are slight that Mary went to the hallway. It is probable that John left the football.,It is probably the case that either 'Julius is a frog' 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.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.5499099819963993,train,probably,highly unlikely,It is probably the case that either 'Julius is a frog' or 'Mary went to the hallway' but not both.,It is highly unlikely that either 'Julius is a frog' or 'Mary went to the hallway' but not both.,1,Either 'Julius is a frog' or 'Mary went to the hallway' but not both. It is unlikely that Mary grabbed the milk. It is almost certain that John went to the bedroom. Chances are slight that Julius is a swan.,It is probably not the case that either 'Mary 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.2::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.2644528905781156,train,probably not,probable,It is probably not the case that either 'Mary grabbed the milk' or 'Julius is a swan' but not both.,It is probable that either 'Mary grabbed the milk' or 'Julius is a swan' but not both.,1,Either 'Mary grabbed the milk' or 'Julius is a swan' but not both. There is little chance that Winona is a sheep. Chances are about even that Bernhard is green. It is highly likely that Jason is thirsty.,Chances are slight that 'Winona is a sheep 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.1::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.48209641928385677,train,chances are slight,certain,Chances are slight that 'Winona is a sheep and Jason is thirsty'.,It is certain that 'Winona is a sheep and Jason is thirsty'.,1,'Winona is a sheep and Jason is thirsty'. It is highly unlikely that Daniel took the milk. It is impossible that Mary went to the office. There is almost no chance that Brian is a rhino.,It is impossible that 'Mary went to the office 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.05::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.027405481096219243,train,impossible,about even,It is impossible that 'Mary went to the office and Daniel took the milk'.,Chances are about even that 'Mary went to the office and Daniel took the milk'.,1,'Mary went to the office and Daniel took the milk'. It is certain that John discarded the apple. We doubt that Brian is yellow. It is impossible that Bernhard is a frog.,It is unlikely that 'Bernhard is a frog' 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 1.0::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.2,0.10242048409681936,train,unlikely,highly likely,It is unlikely that 'Bernhard is a frog' or 'Brian is yellow' or both.,It is highly likely that 'Bernhard is a frog' or 'Brian is yellow' or both.,1,'Bernhard is a frog' or 'Brian is yellow' or both. It is unlikely that John left the milk. Chances are about even that Bernhard is a rhino. It is highly unlikely that Mary went to the bedroom.,Chances are about even that 'Mary went to the bedroom' 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.2::factA. 0.5::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.525,0.08981796359271854,train,about even,almost certain,Chances are about even that 'Mary went to the bedroom' or 'Bernhard is a rhino' or both.,It is almost certain that 'Mary went to the bedroom' or 'Bernhard is a rhino' or both.,1,'Mary went to the bedroom' or 'Bernhard is a rhino' or both. There is little chance that Greg is yellow. Chances are about even that Jason is tired. There is almost no chance that Lily is gray.,There is almost no chance that 'Jason is tired 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.1::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.5863172634526905,train,almost no chance,likely,There is almost no chance that 'Jason is tired and Lily is gray'.,It is likely that 'Jason is tired and Lily is gray'.,1,'Jason is tired and Lily is gray'. Chances are about even that Greg is a frog. It is certain that Mary went to the kitchen. We believe that Bernhard is a swan.,It is highly likely that 'Greg 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.5::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8750000000000001,0.6995399079815964,train,highly likely,improbable,It is highly likely that 'Greg is a frog' or 'Bernhard is a swan' or both.,It is improbable that 'Greg is a frog' or 'Bernhard is a swan' or both.,1,'Greg is a frog' or 'Bernhard is a swan' or both. There is a very good chance that Bernhard is green. Chances are about even that Lily is a frog. We believe that Jessica is a sheep.,It is certain 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.8::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.6185237047409482,train,about even,certain,Chances are about even that either 'Bernhard is green' or 'Lily is a frog' but not both.,It is certain 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. It is highly unlikely that John went to the bedroom. There is little chance that Greg is a rhino. It is highly unlikely that Lily is a frog.,It is probably the case that either 'Lily 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.05::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.41088217643528707,train,improbable,probably,It is improbable that either 'Lily is a frog' or 'Greg is a rhino' but not both.,It is probably the case that either 'Lily is a frog' or 'Greg is a rhino' but not both.,0,Either 'Lily is a frog' or 'Greg is a rhino' but not both. It is highly likely that Bernhard is a rhino. We believe that Mary dropped the apple. There is little chance that Greg is white.,It is probable that either 'Mary dropped 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.9::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.1394278855771154,train,probable,unlikely,It is probable that either 'Mary dropped the apple' or 'Greg is white' but not both.,It is unlikely that either 'Mary dropped the apple' or 'Greg is white' but not both.,1,Either 'Mary dropped the apple' or 'Greg is white' but not both. There is almost no chance that Lily is a lion. It is certain that Mary put down the apple. Chances are about even that John went to the hallway.,There is little chance that either 'Mary put down 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.02::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.98,0.15763152630526106,train,certain,little chance,It is certain that either 'Mary put down the apple' or 'Lily is a lion' but not both.,There is little chance that either 'Mary put down the apple' or 'Lily is a lion' but not both.,0,Either 'Mary put down the apple' or 'Lily is a lion' but not both. It is probable that Julius is a lion. It is highly likely that John discarded the apple. We believe that Mary took the football.,Chances are about even 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.7::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.5073014602920584,train,about even,almost certain,Chances are about even that either 'Julius is a lion' or 'Mary took the football' but not both.,It is almost certain that either 'Julius is a lion' or 'Mary took the football' but not both.,1,Either 'Julius is a lion' or 'Mary took the football' but not both. It is probable that Mary left the football. It is likely that Emily is a sheep. It is probably the case that Lily is a lion.,Chances are about even 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 0.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.4870974194838968,train,about even,almost no chance,Chances are about even that either 'Lily is a lion' or 'Mary left the football' but not both.,There is almost no chance that either 'Lily is a lion' or 'Mary left the football' but not both.,1,Either 'Lily is a lion' or 'Mary left the football' but not both. It is likely that Daniel took the football. It is highly unlikely that John discarded the apple. We believe that Jeff went to the garden.,It is highly unlikely that 'John discarded the apple 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.7::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.035,0.6705341068213643,train,highly unlikely,better than even,It is highly unlikely that 'John discarded the apple and Daniel took the football'.,There is a better than even chance that 'John discarded the apple and Daniel took the football'.,1,'John discarded the apple and Daniel took the football'. Chances are about even that Greg is a lion. It is almost certain that Lily is green. There is a better than even chance that Bernhard is a swan.,Chances are about even that either 'Bernhard 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.5::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.535507101420284,train,about even,almost no chance,Chances are about even that either 'Bernhard is a swan' or 'Greg is a lion' but not both.,There is almost no chance that either 'Bernhard is a swan' or 'Greg is a lion' but not both.,1,Either 'Bernhard is a swan' or 'Greg is a lion' but not both. It is highly unlikely that John took the apple. There is almost no chance that Antoine is thirsty. It is likely that Julius is a lion.,Chances are slight that either 'Julius is a lion' 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.02::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.22904580916183237,train,likely,chances are slight,It is likely that either 'Julius is a lion' or 'John took the apple' but not both.,Chances are slight that either 'Julius is a lion' or 'John took the apple' but not both.,0,Either 'Julius is a lion' or 'John took the apple' but not both. It is impossible that Jason is tired. We doubt that Daniel got the football. It is probably not the case that Lily is yellow.,It is certain that 'Lily 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.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.25,0.670134026805361,train,probably not,certain,It is probably not the case that 'Lily is yellow' or 'Jason is tired' or both.,It is certain that 'Lily is yellow' or 'Jason is tired' or both.,0,'Lily is yellow' or 'Jason is tired' or both. We doubt that Brian is a frog. It is improbable that Sumit is tired. It is probable that Julius is a swan.,It is probably the case that either 'Sumit is tired' 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.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.2458491698339668,train,probably,probably not,It is probably the case that either 'Sumit is tired' or 'Julius is a swan' but not both.,It is probably not the case that either 'Sumit is tired' or 'Julius is a swan' but not both.,1,Either 'Sumit is tired' or 'Julius is a swan' but not both. There is almost no chance that Mary moved to the office. We doubt that Bernhard is a frog. It is probably the case that Greg is yellow.,It is probably the case that 'Mary moved to the office' 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.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.706,0.17003400680136027,train,probably,probably not,It is probably the case that 'Mary moved to the office' or 'Greg is yellow' or both.,It is probably not the case that 'Mary moved to the office' or 'Greg is yellow' or both.,1,'Mary moved to the office' or 'Greg is yellow' or both. It is probably the case that Mary went to the garden. It is probably not the case that Daniel got the football. It is unlikely that Gertrude is a cat.,It is probably not the case that either 'Gertrude is a cat' 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.7::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.20884176835367074,train,probably not,probable,It is probably not the case that either 'Gertrude is a cat' or 'Daniel got the football' but not both.,It is probable that either 'Gertrude is a cat' or 'Daniel got the football' but not both.,1,Either 'Gertrude is a cat' or 'Daniel got the football' but not both. It is certain that Jessica is a mouse. It is probably not the case that Mary went to the office. It is likely that Bernhard is gray.,It is probably not the case that 'Jessica is a mouse 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.25::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.25,0.6941388277655531,train,probably not,probably,It is probably not the case that 'Jessica is a mouse and Mary went to the office'.,It is probably the case that 'Jessica is a mouse and Mary went to the office'.,1,'Jessica is a mouse and Mary went to the office'. There is a very good chance that Bernhard is white. We doubt that Daniel left the milk. There is almost no chance that Antoine is hungry.,There is almost no chance that 'Bernhard is white' 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.8::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.804,0.5707141428285657,train,very good chance,almost no chance,There is a very good chance that 'Bernhard is white' or 'Antoine is hungry' or both.,There is almost no chance that 'Bernhard is white' or 'Antoine is hungry' or both.,0,'Bernhard is white' or 'Antoine is hungry' or both. It is likely that Lily is a lion. There is a better than even chance that Bernhard is a rhino. It is impossible that John grabbed the apple.,It is probable that 'John grabbed the apple' 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.6::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7,0.7673534706941388,train,probable,unlikely,It is probable that 'John grabbed the apple' or 'Lily is a lion' or both.,It is unlikely that 'John grabbed the apple' or 'Lily is a lion' or both.,1,'John grabbed the apple' or 'Lily is a lion' or both. We believe that Mary grabbed the apple. It is likely that John went to the kitchen. It is improbable that Bernhard is a frog.,It is almost certain that either 'Mary grabbed 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.5053010602120425,train,about even,almost certain,Chances are about even that either 'Mary grabbed the apple' or 'John went to the kitchen' but not both.,It is almost certain that either 'Mary grabbed the apple' or 'John went to the kitchen' but not both.,0,Either 'Mary grabbed the apple' or 'John went to the kitchen' but not both. It is almost certain that Bernhard is yellow. It is improbable that John moved to the office. It is probably the case that Greg is a rhino.,Chances are slight that 'John moved to the office 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.95::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09500000000000001,0.15383076615323066,train,chances are slight,highly likely,Chances are slight that 'John moved to the office and Bernhard is yellow'.,It is highly likely that 'John moved to the office and Bernhard is yellow'.,1,'John moved to the office and Bernhard is yellow'. It is almost certain that Brian is a swan. It is probably not the case that Lily is green. There is a better than even chance that John went to the garden.,It is certain that 'Lily 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.25::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2375,0.5471094218843768,train,probably not,certain,It is probably not the case that 'Lily is green and Brian is a swan'.,It is certain that 'Lily is green and Brian is a swan'.,0,'Lily is green and Brian is a swan'. There is almost no chance that John put down the apple. We believe that Brian is yellow. Chances are slight that Greg is white.,There is almost no chance that 'Brian is yellow 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.75::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.014999999999999998,0.6263252650530106,train,almost no chance,certain,There is almost no chance that 'Brian is yellow and John put down the apple'.,It is certain that 'Brian is yellow and John put down the apple'.,1,'Brian is yellow and John put down the apple'. It is unlikely that Mary went to the hallway. There is a better than even chance that Jeff moved to the office. There is a better than even chance that Brian is white.,There is little chance 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.2::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5599999999999999,0.6471294258851771,train,better than even,little chance,There is a better than even chance that either 'Brian is white' or 'Mary went to the hallway' but not both.,There is little chance that either 'Brian is white' or 'Mary went to the hallway' but not both.,0,Either 'Brian is white' or 'Mary went to the hallway' but not both. We doubt that Mary picked up the milk. It is impossible that Julius is a frog. There is a very good chance that John left the football.,There is a very good chance that 'John left the football' 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.2::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8400000000000001,0.6573314662932587,train,very good chance,impossible,There is a very good chance that 'John left the football' or 'Mary picked up the milk' or both.,It is impossible that 'John left the football' or 'Mary picked up the milk' or both.,1,'John left the football' or 'Mary picked up the milk' or both. It is likely that Lily is a frog. It is almost certain that Bernhard is yellow. We doubt that Daniel took the apple.,It is probably not the case 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.7::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.27985597119423883,train,probably not,probable,It is probably not the case that either 'Lily is a frog' or 'Bernhard is yellow' but not both.,It is probable 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. It is probable that Julius is yellow. There is little chance that Winona is a cat. We doubt that Mary got the football.,It is probably the case that either 'Winona is a cat' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.15323064612922585,train,probably not,probably,It is probably not the case that either 'Winona is a cat' or 'Mary got the football' but not both.,It is probably the case that either 'Winona is a cat' or 'Mary got the football' but not both.,0,Either 'Winona is a cat' or 'Mary got the football' but not both. It is probably the case that John left the milk. It is highly likely that Brian is a lion. We doubt that Bernhard is a rhino.,There is almost no chance that either 'Bernhard is a rhino' 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.9::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.15343068613722743,train,better than even,almost no chance,There is a better than even chance that either 'Bernhard is a rhino' or 'John left the milk' but not both.,There is almost no chance that either 'Bernhard is a rhino' or 'John left the milk' but not both.,0,Either 'Bernhard is a rhino' or 'John left the milk' but not both. It is probably the case that Mary took the milk. It is likely that Brian is a rhino. There is almost no chance that Bernhard is green.,It is probable that 'Mary took 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.706,0.36207241448289657,train,probable,we doubt,It is probable that 'Mary took the milk' or 'Bernhard is green' or both.,We doubt that 'Mary took the milk' or 'Bernhard is green' or both.,1,'Mary took the milk' or 'Bernhard is green' or both. It is almost certain that Bernhard is a frog. It is certain that John left the apple. It is probable that Greg is a swan.,It is probably not the case that either 'Greg 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.95::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.11002200440088018,train,probably not,we believe,It is probably not the case that either 'Greg is a swan' or 'Bernhard is a frog' but not both.,We believe that either 'Greg is a swan' or 'Bernhard is a frog' but not both.,1,Either 'Greg is a swan' or 'Bernhard is a frog' but not both. It is impossible that Bernhard is a frog. It is highly unlikely that Mary moved to the office. It is probable that Sandra took the football.,It is certain that either 'Mary 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.0::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.05000000000000001,0.5829165833166633,train,highly unlikely,certain,It is highly unlikely that either 'Mary moved to the office' or 'Bernhard is a frog' but not both.,It is certain that either 'Mary moved to the office' or 'Bernhard is a frog' but not both.,0,Either 'Mary moved to the office' or 'Bernhard is a frog' but not both. It is highly unlikely that Mary dropped the apple. There is almost no chance that John took the football. It is impossible that Brian is a swan.,There is a better than even chance that 'John took 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.05::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.02,0.6717343468693738,train,almost no chance,better than even,There is almost no chance that 'John took the football' or 'Brian is a swan' or both.,There is a better than even chance that 'John took the football' or 'Brian is a swan' or both.,0,'John took the football' or 'Brian is a swan' or both. Chances are slight that Julius is yellow. There is a better than even chance that Bernhard is white. It is unlikely that Greg is a lion.,There is a better than even chance that either 'Bernhard 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.1::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.58,0.20864172834566913,train,better than even,impossible,There is a better than even chance that either 'Bernhard is white' or 'Julius is yellow' but not both.,It is impossible that either 'Bernhard is white' or 'Julius is yellow' but not both.,1,Either 'Bernhard is white' or 'Julius is yellow' but not both. It is probable that Mary went to the garden. It is likely that John dropped the apple. It is probably not the case that Greg is yellow.,Chances are slight 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.7::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.17343468693738748,train,better than even,chances are slight,There is a better than even chance that either 'Greg is yellow' or 'John dropped the apple' but not both.,Chances are slight 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. It is unlikely that Lily is a rhino. There is a very good chance that Mary went to the garden. There is little chance that Bernhard is gray.,It is unlikely that either 'Mary went 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.2::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.36187237447489495,train,we believe,unlikely,We believe that either 'Mary went to the garden' or 'Bernhard is gray' but not both.,It is unlikely that either 'Mary went to the garden' or 'Bernhard is gray' but not both.,0,Either 'Mary went to the garden' or 'Bernhard is gray' but not both. We doubt that Sandra got the milk. We doubt that John discarded the apple. It is highly unlikely that Jeff went to the garden.,It is probable that 'Sandra got the milk 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.2::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.07681536307261452,train,highly unlikely,probable,It is highly unlikely that 'Sandra got the milk and John discarded the apple'.,It is probable that 'Sandra got the milk and John discarded the apple'.,0,'Sandra got the milk and John discarded the apple'. It is probably not the case that Fred moved to the office. It is probably the case that Brian is white. It is unlikely that Jessica is a cat.,There is a very good chance that 'Fred 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.25::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.4242848569713943,train,very good chance,chances are slight,There is a very good chance that 'Fred moved to the office' or 'Brian is white' or both.,Chances are slight that 'Fred moved to the office' or 'Brian is white' or both.,1,'Fred moved to the office' or 'Brian is white' or both. There is a very good chance that Greg is white. There is almost no chance that Mary went to the office. It is unlikely that Sandra took the milk.,There is almost no chance that 'Greg is white 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.02::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.01600000000000001,0.3584716943388678,train,almost no chance,we believe,There is almost no chance that 'Greg is white and Mary went to the office'.,We believe that 'Greg is white and Mary went to the office'.,1,'Greg is white and Mary went to the office'. There is little chance that Daniel took the milk. It is likely that Lily is a rhino. It is impossible that Mary is in the school.,There is a better than even chance that 'Daniel took the milk and Mary 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.7::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.5677135427085417,train,impossible,better than even,It is impossible that 'Daniel took the milk and Mary is in the school'.,There is a better than even chance that 'Daniel took the milk and Mary is in the school'.,0,'Daniel took the milk and Mary is in the school'. It is highly likely that Greg is a frog. It is unlikely that Bernhard is a swan. It is improbable that Brian is green.,There is a very good chance that either 'Greg 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.9::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.3912782556511302,train,very good chance,chances are slight,There is a very good chance that either 'Greg is a frog' or 'Brian is green' but not both.,Chances are slight that either 'Greg is a frog' or 'Brian is green' but not both.,1,Either 'Greg is a frog' or 'Brian is green' but not both. It is certain that Greg is a frog. We doubt that Mary went to the garden. There is little chance that Lily is a lion.,We believe 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 1.0::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.2,0.4348869773954791,train,unlikely,we believe,It is unlikely that 'Greg is a frog and Mary went to the garden'.,We believe that 'Greg is a frog and Mary went to the garden'.,0,'Greg is a frog and Mary went to the garden'. There is little chance that John left the milk. It is improbable that Sandra dropped the milk. It is likely that Lily is a frog.,It is unlikely that either 'Sandra dropped the milk' 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.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.4928985797159432,train,probable,unlikely,It is probable that either 'Sandra dropped the milk' or 'Lily is a frog' but not both.,It is unlikely that either 'Sandra dropped the milk' or 'Lily is a frog' but not both.,0,Either 'Sandra dropped the milk' or 'Lily is a frog' but not both. It is highly likely that Julius is a lion. It is impossible that Fred moved to the office. It is certain that Bernhard is a frog.,Chances are about even that 'Fred moved to the office 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.9::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.4338867773554711,train,impossible,about even,It is impossible that 'Fred moved to the office and Julius is a lion'.,Chances are about even that 'Fred moved to the office and Julius is a lion'.,0,'Fred moved to the office and Julius is a lion'. It is unlikely that Greg is a frog. It is improbable that Mary went to the office. It is improbable that Emily is a sheep.,It is probable that 'Mary went to the office' 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.27065413082616524,train,unlikely,probable,It is unlikely that 'Mary went to the office' or 'Emily is a sheep' or both.,It is probable that 'Mary went to the office' or 'Emily is a sheep' or both.,0,'Mary went to the office' or 'Emily is a sheep' or both. It is unlikely that Mary went to the bedroom. It is probably the case that Bernhard is green. It is probable that Brian is yellow.,It is improbable that 'Mary went to the bedroom 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.369873974794959,train,improbable,we believe,It is improbable that 'Mary went to the bedroom and Bernhard is green'.,We believe that 'Mary went to the bedroom and Bernhard is green'.,1,'Mary went to the bedroom and Bernhard is green'. It is probable that John put down the apple. It is probable that Bernhard is yellow. It is highly unlikely that Mary left the football.,Chances are about even that either 'Bernhard 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.7::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.5767153430686137,train,about even,almost no chance,Chances are about even that either 'Bernhard is yellow' or 'John put down the apple' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'John put down the apple' but not both.,1,Either 'Bernhard is yellow' or 'John put down the apple' but not both. We doubt that John discarded the apple. It is probably not the case that Daniel took the football. It is highly likely that Julius is gray.,It is impossible that 'John discarded the apple' 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.2::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.4,0.03980796159231846,train,about even,impossible,Chances are about even that 'John discarded the apple' or 'Daniel took the football' or both.,It is impossible that 'John discarded the apple' or 'Daniel took the football' or both.,0,'John discarded the apple' or 'Daniel took the football' or both. There is a better than even chance that John moved to the garden. It is probably not the case that Bernhard is yellow. Chances are about even that Jeff went to the bedroom.,It is highly unlikely 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.6::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.55,0.6575315063012602,train,better than even,highly unlikely,There is a better than even chance that either 'Bernhard is yellow' or 'John moved to the garden' but not both.,It is highly unlikely 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 almost certain that John went to the garden. There is a very good chance that Greg is a rhino. There is a better than even chance that Sandra put down the milk.,Chances are slight that 'John went to the garden and Sandra 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. 0.8::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.57,0.6255251050210042,train,better than even,chances are slight,There is a better than even chance that 'John went to the garden and Sandra put down the milk'.,Chances are slight that 'John went to the garden and Sandra put down the milk'.,0,'John went to the garden and Sandra put down the milk'. It is likely that Greg is yellow. It is highly likely that Julius is a swan. Chances are slight that Yann is thirsty.,Chances are slight that 'Julius is a swan and Greg is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.63,0.3092618523704741,train,better than even,chances are slight,There is a better than even chance that 'Julius is a swan and Greg is yellow'.,Chances are slight that 'Julius is a swan and Greg is yellow'.,0,'Julius is a swan and Greg is yellow'. There is a very good chance that Julius is yellow. It is improbable that Greg is gray. We believe that Bernhard is a swan.,It is likely that either 'Bernhard 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.8::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.5041008201640328,train,likely,almost no chance,It is likely that either 'Bernhard is a swan' or 'Greg is gray' but not both.,There is almost no chance that either 'Bernhard is a swan' or 'Greg is gray' but not both.,1,Either 'Bernhard is a swan' or 'Greg is gray' but not both. We doubt that Fred dropped the apple. We believe that John went to the bedroom. It is certain that Mary put down the milk.,It is certain that 'Fred dropped the apple' or 'Mary 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.2::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.11902380476095219,train,certain,highly unlikely,It is certain that 'Fred dropped the apple' or 'Mary put down the milk' or both.,It is highly unlikely that 'Fred dropped the apple' or 'Mary put down the milk' or both.,1,'Fred dropped the apple' or 'Mary put down the milk' or both. It is probable that Bernhard is a frog. It is improbable that John got the milk. It is almost certain that Mary moved to the garden.,It is highly unlikely 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.7::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.4414882976595319,train,probable,highly unlikely,It is probable that 'Mary moved to the garden and Bernhard is a frog'.,It is highly unlikely that 'Mary moved to the garden and Bernhard is a frog'.,0,'Mary moved to the garden and Bernhard is a frog'. It is likely that Gertrude is a cat. We believe that John took the football. It is probably not the case that Sumit is thirsty.,Chances are about even that 'Gertrude is a cat 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.7::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.0034006801360272057,train,about even,highly unlikely,Chances are about even that 'Gertrude is a cat and John took the football'.,It is highly unlikely that 'Gertrude is a cat and John took the football'.,1,'Gertrude is a cat and John took the football'. There is little chance that Winona is a mouse. Chances are slight that Daniel dropped the apple. It is highly unlikely that Brian is a frog.,It is likely that either 'Daniel dropped the apple' or 'Winona is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.03680736147229446,train,we doubt,likely,We doubt that either 'Daniel dropped the apple' or 'Winona is a mouse' but not both.,It is likely that either 'Daniel dropped the apple' or 'Winona is a mouse' but not both.,0,Either 'Daniel dropped the apple' or 'Winona is a mouse' but not both. There is almost no chance that Bill left the milk. It is certain that Julius is a frog. Chances are about even that Bernhard is a swan.,It is certain that either 'Bill left the milk' 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.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.98,0.5569113822764553,train,certain,improbable,It is certain that either 'Bill left the milk' or 'Julius is a frog' but not both.,It is improbable that either 'Bill left the milk' or 'Julius is a frog' but not both.,1,Either 'Bill left the milk' or 'Julius is a frog' but not both. It is unlikely that Jessica is a cat. It is improbable that John got the apple. It is probably not the case that Gertrude is a sheep.,It is probably not the case that 'John got 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 0.2::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.7901580316063213,train,probably not,almost certain,It is probably not the case that 'John got the apple' or 'Jessica is a cat' or both.,It is almost certain that 'John got the apple' or 'Jessica is a cat' or both.,1,'John got the apple' or 'Jessica is a cat' or both. It is likely that Mary picked up the apple. It is highly likely that Lily is a rhino. There is little chance that John went to the bedroom.,It is impossible that either 'Lily is a rhino' 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.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.12382476495299059,train,very good chance,impossible,There is a very good chance that either 'Lily is a rhino' or 'John went to the bedroom' but not both.,It is impossible that either 'Lily is a rhino' or 'John went to the bedroom' but not both.,0,Either 'Lily is a rhino' or 'John went to the bedroom' but not both. There is a better than even chance that Bernhard is green. It is probably not the case that Sandra took the football. It is certain that Fred went to the garden.,There is almost no chance that 'Bernhard 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.6::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.6,0.6081216243248649,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is green and Fred went to the garden'.,There is almost no chance that 'Bernhard is green and Fred went to the garden'.,0,'Bernhard is green and Fred went to the garden'. We doubt that Julius is a swan. There is little chance that Brian is a lion. There is little chance that Emily is a mouse.,There is a very good chance that 'Brian is a lion' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.2608521704340868,train,probably not,very good chance,It is probably not the case that 'Brian is a lion' or 'Julius is a swan' or both.,There is a very good chance that 'Brian is a lion' or 'Julius is a swan' or both.,0,'Brian is a lion' or 'Julius is a swan' or both. It is unlikely that John picked up the apple. There is almost no chance that Bernhard is a lion. It is certain that Winona is a wolf.,It is impossible that either 'Winona is a wolf' 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.2::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.6509301860372074,train,very good chance,impossible,There is a very good chance that either 'Winona is a wolf' or 'John picked up the apple' but not both.,It is impossible that either 'Winona is a wolf' or 'John picked up the apple' but not both.,0,Either 'Winona is a wolf' or 'John picked up the apple' but not both. We doubt that Sandra grabbed the apple. It is improbable that Lily is yellow. It is unlikely that Greg is a rhino.,It is certain that 'Greg is a rhino 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.04000000000000001,0.7093418683736747,train,highly unlikely,certain,It is highly unlikely that 'Greg is a rhino and Sandra grabbed the apple'.,It is certain that 'Greg is a rhino and Sandra grabbed the apple'.,0,'Greg is a rhino and Sandra grabbed the apple'. It is impossible that Mary dropped the milk. It is probably the case that Lily is white. It is probable that John got the apple.,It is likely that 'John got the apple 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.504500900180036,train,impossible,likely,It is impossible that 'John got the apple and Mary dropped the milk'.,It is likely that 'John got the apple and Mary dropped the milk'.,0,'John got the apple and Mary dropped the milk'. We believe that Jessica is a mouse. We believe that Greg is a swan. It is unlikely that Winona is a cat.,It is improbable that 'Winona is a cat 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.75::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.33826765353070615,train,improbable,probably,It is improbable that 'Winona is a cat and Jessica is a mouse'.,It is probably the case that 'Winona is a cat and Jessica is a mouse'.,1,'Winona is a cat and Jessica is a mouse'. It is probably the case that John went to the kitchen. There is almost no chance that Greg is a frog. We believe that Mary grabbed the milk.,It is probably the case that 'Greg is a frog 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.02::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.014999999999999998,0.15143028605721146,train,almost no chance,probably,There is almost no chance that 'Greg is a frog and Mary grabbed the milk'.,It is probably the case that 'Greg is a frog and Mary grabbed the milk'.,0,'Greg is a frog and Mary grabbed the milk'. It is probably the case that Greg is a swan. It is improbable that Mary took the football. It is highly unlikely that Brian is a frog.,It is probable 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.7::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.14500000000000002,0.6831366273254651,train,little chance,probable,There is little chance that 'Brian is a frog' or 'Mary took the football' or both.,It is probable 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 Bill moved to the office. It is probably the case that Bernhard is yellow. It is unlikely that Mary discarded the apple.,It is almost certain that either 'Bill moved to the office' 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.05::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.23,0.21284256851370273,train,probably not,almost certain,It is probably not the case that either 'Bill moved to the office' or 'Mary discarded the apple' but not both.,It is almost certain that either 'Bill moved to the office' or 'Mary discarded the apple' but not both.,0,Either 'Bill moved to the office' or 'Mary discarded the apple' but not both. We doubt that Jessica is a sheep. It is improbable that Daniel got the football. It is unlikely that Mary is in the school.,It is highly likely that 'Jessica is a sheep' or 'Mary 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.36000000000000004,0.5103020604120824,train,probably not,highly likely,It is probably not the case that 'Jessica is a sheep' or 'Mary is in the school' or both.,It is highly likely that 'Jessica is a sheep' or 'Mary is in the school' or both.,0,'Jessica is a sheep' or 'Mary is in the school' or both. It is probable that Bernhard is green. It is certain that Mary picked up the milk. There is a very good chance that Fred went to the garden.,It is certain that 'Bernhard is green' 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.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.493498699739948,train,certain,unlikely,It is certain that 'Bernhard is green' or 'Mary picked up the milk' or both.,It is unlikely that 'Bernhard is green' or 'Mary picked up the milk' or both.,1,'Bernhard is green' or 'Mary picked up the milk' or both. It is certain that Bernhard is gray. It is impossible that Lily is a rhino. It is probable that John went to the office.,It is impossible that 'Lily is a rhino and John went to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.0058011602320464095,train,impossible,we believe,It is impossible that 'Lily is a rhino and John went to the office'.,We believe that 'Lily is a rhino and John went to the office'.,1,'Lily is a rhino and John went to the office'. It is probably not the case that Jessica is a mouse. Chances are about even that Mary grabbed the milk. It is probable that Greg is a swan.,It is probable that 'Jessica is a mouse 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.25::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.175,0.46029205841168236,train,we doubt,probable,We doubt that 'Jessica is a mouse and Greg is a swan'.,It is probable that 'Jessica is a mouse and Greg is a swan'.,0,'Jessica is a mouse and Greg is a swan'. There is a very good chance that John dropped the apple. It is probably the case that Lily is a rhino. There is little chance that Greg is gray.,It is highly likely that 'Greg is gray 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.16983396679335866,train,highly unlikely,highly likely,It is highly unlikely that 'Greg is gray and Lily is a rhino'.,It is highly likely that 'Greg is gray and Lily is a rhino'.,0,'Greg is gray and Lily is a rhino'. We doubt that Lily is white. There is a very good chance that John picked up the apple. Chances are slight that Bernhard is a rhino.,We believe that either 'John picked up 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.2::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.5895179035807161,train,we believe,we doubt,We believe that either 'John picked up the apple' or 'Bernhard is a rhino' but not both.,We doubt that either 'John picked up the apple' or 'Bernhard is a rhino' but not both.,1,Either 'John picked up the apple' or 'Bernhard is a rhino' but not both. It is highly likely that Bernhard is yellow. Chances are about even that Brian is a swan. It is improbable that Lily is a lion.,There is a very good chance that either 'Bernhard 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.9::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.6355271054210843,train,very good chance,almost no chance,There is a very good chance that either 'Bernhard is yellow' or 'Lily is a lion' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Lily is a lion' but not both.,1,Either 'Bernhard is yellow' or 'Lily is a lion' but not both. We believe that Sandra dropped the milk. It is likely that John moved to the office. We doubt that Julius is gray.,It is improbable 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.75::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.23184636927385477,train,improbable,likely,It is improbable that 'Julius is gray and Sandra dropped the milk'.,It is likely that 'Julius is gray and Sandra dropped the milk'.,1,'Julius is gray and Sandra dropped the milk'. We doubt that Lily is a swan. Chances are slight that John got the milk. Chances are slight that Yann is hungry.,There is a better than even chance that 'Lily 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.3622724544908982,train,almost no chance,better than even,There is almost no chance that 'Lily is a swan and Yann is hungry'.,There is a better than even chance that 'Lily is a swan and Yann is hungry'.,0,'Lily is a swan and Yann is hungry'. It is impossible that Bernhard is white. It is almost certain that Bill went to the office. It is almost certain that Brian is a swan.,It is probably not the case that 'Bernhard is white' 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.0::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.95,0.6805361072214443,train,almost certain,probably not,It is almost certain that 'Bernhard is white' or 'Brian is a swan' or both.,It is probably not the case that 'Bernhard is white' or 'Brian is a swan' or both.,0,'Bernhard is white' or 'Brian is a swan' or both. It is impossible that Julius is a frog. It is improbable that Mary put down the milk. We believe that Brian is yellow.,There is little chance that 'Brian is yellow' or 'Mary 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.0::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.4368873774754951,train,we believe,little chance,We believe that 'Brian is yellow' or 'Mary put down the milk' or both.,There is little chance that 'Brian is yellow' or 'Mary put down the milk' or both.,0,'Brian is yellow' or 'Mary put down the milk' or both. We believe that Winona is a sheep. It is improbable that Fred went to the garden. It is probably not the case that Julius is a swan.,It is certain that 'Julius 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.75::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.325,0.5919183836767353,train,probably not,certain,It is probably not the case that 'Julius is a swan' or 'Fred went to the garden' or both.,It is certain that 'Julius is a swan' or 'Fred went to the garden' or both.,0,'Julius is a swan' or 'Fred went to the garden' or both. We believe that Julius is a rhino. It is probably not the case that Greg is a frog. It is probable that Lily is white.,There is little chance that either 'Greg is a frog' 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.75::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.33766753350670137,train,better than even,little chance,There is a better than even chance that either 'Greg is a frog' or 'Lily is white' but not both.,There is little chance that either 'Greg is a frog' or 'Lily is white' but not both.,0,Either 'Greg is a frog' or 'Lily is white' but not both. It is impossible that John took the apple. It is highly likely that Jeff moved to the office. There is a better than even chance that Bernhard is white.,It is unlikely that either 'Jeff moved to the office' 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.9::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9,0.5665133026605321,train,highly likely,unlikely,It is highly likely that either 'Jeff moved to the office' or 'John took the apple' but not both.,It is unlikely that either 'Jeff moved to the office' or 'John took the apple' but not both.,0,Either 'Jeff moved to the office' or 'John took the apple' but not both. It is highly unlikely that Mary moved to the office. It is improbable that Jason is tired. It is impossible that John went to the kitchen.,It is highly unlikely that 'John went to the kitchen' 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.1::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.05000000000000001,0.3292658531706341,train,highly unlikely,probably,It is highly unlikely that 'John went to the kitchen' or 'Mary moved to the office' or both.,It is probably the case that 'John went to the kitchen' or 'Mary moved to the office' or both.,1,'John went to the kitchen' or 'Mary moved to the office' or both. It is impossible that Lily is white. Chances are slight that Bill went to the office. There is a very good chance that Julius is a frog.,It is probably the case that 'Julius 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.1::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.6797359471894379,train,impossible,probably,It is impossible that 'Julius is a frog and Lily is white'.,It is probably the case that 'Julius is a frog and Lily is white'.,0,'Julius is a frog and Lily is white'. There is a very good chance that John went to the garden. There is a very good chance that Brian is a swan. There is almost no chance that Lily is gray.,It is almost certain that 'Brian is a swan' 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.8::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9600000000000001,0.671134226845369,train,almost certain,probably not,It is almost certain that 'Brian is a swan' or 'John went to the garden' or both.,It is probably not the case that 'Brian is a swan' or 'John went to the garden' or both.,1,'Brian is a swan' or 'John went to the garden' or both. It is probably the case that John went to the office. We doubt that Lily is white. It is improbable that Greg is a frog.,It is likely that either 'John went 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.7711542308461692,train,likely,we doubt,It is likely that either 'John went to the office' or 'Greg is a frog' but not both.,We doubt that either 'John went to the office' or 'Greg is a frog' but not both.,1,Either 'John went to the office' or 'Greg is a frog' but not both. Chances are slight that Greg is a rhino. It is highly unlikely that Mary picked up the milk. It is impossible that Bernhard is gray.,It is improbable that 'Mary picked up 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.1::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.14500000000000002,0.5257051410282056,train,improbable,certain,It is improbable that 'Mary picked up the milk' or 'Greg is a rhino' or both.,It is certain that 'Mary picked up the milk' or 'Greg is a rhino' or both.,1,'Mary picked up the milk' or 'Greg is a rhino' or both. It is likely that Bernhard is a rhino. It is unlikely that John went to the hallway. Chances are slight that Julius is gray.,It is probably not the case that either 'Julius 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.44488897779555914,train,probably not,very good chance,It is probably not the case that either 'Julius is gray' or 'John went to the hallway' but not both.,There is a very good chance that either 'Julius is gray' or 'John went to the hallway' but not both.,1,Either 'Julius is gray' or 'John went to the hallway' but not both. It is almost certain that Lily is white. It is improbable that John went to the office. It is probable that Mary got the football.,It is probably the case that 'John went to the office and Mary got the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.6915383076615323,train,highly unlikely,probably,It is highly unlikely that 'John went to the office and Mary got the football'.,It is probably the case that 'John went to the office and Mary got the football'.,0,'John went to the office and Mary got the football'. It is probably the case that Bernhard is yellow. There is almost no chance that John took the milk. It is unlikely that Julius is a lion.,There is a better than even chance that 'Bernhard is yellow 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.02::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.28605721144228846,train,little chance,better than even,There is little chance that 'Bernhard is yellow and Julius is a lion'.,There is a better than even chance that 'Bernhard is yellow and Julius is a lion'.,0,'Bernhard is yellow and Julius is a lion'. It is highly unlikely that Brian is a rhino. There is a better than even chance that Greg is a lion. It is probably the case that Julius is a swan.,It is impossible that either 'Julius 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.05::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.3102620524104821,train,probable,impossible,It is probable that either 'Julius is a swan' or 'Brian is a rhino' but not both.,It is impossible that either 'Julius is a swan' or 'Brian is a rhino' but not both.,0,Either 'Julius is a swan' or 'Brian is a rhino' but not both. There is a better than even chance that Mary dropped the milk. It is improbable that Brian is a swan. It is certain that Julius is a lion.,It is likely that 'Julius 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.6::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.31926385277055414,train,improbable,likely,It is improbable that 'Julius is a lion and Brian is a swan'.,It is likely that 'Julius is a lion and Brian is a swan'.,0,'Julius is a lion and Brian is a swan'. It is probably not the case that Bernhard is a frog. Chances are about even that Greg is gray. It is almost certain that Julius is white.,It is almost certain that either 'Julius 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.25::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.6545309061812362,train,about even,almost certain,Chances are about even that either 'Julius is white' or 'Greg is gray' but not both.,It is almost certain that either 'Julius is white' or 'Greg is gray' but not both.,0,Either 'Julius is white' or 'Greg is gray' but not both. There is almost no chance that Bernhard is a rhino. It is impossible that Brian is a lion. It is almost certain that Greg is gray.,It is almost certain that 'Greg 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.02::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.951,0.25925185037007403,train,almost certain,unlikely,It is almost certain that 'Greg is gray' or 'Bernhard is a rhino' or both.,It is unlikely that 'Greg is gray' or 'Bernhard is a rhino' or both.,1,'Greg is gray' or 'Bernhard is a rhino' or both. It is highly unlikely that Greg is white. It is probable that Mary took the football. It is probably the case that Bernhard is green.,It is almost certain that 'Mary took 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.05::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.48999999999999994,0.32026405281056214,train,about even,almost certain,Chances are about even that 'Mary took the football and Bernhard is green'.,It is almost certain that 'Mary took the football and Bernhard is green'.,0,'Mary took the football and Bernhard is green'. It is probable that Emily is a wolf. It is unlikely that Lily is a lion. It is almost certain that Bernhard is a frog.,It is certain that 'Emily is a wolf' 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.2::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.985,0.6303260652130426,train,certain,about even,It is certain that 'Emily is a wolf' or 'Bernhard is a frog' or both.,Chances are about even that 'Emily is a wolf' or 'Bernhard is a frog' or both.,1,'Emily is a wolf' or 'Bernhard is a frog' or both. We believe that Brian is a rhino. It is probable that Mary went to the office. It is probably the case that Gertrude is a mouse.,It is unlikely 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.75::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.35267053410682137,train,almost certain,unlikely,It is almost certain that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,It is unlikely that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,0,'Gertrude is a mouse' or 'Brian is a rhino' or both. It is probably the case that Greg is a swan. It is impossible that John took the football. We doubt that Mary went to the kitchen.,It is certain that 'Mary went to the kitchen 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.7::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.5663132626525305,train,impossible,certain,It is impossible that 'Mary went to the kitchen and John took the football'.,It is certain that 'Mary went to the kitchen and John took the football'.,0,'Mary went to the kitchen and John took the football'. It is probably the case that Lily is a swan. It is unlikely that Greg is a rhino. Chances are about even that Bernhard is yellow.,It is probably not the case that 'Lily 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.2::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.7691538307661532,train,probably not,certain,It is probably not the case that 'Lily is a swan and Bernhard is yellow'.,It is certain that 'Lily is a swan and Bernhard is yellow'.,1,'Lily is a swan and Bernhard is yellow'. It is highly unlikely that Sandra left the football. It is highly likely that John discarded the apple. It is almost certain that Mary moved to the office.,There is little chance that either 'John discarded 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.05::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.14000000000000004,0.579115823164633,train,little chance,almost certain,There is little chance that either 'John discarded the apple' or 'Mary moved to the office' but not both.,It is almost certain that either 'John discarded the apple' or 'Mary moved to the office' but not both.,1,Either 'John discarded the apple' or 'Mary moved to the office' but not both. There is a very good chance that Jason is tired. There is a very good chance that Julius is a swan. There is little chance that John got the apple.,There is little chance that 'John got the apple 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.8::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.3694738947789558,train,little chance,certain,There is little chance that 'John got the apple and Jason is tired'.,It is certain that 'John got the apple and Jason is tired'.,1,'John got the apple and Jason is tired'. It is certain that Bernhard is a frog. It is highly unlikely that Fred went to the garden. It is almost certain that Julius is yellow.,Chances are about even that either 'Fred 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 1.0::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.95,0.7989597919583917,train,almost certain,about even,It is almost certain that either 'Fred went to the garden' or 'Bernhard is a frog' but not both.,Chances are about even that either 'Fred went to the garden' or 'Bernhard is a frog' but not both.,0,Either 'Fred went to the garden' or 'Bernhard is a frog' but not both. It is highly likely that Greg is a swan. It is certain that Mary discarded the milk. There is almost no chance that John went to the garden.,There is a very good chance that either 'Mary discarded the milk' or 'Greg is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.09999999999999998,0.391878375675135,train,improbable,very good chance,It is improbable that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,There is a very good chance that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,0,Either 'Mary discarded the milk' or 'Greg is a swan' but not both. It is highly likely that Brian is green. There is a better than even chance that Julius is a frog. It is unlikely that Mary left the football.,Chances are slight that either 'Mary 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.9::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5599999999999999,0.6539307861572314,train,better than even,chances are slight,There is a better than even chance that either 'Mary left the football' or 'Julius is a frog' but not both.,Chances are slight that either 'Mary left the football' or 'Julius is a frog' but not both.,0,Either 'Mary left the football' or 'Julius is a frog' but not both. There is a better than even chance that Brian is a swan. Chances are slight that Antoine is bored. We believe that Julius is a frog.,It is improbable that 'Julius is a frog and Antoine 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.6::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07500000000000002,0.08341668333666734,train,improbable,we believe,It is improbable that 'Julius is a frog and Antoine is bored'.,We believe that 'Julius is a frog and Antoine is bored'.,1,'Julius is a frog and Antoine is bored'. It is certain that Greg is yellow. There is almost no chance that Gertrude is a cat. It is probably the case that Julius is white.,It is probably not the case that either 'Greg 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 1.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.0620124024804961,train,probably not,certain,It is probably not the case that either 'Greg is yellow' or 'Julius is white' but not both.,It is certain that either 'Greg is yellow' or 'Julius is white' but not both.,1,Either 'Greg is yellow' or 'Julius is white' but not both. It is probably not the case that Jeff put down the milk. It is highly likely that Mary left the milk. We believe that Lily is a frog.,There is a better than even chance that either 'Jeff put down the milk' 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.9::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.625,0.5125025005001,train,better than even,improbable,There is a better than even chance that either 'Jeff put down the milk' or 'Lily is a frog' but not both.,It is improbable that either 'Jeff put down the milk' or 'Lily is a frog' but not both.,1,Either 'Jeff put down the milk' or 'Lily is a frog' but not both. It is highly likely that Mary discarded the milk. There is a very good chance that Bill went to the garden. It is probable that Yann is thirsty.,It is improbable that 'Bill went to the garden 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.9::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7200000000000001,0.3626725345069014,train,likely,improbable,It is likely that 'Bill went to the garden and Mary discarded the milk'.,It is improbable that 'Bill went to the garden and Mary discarded the milk'.,0,'Bill went to the garden and Mary discarded the milk'. Chances are slight that John got the football. It is impossible that Mary went to the bedroom. It is highly unlikely that Brian is yellow.,It is probable that either 'John got the football' 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.0::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.3232646529305861,train,little chance,probable,There is little chance that either 'John got the football' or 'Brian is yellow' but not both.,It is probable that either 'John got the football' or 'Brian is yellow' but not both.,0,Either 'John got the football' or 'Brian is yellow' but not both. There is a very good chance that Bernhard is white. There is little chance that Julius is a swan. It is probably the case that Yann is tired.,Chances are slight that 'Bernhard is white 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.8::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.39427885577115424,train,chances are slight,probable,Chances are slight that 'Bernhard is white and Julius is a swan'.,It is probable that 'Bernhard is white and Julius is a swan'.,1,'Bernhard is white and Julius is a swan'. It is almost certain that Lily is a swan. It is unlikely that John went to the garden. There is a very good chance that Sandra took the football.,Chances are slight that 'Sandra took 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.95::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8400000000000001,0.024004800960192037,train,very good chance,chances are slight,There is a very good chance that 'Sandra took the football' or 'John went to the garden' or both.,Chances are slight that 'Sandra took the football' or 'John went to the garden' or both.,0,'Sandra took the football' or 'John went to the garden' or both. It is highly likely that Daniel left the apple. We doubt that Jeff went to the bedroom. Chances are slight that Bernhard is green.,There is almost no chance that 'Jeff went to the bedroom' 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.9::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.92,0.6955391078215644,train,highly likely,almost no chance,It is highly likely that 'Jeff went to the bedroom' or 'Daniel left the apple' or both.,There is almost no chance that 'Jeff went to the bedroom' or 'Daniel left the apple' or both.,0,'Jeff went to the bedroom' or 'Daniel left the apple' or both. It is impossible that John dropped the apple. There is little chance that Mary moved to the garden. There is a better than even chance that Brian is yellow.,It is impossible that 'John dropped the apple 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. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.5933186637327466,train,impossible,very good chance,It is impossible that 'John dropped the apple and Mary moved to the garden'.,There is a very good chance that 'John dropped the apple and Mary moved to the garden'.,1,'John dropped the apple and Mary moved to the garden'. It is highly unlikely that Mary left the football. It is impossible that Bernhard is a swan. There is a very good chance that Lily is a frog.,It is highly likely that 'Lily 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.05::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.3054610922184437,train,impossible,highly likely,It is impossible that 'Lily is a frog and Bernhard is a swan'.,It is highly likely that 'Lily is a frog and Bernhard is a swan'.,0,'Lily is a frog and Bernhard is a swan'. It is probably the case that John took the apple. Chances are about even that Brian is a rhino. We believe that Bernhard is a lion.,It is probably not the case that 'John took 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.7::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.1764352870574115,train,probably not,very good chance,It is probably not the case that 'John took the apple and Brian is a rhino'.,There is a very good chance that 'John took the apple and Brian is a rhino'.,1,'John took the apple and Brian is a rhino'. We doubt that Daniel left the apple. It is improbable that Brian is yellow. It is probable that John moved to the garden.,There is almost no chance that 'Daniel left 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.73874774954991,train,almost no chance,probable,There is almost no chance that 'Daniel left the apple and Brian is yellow'.,It is probable that 'Daniel left the apple and Brian is yellow'.,1,'Daniel left the apple and Brian is yellow'. There is almost no chance that Fred moved to the office. It is almost certain that Gertrude is a cat. We doubt that Brian is green.,Chances are slight 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.02::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.16163232646529305,train,almost certain,chances are slight,It is almost certain that 'Gertrude is a cat' or 'Brian is green' or both.,Chances are slight 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 John went to the hallway. It is probable that Sandra took the milk. There is a very good chance that Brian is a frog.,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.2::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.1220244048809762,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. It is probably the case that Mary discarded the apple. It is impossible that Winona is a mouse. It is certain that John went to the hallway.,It is impossible that 'Winona is a mouse 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.0::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.5203040608121624,train,impossible,better than even,It is impossible that 'Winona is a mouse and John went to the hallway'.,There is a better than even chance that 'Winona is a mouse and John went to the hallway'.,1,'Winona is a mouse and John went to the hallway'. We doubt that Brian is green. It is probably the case that Bernhard is a frog. We believe that Julius is a lion.,Chances are slight that either 'Julius 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.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.65,0.2426485297059412,train,probable,chances are slight,It is probable that either 'Julius is a lion' or 'Brian is green' but not both.,Chances are slight that either 'Julius is a lion' or 'Brian is green' but not both.,0,Either 'Julius is a lion' or 'Brian is green' but not both. It is probable that Brian is white. It is probably the case that John left the apple. It is probable that Bernhard is yellow.,Chances are about even that either 'Bernhard is yellow' or 'John left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.15803160632126426,train,about even,almost no chance,Chances are about even that either 'Bernhard is yellow' or 'John left the apple' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'John left the apple' but not both.,1,Either 'Bernhard is yellow' or 'John left the apple' but not both. We doubt that Winona is a mouse. There is a better than even chance that Mary moved to the garden. It is unlikely that Greg is yellow.,It is probable that 'Winona 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.6::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.36000000000000004,0.23024604920984196,train,probably not,probable,It is probably not the case that 'Winona is a mouse' or 'Greg is yellow' or both.,It is probable that 'Winona is a mouse' or 'Greg is yellow' or both.,0,'Winona is a mouse' or 'Greg is yellow' or both. It is highly unlikely that Greg is a swan. It is probably not the case that Fred went to the garden. It is highly unlikely that Antoine is hungry.,It is probably not the case that either 'Greg is a swan' 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.05::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.27499999999999997,0.040808161632326465,train,probably not,we believe,It is probably not the case that either 'Greg is a swan' or 'Fred went to the garden' but not both.,We believe that either 'Greg is a swan' or 'Fred went to the garden' but not both.,1,Either 'Greg is a swan' or 'Fred went to the garden' but not both. It is highly likely that Bernhard is green. It is certain that Mary got the milk. It is likely that Greg is a swan.,There is a better than even chance that 'Bernhard 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 0.9::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.63,0.3684736947389478,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is green and Greg is a swan'.,There is almost no chance that 'Bernhard is green and Greg is a swan'.,1,'Bernhard is green and Greg is a swan'. There is little chance that Daniel got the milk. There is almost no chance that Julius is yellow. There is a very good chance that Gertrude is a cat.,There is almost no chance that 'Julius 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.02::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.01600000000000001,0.752750550110022,train,almost no chance,probable,There is almost no chance that 'Julius is yellow and Gertrude is a cat'.,It is probable that 'Julius is yellow and Gertrude is a cat'.,1,'Julius is yellow and Gertrude is a cat'. There is little chance that Brian is a rhino. Chances are slight that John discarded the apple. It is probable that Sandra dropped the milk.,There is little chance that 'John discarded the apple' or 'Sandra dropped the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.09661932386477295,train,we believe,little chance,We believe that 'John discarded the apple' or 'Sandra dropped the milk' or both.,There is little chance that 'John discarded the apple' or 'Sandra dropped the milk' or both.,0,'John discarded the apple' or 'Sandra dropped the milk' or both. There is a very good chance that John took the football. It is unlikely that Lily is a rhino. It is probably not the case that Gertrude is a cat.,It is highly unlikely that 'Lily is a rhino 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.8::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.5215043008601721,train,highly unlikely,probable,It is highly unlikely that 'Lily is a rhino and Gertrude is a cat'.,It is probable that 'Lily is a rhino and Gertrude is a cat'.,1,'Lily is a rhino and Gertrude is a cat'. It is probable that Fred left the apple. It is probable that Greg is a lion. It is certain that Winona is a mouse.,It is highly likely that 'Fred 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.7::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9099999999999999,0.20204040808161633,train,highly likely,little chance,It is highly likely that 'Fred left the apple' or 'Greg is a lion' or both.,There is little chance that 'Fred left the apple' or 'Greg is a lion' or both.,1,'Fred left the apple' or 'Greg is a lion' or both. It is probably not the case that Yann is bored. There is a better than even chance that Fred is in the school. It is probably not the case that Brian is white.,It is almost certain that 'Fred is in the school 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.6::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.15,0.5329065813162632,train,improbable,almost certain,It is improbable that 'Fred is in the school and Brian is white'.,It is almost certain that 'Fred is in the school and Brian is white'.,0,'Fred is in the school and Brian is white'. Chances are about even that Bernhard is green. It is probable that John dropped the milk. Chances are slight that Brian is a swan.,We doubt that either 'John dropped 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.5::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.3540708141628326,train,likely,we doubt,It is likely that either 'John dropped the milk' or 'Brian is a swan' but not both.,We doubt that either 'John dropped the milk' or 'Brian is a swan' but not both.,0,Either 'John dropped the milk' or 'Brian is a swan' but not both. It is impossible that Mary went to the kitchen. There is little chance that Greg is a rhino. Chances are about even that Brian is white.,Chances are about even that either 'Brian is white' 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.0::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.3836767353470694,train,about even,almost certain,Chances are about even that either 'Brian is white' or 'Mary went to the kitchen' but not both.,It is almost certain that either 'Brian is white' or 'Mary went to the kitchen' but not both.,1,Either 'Brian is white' or 'Mary went to the kitchen' but not both. It is highly likely that Julius is a lion. Chances are about even that Greg is a swan. It is probable that Mary went to the kitchen.,It is probably not the case 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.9::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.27045409081816363,train,probably not,certain,It is probably not the case that 'Greg is a swan and Mary went to the kitchen'.,It is certain 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 the case that John left the apple. It is improbable that Bernhard is yellow. It is likely that Greg is a lion.,It is improbable that either 'Bernhard 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.3406681336267253,train,probable,improbable,It is probable that either 'Bernhard is yellow' or 'Greg is a lion' but not both.,It is improbable that either 'Bernhard is yellow' or 'Greg is a lion' but not both.,0,Either 'Bernhard is yellow' or 'Greg is a lion' but not both. It is unlikely that Jason is bored. We doubt that Bill left the milk. It is probably the case that Greg is a rhino.,Chances are slight that 'Jason is bored' or 'Greg is a rhino' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.76,0.7931586317263453,train,we believe,chances are slight,We believe that 'Jason is bored' or 'Greg is a rhino' or both.,Chances are slight that 'Jason is bored' or 'Greg is a rhino' or both.,0,'Jason is bored' or 'Greg is a rhino' or both. There is little chance that Bernhard is a swan. Chances are about even that Mary left the milk. Chances are slight that Jeff dropped the apple.,There is little chance that 'Mary left the milk' 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.1::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.55,0.4936987397479496,train,better than even,little chance,There is a better than even chance that 'Mary left the milk' or 'Jeff dropped the apple' or both.,There is little chance that 'Mary left the milk' or 'Jeff dropped the apple' or both.,0,'Mary left the milk' or 'Jeff dropped the apple' or both. It is almost certain that Bernhard is a swan. There is little chance that Mary is in the bathroom. We believe that Greg is white.,It is probably the case that 'Bernhard 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.1::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.6345269053810763,train,probably,improbable,It is probably the case that 'Bernhard is a swan and Greg is white'.,It is improbable that 'Bernhard is a swan and Greg is white'.,1,'Bernhard is a swan and Greg is white'. We doubt that Sumit is tired. Chances are slight that Fred put down the apple. It is unlikely that Lily is a swan.,There is almost no chance that 'Fred put down 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.5795159031806362,train,almost no chance,probably,There is almost no chance that 'Fred put down the apple and Lily is a swan'.,It is probably the case that 'Fred put down the apple and Lily is a swan'.,1,'Fred put down the apple and Lily is a swan'. It is likely that Bernhard is a frog. It is probably not the case that Greg is yellow. It is likely that Brian is green.,It is impossible that either 'Brian is green' 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.25::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.6919383876775355,train,better than even,impossible,There is a better than even chance that either 'Brian is green' or 'Greg is yellow' but not both.,It is impossible that either 'Brian is green' or 'Greg is yellow' but not both.,0,Either 'Brian is green' or 'Greg is yellow' but not both. It is impossible that Mary went to the office. Chances are slight that Bernhard is a swan. It is probably the case that Greg is a lion.,There is a better than even chance that 'Greg is a lion 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.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.3178635727145429,train,impossible,better than even,It is impossible that 'Greg is a lion and Mary went to the office'.,There is a better than even chance that 'Greg is a lion and Mary went to the office'.,0,'Greg is a lion and Mary went to the office'. It is probably not the case that Mary took the milk. It is unlikely that Bernhard is yellow. It is highly likely that Greg is a swan.,It is highly likely that 'Greg is a swan and Bernhard is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.18000000000000002,0.6737347469493898,train,unlikely,highly likely,It is unlikely that 'Greg is a swan and Bernhard is yellow'.,It is highly likely that 'Greg is a swan and Bernhard is yellow'.,0,'Greg is a swan and Bernhard is yellow'. It is impossible that Greg is a frog. It is probably the case that John took the football. It is certain that Jessica is a cat.,It is certain that either 'Jessica 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.0::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",1.0,0.34806961392278457,train,certain,we doubt,It is certain that either 'Jessica is a cat' or 'Greg is a frog' but not both.,We doubt that either 'Jessica is a cat' or 'Greg is a frog' but not both.,1,Either 'Jessica is a cat' or 'Greg is a frog' but not both. Chances are slight that Lily is white. There is a very good chance that Greg is a lion. There is little chance that Bernhard is gray.,It is highly likely 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.1::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.08000000000000002,0.1998399679935987,train,little chance,highly likely,There is little chance that 'Greg is a lion and Bernhard is gray'.,It is highly likely that 'Greg is a lion and Bernhard is gray'.,0,'Greg is a lion and Bernhard is gray'. Chances are about even that Brian is gray. We doubt that Lily is a rhino. There is a better than even chance that Bill went to the garden.,It is certain that either 'Lily 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.5::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.6547309461892379,train,about even,certain,Chances are about even that either 'Lily is a rhino' or 'Brian is gray' but not both.,It is certain that either 'Lily is a rhino' or 'Brian is gray' but not both.,0,Either 'Lily is a rhino' or 'Brian is gray' but not both. It is probably not the case that Greg is gray. It is impossible that Lily is a swan. It is certain that Jessica is a cat.,It is probable that 'Lily 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.0::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.7219443888777756,train,impossible,probable,It is impossible that 'Lily is a swan and Jessica is a cat'.,It is probable that 'Lily is a swan and Jessica is a cat'.,0,'Lily is a swan and Jessica is a cat'. It is probably not the case that Lily is a swan. Chances are slight that Julius is gray. It is almost certain that Greg is a swan.,It is highly likely 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.25::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.86,0.26205241048209643,train,highly likely,improbable,It is highly likely that either 'Julius is gray' or 'Greg is a swan' but not both.,It is improbable that either 'Julius is gray' or 'Greg is a swan' but not both.,1,Either 'Julius is gray' or 'Greg is a swan' but not both. Chances are slight that Mary dropped the apple. Chances are slight that Greg is a swan. It is certain that Julius is a frog.,Chances are slight that 'Julius is a frog' 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.1::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.32686537307461494,train,certain,chances are slight,It is certain that 'Julius is a frog' or 'Mary dropped the apple' or both.,Chances are slight that 'Julius is a frog' or 'Mary dropped the apple' or both.,0,'Julius is a frog' or 'Mary dropped the apple' or both. It is impossible that Daniel grabbed the milk. It is unlikely that Jessica is a cat. It is unlikely that Sumit is thirsty.,It is highly likely that either 'Sumit is thirsty' 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.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.3640728145629126,train,we doubt,highly likely,We doubt that either 'Sumit is thirsty' or 'Daniel grabbed the milk' but not both.,It is highly likely that either 'Sumit is thirsty' or 'Daniel grabbed the milk' but not both.,0,Either 'Sumit is thirsty' or 'Daniel grabbed the milk' but not both. It is probably not the case that Brian is a swan. It is certain that Greg is a rhino. It is highly unlikely that Lily is a lion.,It is almost certain 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.25::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.6063212642528506,train,almost certain,little chance,It is almost certain that either 'Lily is a lion' or 'Greg is a rhino' but not both.,There is little chance 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 improbable that Antoine is thirsty. Chances are about even that John put down the apple. It is highly likely that Mary went to the bedroom.,It is likely that 'Antoine is thirsty 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.5::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.3736747349469894,train,chances are slight,likely,Chances are slight that 'Antoine is thirsty and Mary went to the bedroom'.,It is likely that 'Antoine is thirsty and Mary went to the bedroom'.,0,'Antoine is thirsty and Mary went to the bedroom'. It is unlikely that John dropped the apple. We doubt that Mary went to the garden. Chances are about even that Julius is gray.,It is probably the case that 'John dropped the apple 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.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.6741348269653931,train,highly unlikely,probably,It is highly unlikely that 'John dropped the apple and Mary went to the garden'.,It is probably the case that 'John dropped the apple and Mary went to the garden'.,0,'John dropped the apple and Mary went to the garden'. It is improbable that Emily is a mouse. It is highly likely that Bernhard is white. There is a very good chance that John left the football.,We believe that either 'Emily is a mouse' 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.9::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.33286657331466296,train,we believe,unlikely,We believe that either 'Emily is a mouse' or 'John left the football' but not both.,It is unlikely that either 'Emily is a mouse' or 'John left the football' but not both.,1,Either 'Emily is a mouse' or 'John left the football' but not both. It is improbable that Jeff moved to the garden. It is improbable that Brian is a frog. It is unlikely that Julius is a lion.,It is likely that 'Brian is a frog 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.41408281656331264,train,almost no chance,likely,There is almost no chance that 'Brian is a frog and Jeff moved to the garden'.,It is likely that 'Brian is a frog and Jeff moved to the garden'.,0,'Brian is a frog and Jeff moved to the garden'. There is little chance that Greg is white. There is almost no chance that Lily is gray. It is probable that Daniel got the milk.,It is likely that 'Greg is white' or 'Lily is gray' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.11800000000000002,0.3576715343068614,train,little chance,likely,There is little chance that 'Greg is white' or 'Lily is gray' or both.,It is likely that 'Greg is white' or 'Lily is gray' or both.,0,'Greg is white' or 'Lily is gray' or both. It is probable that Brian is white. It is probably the case that Sandra took the football. It is highly likely that John went to the kitchen.,It is impossible that 'Brian is white 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.7::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.023604720944188837,train,about even,impossible,Chances are about even that 'Brian is white and Sandra took the football'.,It is impossible that 'Brian is white and Sandra took the football'.,0,'Brian is white and Sandra took the football'. It is probable that Mary went to the kitchen. It is impossible that Julius is gray. It is probably not the case that Emily is a wolf.,It is certain that either 'Julius is gray' 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.0::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.25,0.511502300460092,train,probably not,certain,It is probably not the case that either 'Julius is gray' or 'Emily is a wolf' but not both.,It is certain that either 'Julius is gray' or 'Emily is a wolf' but not both.,0,Either 'Julius is gray' or 'Emily is a wolf' but not both. It is certain that Bernhard is a frog. There is a very good chance that Mary went to the hallway. It is highly unlikely that Sandra dropped the milk.,There is a very good chance that 'Sandra 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 1.0::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.4882976595319064,train,highly unlikely,very good chance,It is highly unlikely that 'Sandra dropped the milk and Bernhard is a frog'.,There is a very good chance that 'Sandra dropped the milk and Bernhard is a frog'.,0,'Sandra dropped the milk and Bernhard is a frog'. It is certain that Gertrude is a mouse. It is highly likely that Brian is a frog. We doubt that John dropped the apple.,It is certain 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 1.0::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.7863572714542909,train,certain,probably not,It is certain that 'John dropped the apple' or 'Gertrude is a mouse' or both.,It is probably not the case that 'John dropped the apple' or 'Gertrude is a mouse' or both.,1,'John dropped the apple' or 'Gertrude is a mouse' or both. It is probably the case that Bernhard is a lion. There is a better than even chance that Greg is a rhino. It is highly likely that Fred went to the garden.,It is highly unlikely that 'Greg 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.7::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.6579315863172635,train,about even,highly unlikely,Chances are about even that 'Greg is a rhino and Bernhard is a lion'.,It is highly unlikely that 'Greg is a rhino and Bernhard is a lion'.,0,'Greg is a rhino and Bernhard is a lion'. It is unlikely that Jeff dropped the apple. There is a very good chance that Brian is yellow. It is likely that Fred is in the school.,It is impossible that 'Fred is in the school' 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.2::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7599999999999999,0.021204240848169634,train,we believe,impossible,We believe that 'Fred is in the school' or 'Jeff dropped the apple' or both.,It is impossible that 'Fred is in the school' or 'Jeff dropped the apple' or both.,0,'Fred is in the school' or 'Jeff dropped the apple' or both. It is probably the case that Mary discarded the milk. It is impossible that Greg is a frog. It is likely that Lily is a lion.,Chances are about even that 'Mary discarded the milk 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.5339067813562712,train,impossible,about even,It is impossible that 'Mary discarded the milk and Greg is a frog'.,Chances are about even that 'Mary discarded the milk and Greg is a frog'.,0,'Mary discarded the milk and Greg is a frog'. It is certain that Brian is a rhino. It is highly unlikely that John went to the kitchen. It is almost certain that Julius is a swan.,We believe that 'John went to the kitchen 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 1.0::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0475,0.4374874974994999,train,highly unlikely,we believe,It is highly unlikely that 'John went to the kitchen and Julius is a swan'.,We believe that 'John went to the kitchen and Julius is a swan'.,0,'John went to the kitchen and Julius is a swan'. There is a better than even chance that Sandra dropped the apple. It is highly unlikely that Jessica is a cat. It is unlikely that Lily is yellow.,There is little chance that 'Jessica is a cat' 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.6::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6199999999999999,0.45249049809961994,train,better than even,little chance,There is a better than even chance that 'Jessica is a cat' or 'Sandra dropped the apple' or both.,There is little chance that 'Jessica is a cat' or 'Sandra dropped the apple' or both.,0,'Jessica is a cat' or 'Sandra dropped the apple' or both. It is unlikely that Bernhard is a swan. It is probably not the case that Julius is yellow. It is probable that Gertrude is a mouse.,There is little chance that 'Gertrude 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.2::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.27245449089817964,train,little chance,highly likely,There is little chance that 'Gertrude is a mouse and Bernhard is a swan'.,It is highly likely that 'Gertrude is a mouse and Bernhard is a swan'.,1,'Gertrude is a mouse and Bernhard is a swan'. It is unlikely that Julius is a lion. It is probable that Brian is white. There is almost no chance that Lily is a rhino.,We doubt that 'Lily is a rhino' 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.7::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.27165433086617324,train,we doubt,almost certain,We doubt that 'Lily is a rhino' or 'Julius is a lion' or both.,It is almost certain that 'Lily is a rhino' or 'Julius is a lion' or both.,1,'Lily is a rhino' or 'Julius is a lion' or both. It is highly unlikely that Lily is a rhino. It is probably not the case that Bernhard is gray. It is probably the case that Greg is yellow.,We doubt that 'Bernhard 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.05::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.175,0.35547109421884376,train,we doubt,probably,We doubt that 'Bernhard is gray and Greg is yellow'.,It is probably the case that 'Bernhard is gray and Greg is yellow'.,1,'Bernhard is gray and Greg is yellow'. We doubt that Mary went to the hallway. We believe that Yann is thirsty. It is likely that Greg is a lion.,It is unlikely that 'Mary 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.76,0.23284656931386277,train,we believe,unlikely,We believe that 'Mary went to the hallway' or 'Greg is a lion' or both.,It is unlikely that 'Mary went to the hallway' or 'Greg is a lion' or both.,0,'Mary went to the hallway' or 'Greg is a lion' or both. It is unlikely that Bernhard is a frog. There is a better than even chance that Julius is a rhino. It is almost certain that Sandra got the milk.,We doubt that 'Bernhard 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.2::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.68,0.6409281856371274,train,probable,we doubt,It is probable that 'Bernhard is a frog' or 'Julius is a rhino' or both.,We doubt that 'Bernhard is a frog' or 'Julius is a rhino' or both.,0,'Bernhard is a frog' or 'Julius is a rhino' or both. It is unlikely that Daniel left the milk. It is probably the case that Brian is yellow. It is highly likely that John moved to the office.,It is highly likely that 'Daniel 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.2::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.92,0.47309461892378474,train,highly likely,probably not,It is highly likely that 'Daniel left the milk' or 'John moved to the office' or both.,It is probably not the case that 'Daniel left the milk' or 'John moved to the office' or both.,1,'Daniel left the milk' or 'John moved to the office' or both. It is probable that Greg is yellow. It is impossible that Gertrude is a sheep. It is probably the case that Mary dropped the apple.,It is likely that either 'Mary dropped 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.7::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.5991198239647929,train,likely,improbable,It is likely that either 'Mary dropped the apple' or 'Gertrude is a sheep' but not both.,It is improbable that either 'Mary dropped the apple' or 'Gertrude is a sheep' but not both.,1,Either 'Mary dropped the apple' or 'Gertrude is a sheep' but not both. It is probably not the case that Antoine is hungry. We doubt that Brian is a rhino. It is impossible that Fred moved to the office.,Chances are about even that 'Antoine is hungry' 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.2::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.4,0.4308861772354471,train,about even,certain,Chances are about even that 'Antoine is hungry' or 'Brian is a rhino' or both.,It is certain that 'Antoine is hungry' or 'Brian is a rhino' or both.,1,'Antoine is hungry' or 'Brian is a rhino' or both. It is highly likely that Bernhard is a frog. We doubt that John dropped the apple. It is probably not the case that Brian is gray.,It is probably not the case that either 'Bernhard 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.9::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7000000000000001,0.12022404480896179,train,probably,probably not,It is probably the case that either 'Bernhard is a frog' or 'Brian is gray' but not both.,It is probably not the case that either 'Bernhard is a frog' or 'Brian is gray' but not both.,0,Either 'Bernhard is a frog' or 'Brian is gray' but not both. It is probably not the case that Lily is white. It is probable that Brian is green. We believe that John moved to the garden.,There is almost no chance that 'Brian is green 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.7::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.525,0.19763952790558112,train,about even,almost no chance,Chances are about even that 'Brian is green and John moved to the garden'.,There is almost no chance that 'Brian is green and John moved to the garden'.,0,'Brian is green and John moved to the garden'. We believe that Mary left the milk. It is probably the case that Gertrude is a cat. It is improbable that Julius is a lion.,Chances are about even that 'Gertrude is a cat 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.5607121424284857,train,about even,highly unlikely,Chances are about even that 'Gertrude is a cat and Mary left the milk'.,It is highly unlikely that 'Gertrude is a cat and Mary left the milk'.,1,'Gertrude is a cat and Mary left the milk'. It is certain that Greg is a swan. Chances are slight that John dropped the apple. There is a better than even chance that Daniel took the milk.,There is little chance that 'Greg 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 1.0::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.10000000000000002,0.21324264852970595,train,little chance,highly likely,There is little chance that 'Greg is a swan and John dropped the apple'.,It is highly likely that 'Greg is a swan and John dropped the apple'.,1,'Greg is a swan and John dropped the apple'. There is almost no chance that Lily is green. Chances are about even that Bernhard is green. It is probably the case that Greg is a swan.,It is probably the case that 'Greg 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.02::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.706,0.1922384476895379,train,probably,highly unlikely,It is probably the case that 'Greg is a swan' or 'Lily is green' or both.,It is highly unlikely that 'Greg is a swan' or 'Lily is green' or both.,1,'Greg is a swan' or 'Lily is green' or both. It is probable that Brian is a rhino. It is highly unlikely that Greg is white. We doubt that John put down the apple.,It is probable that 'Greg 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.7::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.715,0.3774754950990198,train,probable,highly unlikely,It is probable that 'Greg is white' or 'Brian is a rhino' or both.,It is highly unlikely that 'Greg is white' or 'Brian is a rhino' or both.,1,'Greg is white' or 'Brian is a rhino' or both. It is likely that Bernhard is a swan. It is almost certain that John went to the garden. It is probably the case that Greg is a lion.,It is probably the case that either 'John went to the garden' 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32000000000000006,0.23944788957791557,train,probably not,probably,It is probably not the case that either 'John went to the garden' or 'Bernhard is a swan' but not both.,It is probably the case that either 'John went to the garden' or 'Bernhard is a swan' but not both.,0,Either 'John went to the garden' or 'Bernhard is a swan' but not both. It is probable that Greg is yellow. There is little chance that Jessica is a mouse. It is unlikely that John went to the garden.,It is impossible 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.3282656531306261,train,better than even,impossible,There is a better than even chance that either 'Greg is yellow' or 'John went to the garden' but not both.,It is impossible 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 highly likely that Julius is a rhino. It is certain that Greg is white. It is probable that Lily is a frog.,We doubt that 'Lily is a frog' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.14942988597719545,train,certain,we doubt,It is certain that 'Lily is a frog' or 'Greg is white' or both.,We doubt that 'Lily is a frog' or 'Greg is white' or both.,0,'Lily is a frog' or 'Greg is white' or both. There is almost no chance that Bernhard is a frog. It is impossible that Lily is a swan. It is likely that John picked up the apple.,We doubt that 'Lily 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.02::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.008801760352070413,train,likely,we doubt,It is likely that 'Lily is a swan' or 'John picked up the apple' or both.,We doubt that 'Lily is a swan' or 'John picked up the apple' or both.,0,'Lily is a swan' or 'John picked up the apple' or both. It is unlikely that Fred is in the school. It is certain that Bernhard is gray. It is highly likely that John discarded the apple.,We doubt that 'Fred is in the school 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.2::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.18000000000000002,0.07281456291258252,train,we doubt,likely,We doubt that 'Fred is in the school and John discarded the apple'.,It is likely that 'Fred is in the school and John discarded the apple'.,1,'Fred is in the school and John discarded the apple'. It is certain that Lily is yellow. It is certain that Winona is a wolf. There is a very good chance that Bernhard is a swan.,It is almost certain that either 'Lily is yellow' 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. 1.0::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.19999999999999998,0.5769153830766153,train,unlikely,almost certain,It is unlikely that either 'Lily is yellow' or 'Bernhard is a swan' but not both.,It is almost certain that either 'Lily is yellow' or 'Bernhard is a swan' but not both.,0,Either 'Lily is yellow' or 'Bernhard is a swan' but not both. It is highly likely that John went to the garden. It is impossible that Greg is a swan. It is certain that Mary picked up the milk.,It is certain that 'Mary picked up 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.9::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.10542108421684337,train,certain,unlikely,It is certain that 'Mary picked up the milk' or 'John went to the garden' or both.,It is unlikely that 'Mary picked up the milk' or 'John went to the garden' or both.,1,'Mary picked up the milk' or 'John went to the garden' or both. It is probably not the case that John went to the garden. There is a very good chance that Mary dropped the milk. It is probably not the case that Lily is a rhino.,It is highly unlikely that 'John went 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.25::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0625,0.15263052610522104,train,highly unlikely,very good chance,It is highly unlikely that 'John went to the garden and Lily is a rhino'.,There is a very good chance that 'John went to the garden and Lily is a rhino'.,1,'John went to the garden and Lily is a rhino'. There is almost no chance that Bernhard is white. It is improbable that Jeff left the football. We believe that Julius is a swan.,It is probably the case that either 'Julius is a swan' 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.02::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.1712342468493699,train,probably,chances are slight,It is probably the case that either 'Julius is a swan' or 'Jeff left the football' but not both.,Chances are slight that either 'Julius is a swan' or 'Jeff left the football' but not both.,1,Either 'Julius is a swan' or 'Jeff left the football' but not both. It is highly unlikely that Mary got the football. It is unlikely that John grabbed the apple. It is probably not the case that Sumit is thirsty.,There is almost no chance that 'Mary got the football 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.05::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.012500000000000006,0.7933586717343468,train,almost no chance,better than even,There is almost no chance that 'Mary got the football and Sumit is thirsty'.,There is a better than even chance that 'Mary got the football and Sumit is thirsty'.,1,'Mary got the football and Sumit is thirsty'. It is improbable that Mary left the football. There is almost no chance that Julius is yellow. It is probably the case that Sumit is thirsty.,There is little chance that either 'Julius is yellow' 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.02::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.116,0.27625525105021004,train,little chance,probable,There is little chance that either 'Julius is yellow' or 'Mary left the football' but not both.,It is probable that either 'Julius is yellow' or 'Mary left the football' but not both.,1,Either 'Julius is yellow' or 'Mary left the football' but not both. It is highly unlikely that Mary moved to the office. It is probably not the case that Jessica is a cat. Chances are about even that Daniel took the football.,Chances are about even that 'Mary moved to the office' 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.05::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.525,0.3090618123624725,train,about even,highly unlikely,Chances are about even that 'Mary moved to the office' or 'Daniel took the football' or both.,It is highly unlikely that 'Mary moved to the office' or 'Daniel took the football' or both.,1,'Mary moved to the office' or 'Daniel took the football' or both. Chances are slight that Julius is a lion. It is probable that Mary moved to the garden. It is almost certain that Sandra left the apple.,There is a very good chance that either 'Sandra left the apple' 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.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.7747549509901981,train,probably not,very good chance,It is probably not the case that either 'Sandra left the apple' or 'Mary moved to the garden' but not both.,There is a very good chance that either 'Sandra left the apple' or 'Mary moved to the garden' but not both.,0,Either 'Sandra left the apple' or 'Mary moved to the garden' but not both. There is almost no chance that Brian is a swan. There is almost no chance that Greg is gray. There is a very good chance that Jeff moved to the garden.,There is almost no chance that 'Jeff moved to the garden 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.02::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.01600000000000001,0.7001400280056012,train,almost no chance,highly likely,There is almost no chance that 'Jeff moved to the garden and Greg is gray'.,It is highly likely that 'Jeff moved to the garden and Greg is gray'.,1,'Jeff moved to the garden and Greg is gray'. There is little chance that Jeff went to the garden. There is a very good chance that Greg is a frog. It is highly likely that Bernhard is yellow.,We doubt that 'Bernhard is yellow' 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.1::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.00020004000800160032,train,highly likely,we doubt,It is highly likely that 'Bernhard is yellow' or 'Jeff went to the garden' or both.,We doubt that 'Bernhard is yellow' or 'Jeff went to the garden' or both.,0,'Bernhard is yellow' or 'Jeff went to the garden' or both. It is likely that Jason is tired. There is almost no chance that John got the football. There is little chance that Julius is yellow.,It is impossible that 'Julius 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.7::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0020000000000000005,0.6675335067013403,train,impossible,certain,It is impossible that 'Julius is yellow and John got the football'.,It is certain that 'Julius is yellow and John got the football'.,1,'Julius is yellow and John got the football'. Chances are slight that Mary got the milk. There is almost no chance that Bernhard is a frog. It is impossible that Lily is a lion.,There is almost no chance 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.1::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.02,0.10282056411282256,train,almost no chance,likely,There is almost no chance that 'Lily is a lion' or 'Bernhard is a frog' or both.,It is likely that 'Lily is a lion' or 'Bernhard is a frog' or both.,1,'Lily is a lion' or 'Bernhard is a frog' or both. There is little chance that Julius is yellow. It is improbable that Greg is a frog. It is highly likely that Bill went to the office.,We doubt that 'Greg is a frog' 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.1::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.91,0.31826365273054613,train,highly likely,we doubt,It is highly likely that 'Greg is a frog' or 'Bill went to the office' or both.,We doubt that 'Greg is a frog' or 'Bill went to the office' or both.,0,'Greg is a frog' or 'Bill went to the office' or both. There is a better than even chance that Emily is a sheep. There is a better than even chance that Mary took the football. There is almost no chance that Brian is a lion.,It is improbable that either 'Brian 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.6::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.596,0.3168633726745349,train,better than even,improbable,There is a better than even chance that either 'Brian is a lion' or 'Mary took the football' but not both.,It is improbable that either 'Brian is a lion' or 'Mary took the football' but not both.,0,Either 'Brian is a lion' or 'Mary took the football' but not both. Chances are about even that John picked up the milk. We doubt that Lily is a rhino. It is almost certain that Greg is a frog.,It is unlikely that either 'Lily is a rhino' 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.5::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.77,0.2434486897379476,train,we believe,unlikely,We believe that either 'Lily is a rhino' or 'Greg is a frog' but not both.,It is unlikely that either 'Lily is a rhino' or 'Greg is a frog' but not both.,0,Either 'Lily is a rhino' or 'Greg is a frog' but not both. It is probably not the case that Bernhard is green. It is unlikely that John grabbed the apple. It is highly likely that Yann is hungry.,It is improbable that either 'John grabbed 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.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.14562912582516505,train,we believe,improbable,We believe that either 'John grabbed the apple' or 'Yann is hungry' but not both.,It is improbable that either 'John grabbed the apple' or 'Yann is hungry' but not both.,0,Either 'John grabbed the apple' or 'Yann is hungry' but not both. It is unlikely that Greg is yellow. It is unlikely that Brian is a frog. It is probably not the case that Julius is a swan.,It is highly unlikely 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.2::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.0,train,highly unlikely,probable,It is highly unlikely that 'Brian is a frog and Julius is a swan'.,It is probable that 'Brian is a frog and Julius is a swan'.,1,'Brian is a frog and Julius is a swan'. It is probably the case that Brian is a swan. It is unlikely that Sandra dropped the milk. We believe that Bill went to the garden.,It is unlikely that 'Brian is a swan' 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.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.925,0.761752350470094,train,almost certain,unlikely,It is almost certain that 'Brian is a swan' or 'Bill went to the garden' or both.,It is unlikely that 'Brian is a swan' or 'Bill went to the garden' or both.,0,'Brian is a swan' or 'Bill went to the garden' or both. It is likely that Mary went to the office. There is little chance that Julius is a frog. It is certain that Jeff moved to the garden.,Chances are slight that 'Jeff moved to 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.1::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.5049009801960392,train,certain,chances are slight,It is certain that 'Jeff moved to the garden' or 'Mary went to the office' or both.,Chances are slight that 'Jeff moved to the garden' or 'Mary went to the office' or both.,0,'Jeff moved to the garden' or 'Mary went to the office' or both. It is certain that Mary dropped the apple. It is improbable that Julius is gray. It is impossible that Jessica is a cat.,Chances are about even that 'Jessica is a cat 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.1::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.637127425485097,train,impossible,about even,It is impossible that 'Jessica is a cat and Julius is gray'.,Chances are about even that 'Jessica is a cat and Julius is gray'.,0,'Jessica is a cat and Julius is gray'. There is a better than even chance that Yann is tired. We doubt that Mary went to the office. It is highly likely that Daniel left the milk.,We believe that either 'Mary 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.6::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.588117623524705,train,we believe,little chance,We believe that either 'Mary went to the office' or 'Daniel left the milk' but not both.,There is little chance that either 'Mary went to the office' or 'Daniel left the milk' but not both.,1,Either 'Mary went to the office' or 'Daniel left the milk' but not both. There is little chance that Winona is a mouse. It is improbable that Bernhard is a swan. It is improbable that Mary went to the kitchen.,It is unlikely that either 'Bernhard 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.058011602320464095,train,unlikely,likely,It is unlikely that either 'Bernhard is a swan' or 'Winona is a mouse' but not both.,It is likely that either 'Bernhard is a swan' or 'Winona is a mouse' but not both.,1,Either 'Bernhard is a swan' or 'Winona is a mouse' but not both. It is impossible that Jessica is a wolf. It is unlikely that Brian is a swan. It is impossible that John went to the office.,There is a better than even chance that 'Jessica is a wolf 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.0::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.2354470894178836,train,impossible,better than even,It is impossible that 'Jessica is a wolf and John went to the office'.,There is a better than even chance that 'Jessica is a wolf and John went to the office'.,0,'Jessica is a wolf and John went to the office'. It is highly unlikely that Greg is yellow. It is improbable that Mary moved to the garden. There is little chance that Brian is gray.,It is almost certain that 'Brian is gray' 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.05::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.19000000000000006,0.4986997399479896,train,we doubt,almost certain,We doubt that 'Brian is gray' or 'Mary moved to the garden' or both.,It is almost certain that 'Brian is gray' or 'Mary moved to the garden' or both.,0,'Brian is gray' or 'Mary moved to the garden' or both. It is impossible that Lily is a lion. There is almost no chance that Daniel left the milk. It is certain that Greg is a frog.,Chances are about even that either 'Daniel 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.0::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.02,0.026205241048209642,train,almost no chance,about even,There is almost no chance that either 'Daniel left the milk' or 'Lily is a lion' but not both.,Chances are about even that either 'Daniel left the milk' or 'Lily is a lion' but not both.,0,Either 'Daniel left the milk' or 'Lily is a lion' but not both. It is likely that Lily is green. It is likely that John took the apple. We believe that Julius is a lion.,It is highly unlikely that 'Lily is green 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.7::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.10262052410482096,train,about even,highly unlikely,Chances are about even that 'Lily is green and John took the apple'.,It is highly unlikely that 'Lily is green and John took the apple'.,0,'Lily is green and John took the apple'. There is little chance that Mary went to the office. We believe that Greg is yellow. It is probable that Jeff left the apple.,There is almost no chance that 'Mary went to the office' 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.75::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.15703140628125625,train,very good chance,almost no chance,There is a very good chance that 'Mary went to the office' or 'Greg is yellow' or both.,There is almost no chance that 'Mary went to the office' or 'Greg is yellow' or both.,0,'Mary went to the office' or 'Greg is yellow' or both. It is highly likely that John put down the milk. There is a better than even chance that Brian is green. We doubt that Lily is a swan.,Chances are about even that either 'Brian 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.9::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42000000000000004,0.33606721344268853,train,about even,almost certain,Chances are about even that either 'Brian is green' or 'John put down the milk' but not both.,It is almost certain that either 'Brian is green' or 'John put down the milk' but not both.,1,Either 'Brian is green' or 'John put down the milk' but not both. It is probable that Bernhard is green. Chances are slight that Julius is a swan. It is highly unlikely that John went to the kitchen.,We believe that 'Julius is a swan' 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.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.14500000000000005,0.744748949789958,train,improbable,we believe,It is improbable that 'Julius is a swan' or 'John went to the kitchen' or both.,We believe that 'Julius is a swan' or 'John went to the kitchen' or both.,0,'Julius is a swan' or 'John went to the kitchen' or both. It is likely that Greg is yellow. We doubt that Lily is white. We believe that Mary left the football.,There is little chance 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 0.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.6659331866373275,train,almost certain,little chance,It is almost certain that 'Mary left the football' or 'Greg is yellow' or both.,There is little chance that 'Mary left the football' or 'Greg is yellow' or both.,0,'Mary left the football' or 'Greg is yellow' or both. It is likely that Lily is a rhino. It is probably the case that Greg is green. There is little chance that John moved to the office.,It is highly likely that 'Greg is green' 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.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9099999999999999,0.47749549909982,train,highly likely,chances are slight,It is highly likely that 'Greg is green' or 'Lily is a rhino' or both.,Chances are slight that 'Greg is green' or 'Lily is a rhino' or both.,1,'Greg is green' or 'Lily is a rhino' or both. Chances are slight that Sandra got the milk. It is probable that Bernhard is yellow. We doubt that Lily is a swan.,It is probably not the case that 'Lily is a swan' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.0636127225445089,train,probably not,highly likely,It is probably not the case that 'Lily is a swan' or 'Sandra got the milk' or both.,It is highly likely that 'Lily is a swan' or 'Sandra got the milk' or both.,1,'Lily is a swan' or 'Sandra got the milk' or both. It is probably not the case that Bernhard is yellow. Chances are about even that Julius is a rhino. It is impossible that Mary is in the hallway.,It is probably the case that 'Mary is in the hallway' 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.5::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.25,0.02560512102420484,train,probably not,probably,It is probably not the case that 'Mary is in the hallway' or 'Bernhard is yellow' or both.,It is probably the case that 'Mary is in the hallway' or 'Bernhard is yellow' or both.,0,'Mary is in the hallway' or 'Bernhard is yellow' or both. There is a better than even chance that Mary went to the bedroom. It is almost certain that Lily is a rhino. There is little chance that Daniel left the apple.,There is little chance that either 'Mary went to the bedroom' 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.6::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.58,0.14922984596919384,train,better than even,little chance,There is a better than even chance that either 'Mary went to the bedroom' or 'Daniel left the apple' but not both.,There is little chance that either 'Mary went to the bedroom' or 'Daniel left the apple' but not both.,0,Either 'Mary went to the bedroom' or 'Daniel left the apple' but not both. It is impossible that Sandra dropped the milk. It is highly unlikely that Brian is green. There is a better than even chance that Greg is a rhino.,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.05::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.05000000000000001,0.013802760552110422,train,highly unlikely,certain,It is highly unlikely that either 'Brian is green' or 'Sandra dropped the milk' but not both.,It is certain 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 believe that Julius is a rhino. It is improbable that John took the apple. There is little chance that Brian is gray.,We doubt that either 'Julius is a rhino' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.47329465893178635,train,probably,we doubt,It is probably the case that either 'Julius is a rhino' or 'John took the apple' but not both.,We doubt that either 'Julius is a rhino' or 'John took the apple' but not both.,0,Either 'Julius is a rhino' or 'John took the apple' but not both. There is little chance that Lily is a swan. It is highly likely that Sandra took the milk. It is probably the case that Brian is a swan.,There is a very good chance that 'Brian is a swan 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.9::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.27465493098619725,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a swan and Lily is a swan'.,There is a very good chance that 'Brian is a swan and Lily is a swan'.,0,'Brian is a swan and Lily is a swan'. It is almost certain that John moved to the garden. It is highly likely that Bernhard is gray. Chances are slight that Mary dropped the apple.,It is highly likely that 'John moved to the garden 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. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.855,0.23524704940988198,train,highly likely,impossible,It is highly likely that 'John moved to the garden and Bernhard is gray'.,It is impossible that 'John moved to the garden and Bernhard is gray'.,1,'John moved to the garden and Bernhard is gray'. Chances are about even that Brian is yellow. We believe that Mary went to the office. We believe that Emily is a wolf.,There is little chance that 'Emily is a wolf 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.5::factA. 0.75::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5625,0.1890378075615123,train,better than even,little chance,There is a better than even chance that 'Emily is a wolf and Mary went to the office'.,There is little chance that 'Emily is a wolf and Mary went to the office'.,0,'Emily is a wolf and Mary went to the office'. There is almost no chance that Gertrude is a sheep. It is certain that Mary went to the bedroom. It is impossible that Sandra left the apple.,It is highly likely that 'Gertrude is a sheep 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.02::factA. 1.0::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.47409481896379274,train,impossible,highly likely,It is impossible that 'Gertrude is a sheep and Sandra left the apple'.,It is highly likely that 'Gertrude is a sheep and Sandra left the apple'.,0,'Gertrude is a sheep and Sandra left the apple'. There is a better than even chance that Lily is a rhino. There is almost no chance that Greg is a lion. There is little chance that Bernhard is yellow.,There is a better than even chance 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.6::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.58,0.15423084616923385,train,better than even,almost no chance,There is a better than even chance that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,1,Either 'Lily is a rhino' or 'Bernhard is yellow' but not both. There is almost no chance that Emily is a mouse. Chances are slight that Bernhard is gray. There is a very good chance that Jason is bored.,There is little chance that either 'Bernhard is gray' 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.02::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.34686937387477496,train,we believe,little chance,We believe that either 'Bernhard is gray' or 'Jason is bored' but not both.,There is little chance that either 'Bernhard is gray' or 'Jason is bored' but not both.,0,Either 'Bernhard is gray' or 'Jason is bored' but not both. Chances are about even that John put down the milk. It is highly unlikely that Bernhard is a frog. There is almost no chance that Greg is a rhino.,It is highly likely 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.5::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0010000000000000002,0.6819363872774555,train,impossible,highly likely,It is impossible that 'Greg is a rhino and Bernhard is a frog'.,It is highly likely that 'Greg is a rhino and Bernhard is a frog'.,0,'Greg is a rhino and Bernhard is a frog'. There is almost no chance that Daniel left the apple. We believe that Sandra put down the milk. We doubt that Jeff went to the bedroom.,There is a better than even chance that 'Daniel left the apple and Sandra 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.02::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014999999999999998,0.7295459091818364,train,almost no chance,better than even,There is almost no chance that 'Daniel left the apple and Sandra put down the milk'.,There is a better than even chance that 'Daniel left the apple and Sandra put down the milk'.,0,'Daniel left the apple and Sandra put down the milk'. We doubt that Brian is a frog. It is highly unlikely that Lily is a swan. It is highly likely that Mary dropped the milk.,Chances are slight that 'Lily 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.2::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.905,0.1798359671934387,train,highly likely,chances are slight,It is highly likely that 'Lily is a swan' or 'Mary dropped the milk' or both.,Chances are slight that 'Lily is a swan' or 'Mary dropped the milk' or both.,0,'Lily is a swan' or 'Mary dropped the milk' or both. There is almost no chance that Lily is a lion. It is highly likely that John moved to the garden. It is impossible that Brian is white.,It is highly likely 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.02::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.02,0.03260652130426085,train,almost no chance,highly likely,There is almost no chance that 'Lily is a lion' or 'Brian is white' or both.,It is highly likely 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 unlikely that Brian is a lion. It is certain that John got the apple. There is almost no chance that Jessica is a cat.,It is highly likely that 'Jessica 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.05::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02,0.09461892378475695,train,almost no chance,highly likely,There is almost no chance that 'Jessica is a cat and John got the apple'.,It is highly likely that 'Jessica is a cat and John got the apple'.,0,'Jessica is a cat and John got the apple'. It is unlikely that Lily is a swan. It is probably not the case that Greg is a lion. Chances are about even that John discarded the apple.,There is little chance that 'John discarded 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.2::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6000000000000001,0.017603520704140826,train,better than even,little chance,There is a better than even chance that 'John discarded the apple' or 'Lily is a swan' or both.,There is little chance that 'John discarded the apple' or 'Lily is a swan' or both.,0,'John discarded the apple' or 'Lily is a swan' or both. Chances are slight that Mary picked up the milk. It is improbable that Brian is a frog. We doubt that Lily is a rhino.,We believe that 'Mary picked up 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.4342868573714743,train,almost no chance,we believe,There is almost no chance that 'Mary picked up the milk and Brian is a frog'.,We believe that 'Mary picked up the milk and Brian is a frog'.,0,'Mary picked up the milk and Brian is a frog'. It is probably the case that Sandra got the football. There is a very good chance that Bill went to the garden. There is a better than even chance that Lily is white.,It is highly unlikely that either 'Bill went to the garden' 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. 0.8::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.21504300860172035,train,about even,highly unlikely,Chances are about even that either 'Bill went to the garden' or 'Sandra got the football' but not both.,It is highly unlikely that either 'Bill went to the garden' or 'Sandra got the football' but not both.,0,Either 'Bill went to the garden' or 'Sandra got the football' but not both. We doubt that Bernhard is a frog. There is little chance that Mary is in the bathroom. It is likely that John picked up the milk.,There is almost no chance that 'Bernhard is a frog 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.3164632926585317,train,almost no chance,very good chance,There is almost no chance that 'Bernhard is a frog and Mary is in the bathroom'.,There is a very good chance that 'Bernhard is a frog and Mary is in the bathroom'.,1,'Bernhard is a frog and Mary is in the bathroom'. We believe that John dropped the milk. There is a better than even chance that Bernhard is a swan. There is almost no chance that Mary discarded the apple.,It is almost certain that 'Bernhard is a swan and Mary 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.6::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.011999999999999999,0.2340468093618724,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is a swan and Mary discarded the apple'.,It is almost certain that 'Bernhard is a swan and Mary discarded the apple'.,0,'Bernhard is a swan and Mary discarded the apple'. Chances are about even that John moved to the office. There is a better than even chance that Mary went to the garden. It is probably not the case that Daniel dropped the apple.,There is a very good chance that 'Mary 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.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.016203240648129627,train,very good chance,we doubt,There is a very good chance that 'Mary went to the garden' or 'John moved to the office' or both.,We doubt that 'Mary went to the garden' or 'John moved to the office' or both.,1,'Mary went to the garden' or 'John moved to the office' or both. It is impossible that Mary left the football. We believe that Julius is a rhino. There is a very good chance that Fred put down the apple.,It is impossible that 'Julius 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.0::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.3064612922584517,train,impossible,better than even,It is impossible that 'Julius is a rhino and Mary left the football'.,There is a better than even chance that 'Julius is a rhino and Mary left the football'.,1,'Julius is a rhino and Mary left the football'. Chances are about even that Daniel left the milk. It is almost certain that Greg is yellow. There is a very good chance that Sandra got the football.,It is impossible that 'Daniel left 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.5::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.475,0.7299459891978396,train,about even,impossible,Chances are about even that 'Daniel left the milk and Greg is yellow'.,It is impossible that 'Daniel left the milk and Greg is yellow'.,0,'Daniel left the milk and Greg is yellow'. It is probable that Brian is white. There is almost no chance that Sandra left the milk. It is highly likely that Fred moved to the office.,It is likely that 'Brian is white' 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.02::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.706,0.6413282656531306,train,likely,improbable,It is likely that 'Brian is white' or 'Sandra left the milk' or both.,It is improbable that 'Brian is white' or 'Sandra left the milk' or both.,1,'Brian is white' or 'Sandra left the milk' or both. It is probably not the case that Gertrude is a sheep. We doubt that Mary moved to the office. It is improbable that Greg is a swan.,It is probably not the case that either 'Greg 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.25::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.20564112822564512,train,probably not,certain,It is probably not the case that either 'Greg is a swan' or 'Gertrude is a sheep' but not both.,It is certain that either 'Greg is a swan' or 'Gertrude is a sheep' but not both.,1,Either 'Greg is a swan' or 'Gertrude is a sheep' but not both. Chances are about even that Bernhard is yellow. It is highly unlikely that Jessica is a sheep. There is a very good chance that John got the milk.,We believe that 'Jessica is a sheep and Bernhard is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025,0.5129025805161033,train,almost no chance,we believe,There is almost no chance that 'Jessica is a sheep and Bernhard is yellow'.,We believe that 'Jessica is a sheep and Bernhard is yellow'.,0,'Jessica is a sheep and Bernhard is yellow'. It is probably not the case that Bill went to the office. There is almost no chance that Gertrude is a sheep. It is impossible that Greg is gray.,There is almost no chance that 'Gertrude is a sheep' 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.25::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.02,0.03160632126425285,train,almost no chance,very good chance,There is almost no chance that 'Gertrude is a sheep' or 'Greg is gray' or both.,There is a very good chance that 'Gertrude is a sheep' or 'Greg is gray' or both.,1,'Gertrude is a sheep' or 'Greg is gray' or both. It is almost certain that Jeff moved to the garden. It is highly likely that Gertrude is a sheep. It is probably not the case that Lily is gray.,It is likely that 'Lily is gray 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.95::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2375,0.2538507701540308,train,probably not,likely,It is probably not the case that 'Lily is gray and Jeff moved to the garden'.,It is likely that 'Lily is gray and Jeff moved to the garden'.,0,'Lily is gray and Jeff moved to the garden'. It is certain that Winona is a sheep. Chances are slight that Julius is yellow. Chances are slight that John dropped the apple.,It is certain that 'Julius is yellow' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.39607921584316863,train,certain,chances are slight,It is certain that 'Julius is yellow' or 'Winona is a sheep' or both.,Chances are slight that 'Julius is yellow' or 'Winona is a sheep' or both.,1,'Julius is yellow' or 'Winona is a sheep' or both. It is impossible that Greg is a frog. It is likely that Bernhard is gray. It is probably not the case that Brian is a rhino.,We doubt that 'Bernhard 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.0::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.40428085617123427,train,probable,we doubt,It is probable that 'Bernhard is gray' or 'Greg is a frog' or both.,We doubt that 'Bernhard is gray' or 'Greg is a frog' or both.,0,'Bernhard is gray' or 'Greg is a frog' or both. There is a better than even chance that Daniel put down the milk. We doubt that John went to the garden. It is probable that Lily is a swan.,Chances are about even that either 'Lily is a swan' or 'Daniel 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.6::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.45999999999999996,0.531506301260252,train,about even,highly unlikely,Chances are about even that either 'Lily is a swan' or 'Daniel put down the milk' but not both.,It is highly unlikely that either 'Lily is a swan' or 'Daniel put down the milk' but not both.,1,Either 'Lily is a swan' or 'Daniel put down the milk' but not both. Chances are about even that Mary took the milk. It is probably not the case that Sandra grabbed the apple. It is unlikely that Emily is a wolf.,It is impossible that either 'Sandra grabbed the apple' 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.5::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.1988397679535907,train,about even,impossible,Chances are about even that either 'Sandra grabbed the apple' or 'Mary took the milk' but not both.,It is impossible that either 'Sandra grabbed the apple' or 'Mary took the milk' but not both.,0,Either 'Sandra grabbed the apple' or 'Mary took the milk' but not both. It is almost certain that John put down the apple. It is highly unlikely that Lily is a swan. Chances are about even that Bernhard is a rhino.,Chances are about even 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.95::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.41648329665933187,train,about even,certain,Chances are about even that either 'Lily is a swan' or 'Bernhard is a rhino' but not both.,It is certain 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 probably not the case that John went to the hallway. We believe that Greg is a lion. It is impossible that Bernhard is a swan.,It is likely that either 'Bernhard is a swan' 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.75::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.25,0.005201040208041609,train,probably not,likely,It is probably not the case that either 'Bernhard is a swan' or 'John went to the hallway' but not both.,It is likely that either 'Bernhard is a swan' or 'John went to the hallway' but not both.,0,Either 'Bernhard is a swan' or 'John went to the hallway' but not both. It is improbable that Greg is gray. Chances are about even that Winona is a sheep. It is probably the case that Bernhard is a lion.,Chances are about even that either 'Winona is a sheep' 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.5::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.07001400280056011,train,about even,highly unlikely,Chances are about even that either 'Winona is a sheep' or 'Greg is gray' but not both.,It is highly unlikely that either 'Winona is a sheep' or 'Greg is gray' but not both.,1,Either 'Winona is a sheep' or 'Greg is gray' but not both. Chances are about even that Bernhard is a frog. It is probably the case that Julius is yellow. It is likely that Jeff put down the milk.,It is impossible that 'Julius is yellow' or 'Bernhard is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.85,0.45609121824364873,train,very good chance,impossible,There is a very good chance that 'Julius is yellow' or 'Bernhard is a frog' or both.,It is impossible that 'Julius is yellow' or 'Bernhard is a frog' or both.,0,'Julius is yellow' or 'Bernhard is a frog' or both. It is probable that John moved to the office. It is probably the case that Bernhard is a swan. It is likely that Lily is a swan.,It is highly unlikely that 'John moved to the office' 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.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.28465693138627723,train,highly likely,highly unlikely,It is highly likely that 'John moved to the office' or 'Lily is a swan' or both.,It is highly unlikely that 'John moved to the office' or 'Lily is a swan' or both.,0,'John moved to the office' or 'Lily is a swan' or both. Chances are slight that Brian is yellow. Chances are slight that Jeff went to the bedroom. We doubt that Julius is gray.,It is almost certain that 'Julius is gray' 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.4840968193638728,train,probably not,almost certain,It is probably not the case that 'Julius is gray' or 'Jeff went to the bedroom' or both.,It is almost certain that 'Julius is gray' or 'Jeff went to the bedroom' or both.,0,'Julius is gray' or 'Jeff went to the bedroom' or both. There is a better than even chance that Greg is yellow. It is unlikely that Daniel took the apple. Chances are about even that Mary left the football.,It is likely that 'Greg is yellow' 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.2::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.68,0.5117023404680936,train,likely,unlikely,It is likely that 'Greg is yellow' or 'Daniel took the apple' or both.,It is unlikely that 'Greg is yellow' or 'Daniel took the apple' or both.,1,'Greg is yellow' or 'Daniel took the apple' or both. It is probable that Fred left the football. It is unlikely that Bernhard is a frog. We believe that Greg is a frog.,Chances are about even 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 0.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.15723144628925786,train,about even,highly unlikely,Chances are about even that either 'Greg is a frog' or 'Fred left the football' but not both.,It is highly unlikely 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. It is probably not the case that Lily is a rhino. It is probably not the case that Mary got the football. It is impossible that John grabbed the apple.,It is probable that 'John grabbed the apple 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.25::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.7923584716943388,train,impossible,probable,It is impossible that 'John grabbed the apple and Mary got the football'.,It is probable that 'John grabbed the apple and Mary got the football'.,0,'John grabbed the apple and Mary got the football'. It is unlikely that Mary moved to the office. Chances are about even that Gertrude is a wolf. It is certain that Fred went to the garden.,It is almost certain that either 'Gertrude is a wolf' 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.5::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.618123624724945,train,about even,almost certain,Chances are about even that either 'Gertrude is a wolf' or 'Fred went to the garden' but not both.,It is almost certain that either 'Gertrude is a wolf' or 'Fred went to the garden' but not both.,0,Either 'Gertrude is a wolf' or 'Fred went to the garden' but not both. It is improbable that John discarded the milk. There is little chance that Brian is a frog. It is unlikely that Lily is a swan.,It is highly likely that 'John discarded 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.4662932586517303,train,almost no chance,highly likely,There is almost no chance that 'John discarded the milk and Brian is a frog'.,It is highly likely that 'John discarded the milk and Brian is a frog'.,0,'John discarded the milk and Brian is a frog'. It is certain that Bernhard is yellow. It is highly likely that John left the apple. It is impossible that Emily is a mouse.,It is highly unlikely that 'Bernhard is yellow' 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 1.0::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.7781556311262252,train,certain,highly unlikely,It is certain that 'Bernhard is yellow' or 'John left the apple' or both.,It is highly unlikely that 'Bernhard is yellow' or 'John left the apple' or both.,0,'Bernhard is yellow' or 'John left the apple' or both. It is impossible that Brian is yellow. There is a very good chance that John went to the office. There is almost no chance that Greg is a swan.,There is almost no chance that 'Brian is yellow' 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.0::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.02,0.5397079415883177,train,almost no chance,almost certain,There is almost no chance that 'Brian is yellow' or 'Greg is a swan' or both.,It is almost certain that 'Brian is yellow' or 'Greg is a swan' or both.,1,'Brian is yellow' or 'Greg is a swan' or both. Chances are about even that Brian is a swan. It is probable that Sandra left the football. It is likely that John went to the kitchen.,Chances are about even that 'John went to the kitchen 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.07201440288057612,train,about even,highly unlikely,Chances are about even that 'John went to the kitchen and Sandra left the football'.,It is highly unlikely that 'John went to the kitchen and Sandra left the football'.,1,'John went to the kitchen and Sandra left the football'. There is a better than even chance that Greg is a swan. It is probably not the case that Jessica is a wolf. It is highly unlikely that Brian is gray.,Chances are about even that 'Jessica is a wolf and Brian is gray'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.012500000000000006,0.6113222644528906,train,almost no chance,about even,There is almost no chance that 'Jessica is a wolf and Brian is gray'.,Chances are about even that 'Jessica is a wolf and Brian is gray'.,0,'Jessica is a wolf and Brian is gray'. It is probably the case that Greg is yellow. Chances are slight that John took the football. It is highly likely that Mary went to the garden.,It is probably not the case that either 'John took the football' 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.1::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.012002400480096018,train,very good chance,probably not,There is a very good chance that either 'John took the football' or 'Mary went to the garden' but not both.,It is probably not the case that either 'John took the football' or 'Mary went to the garden' but not both.,0,Either 'John took the football' or 'Mary went to the garden' but not both. It is impossible that Brian is a frog. It is impossible that John took the football. It is probably not the case that Lily is a swan.,Chances are about even that either 'John took the football' 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.0::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.0,0.27285457091418286,train,impossible,about even,It is impossible that either 'John took the football' or 'Brian is a frog' but not both.,Chances are about even that either 'John took the football' or 'Brian is a frog' but not both.,0,Either 'John took the football' or 'Brian is a frog' but not both. It is certain that Julius is a rhino. It is probable that Brian is white. It is likely that Bill went to the office.,It is probably the case that either 'Julius 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 1.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.32306461292258454,train,probably not,probably,It is probably not the case that either 'Julius is a rhino' or 'Brian is white' but not both.,It is probably the case that either 'Julius is a rhino' or 'Brian is white' but not both.,0,Either 'Julius is a rhino' or 'Brian is white' but not both. There is almost no chance that John picked up the apple. There is little chance that Julius is gray. It is almost certain that Lily is yellow.,It is improbable that 'Julius is gray' or 'Lily is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.22444488897779555,train,almost certain,improbable,It is almost certain that 'Julius is gray' or 'Lily is yellow' or both.,It is improbable that 'Julius is gray' or 'Lily is yellow' or both.,0,'Julius is gray' or 'Lily is yellow' or both. Chances are slight that Bernhard is a rhino. It is impossible that John put down the apple. We believe that Jessica is a sheep.,We doubt 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.1::factA. 0.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.34526905381076217,train,we believe,we doubt,We believe that 'Bernhard is a rhino' or 'Jessica is a sheep' or both.,We doubt that 'Bernhard is a rhino' or 'Jessica is a sheep' or both.,0,'Bernhard is a rhino' or 'Jessica is a sheep' or both. It is certain that John discarded the milk. It is certain that Sandra left the milk. It is almost certain that Brian is green.,It is impossible that 'Brian 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 1.0::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.95,0.3044608921784357,train,almost certain,impossible,It is almost certain that 'Brian is green and Sandra left the milk'.,It is impossible that 'Brian is green and Sandra left the milk'.,0,'Brian is green and Sandra left the milk'. Chances are about even that Fred went to the office. It is probably the case that John dropped the apple. It is likely that Julius is yellow.,It is certain that either 'John dropped the apple' 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.42,0.6645329065813163,train,about even,certain,Chances are about even that either 'John dropped the apple' or 'Julius is yellow' but not both.,It is certain that either 'John dropped the apple' or 'Julius is yellow' but not both.,0,Either 'John dropped the apple' or 'Julius is yellow' but not both. It is probably not the case that John dropped the milk. There is little chance that Greg is a lion. It is probably not the case that Mary left the milk.,It is probably not the case that 'Mary left 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.25::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.325,0.4146829365873175,train,probably not,certain,It is probably not the case that 'Mary left the milk' or 'Greg is a lion' or both.,It is certain that 'Mary left the milk' or 'Greg is a lion' or both.,1,'Mary left the milk' or 'Greg is a lion' or both. It is probable that John picked up the milk. It is impossible that Bernhard is white. There is little chance that Greg is a rhino.,We doubt that 'Bernhard 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.5019003800760152,train,likely,we doubt,It is likely that 'Bernhard is white' or 'John picked up the milk' or both.,We doubt that 'Bernhard is white' or 'John picked up the milk' or both.,0,'Bernhard is white' or 'John picked up the milk' or both. Chances are slight that Greg is a swan. It is probable that Lily is gray. We doubt that Jeff put down the milk.,It is likely that either 'Greg is a swan' or 'Jeff put down the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.6481296259251851,train,probably not,likely,It is probably not the case that either 'Greg is a swan' or 'Jeff put down the milk' but not both.,It is likely that either 'Greg is a swan' or 'Jeff put down the milk' but not both.,0,Either 'Greg is a swan' or 'Jeff put down the milk' but not both. It is highly unlikely that Brian is yellow. There is almost no chance that Julius is a lion. It is probably the case that Mary dropped the milk.,Chances are about even that 'Julius 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.05::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.069,0.1916383276655331,train,highly unlikely,about even,It is highly unlikely that 'Julius is a lion' or 'Brian is yellow' or both.,Chances are about even that 'Julius is a lion' or 'Brian is yellow' or both.,0,'Julius is a lion' or 'Brian is yellow' or both. We believe that John left the football. It is likely that Brian is a swan. There is little chance that Fred went to the garden.,It is probable that 'Fred went to the garden and Brian is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.5777155431086217,train,highly unlikely,probable,It is highly unlikely that 'Fred went to the garden and Brian is a swan'.,It is probable that 'Fred went to the garden and Brian is a swan'.,0,'Fred went to the garden and Brian is a swan'. It is highly unlikely that Mary went to the bedroom. It is highly likely that Greg is a frog. It is unlikely that Gertrude is a mouse.,It is improbable that 'Gertrude is a mouse' or 'Greg is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.92,0.10962192438487697,train,highly likely,improbable,It is highly likely that 'Gertrude is a mouse' or 'Greg is a frog' or both.,It is improbable that 'Gertrude is a mouse' or 'Greg is a frog' or both.,0,'Gertrude is a mouse' or 'Greg is a frog' or both. It is probably the case that Fred is in the school. It is certain that Brian is a rhino. There is little chance that John discarded the milk.,It is certain that 'Fred is in the school' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.4978995799159832,train,certain,we doubt,It is certain that 'Fred is in the school' or 'Brian is a rhino' or both.,We doubt that 'Fred is in the school' or 'Brian is a rhino' or both.,1,'Fred is in the school' or 'Brian is a rhino' or both. It is improbable that Greg is a rhino. It is impossible that Bernhard is green. There is a better than even chance that Lily is a lion.,It is impossible that 'Greg is a rhino 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.0::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.7823564712942589,train,impossible,about even,It is impossible that 'Greg is a rhino and Bernhard is green'.,Chances are about even that 'Greg is a rhino and Bernhard is green'.,1,'Greg is a rhino and Bernhard is green'. Chances are slight that Mary discarded the apple. It is probably not the case that Lily is a rhino. Chances are about even that Fred is in the school.,There is almost no chance that either 'Fred is in the school' 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.1::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5000000000000001,0.7801560312062412,train,about even,almost no chance,Chances are about even that either 'Fred is in the school' or 'Lily is a rhino' but not both.,There is almost no chance that either 'Fred is in the school' or 'Lily is a rhino' but not both.,0,Either 'Fred is in the school' or 'Lily is a rhino' but not both. It is highly likely that Lily is a rhino. It is highly unlikely that Sandra put down the milk. It is impossible that Gertrude is a sheep.,Chances are about even that 'Gertrude is a sheep and Sandra 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.9::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.22484496899379877,train,impossible,about even,It is impossible that 'Gertrude is a sheep and Sandra put down the milk'.,Chances are about even that 'Gertrude is a sheep and Sandra put down the milk'.,0,'Gertrude is a sheep and Sandra put down the milk'. It is certain that John grabbed the apple. We believe that Mary went to the bedroom. It is certain that Bernhard is a rhino.,It is impossible that 'John grabbed 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 1.0::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",1.0,0.6985397079415884,train,certain,impossible,It is certain that 'John grabbed the apple and Bernhard is a rhino'.,It is impossible that 'John grabbed the apple and Bernhard is a rhino'.,0,'John grabbed the apple and Bernhard is a rhino'. Chances are slight that Greg is a swan. It is highly unlikely that Brian is yellow. It is highly likely that John discarded the apple.,It is probable that 'John discarded the apple 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.05::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09000000000000001,0.2598519703940788,train,improbable,probable,It is improbable that 'John discarded the apple and Greg is a swan'.,It is probable that 'John discarded the apple and Greg is a swan'.,0,'John discarded the apple and Greg is a swan'. There is almost no chance that Jeff discarded the milk. It is highly likely that Lily is green. It is probable that Brian is white.,It is likely that 'Jeff discarded the milk 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.9::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.018000000000000002,0.4442888577715543,train,almost no chance,likely,There is almost no chance that 'Jeff discarded the milk and Lily is green'.,It is likely that 'Jeff discarded the milk and Lily is green'.,0,'Jeff discarded the milk and Lily is green'. It is almost certain that Bill left the milk. It is impossible that Brian is green. There is little chance that Julius is a swan.,It is almost certain 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.95::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.10000000000000002,0.15223044608921785,train,improbable,almost certain,It is improbable that either 'Brian is green' or 'Julius is a swan' but not both.,It is almost certain that either 'Brian is green' or 'Julius is a swan' but not both.,0,Either 'Brian is green' or 'Julius is a swan' but not both. It is highly unlikely that Sandra dropped the milk. We believe that Julius is a rhino. It is unlikely that John grabbed the apple.,There is a very good chance that 'Sandra dropped 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.05::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.16143228645729146,train,probably not,very good chance,It is probably not the case that 'Sandra dropped the milk' or 'John grabbed the apple' or both.,There is a very good chance that 'Sandra dropped the milk' or 'John grabbed the apple' or both.,0,'Sandra dropped the milk' or 'John grabbed the apple' or both. There is little chance that Daniel got the milk. It is probable that Greg is a rhino. We believe that Brian is gray.,It is almost certain that 'Brian 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.1::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.925,0.3094618923784757,train,almost certain,improbable,It is almost certain that 'Brian is gray' or 'Greg is a rhino' or both.,It is improbable that 'Brian is gray' or 'Greg is a rhino' or both.,1,'Brian is gray' or 'Greg is a rhino' or both. It is likely that John took the apple. It is unlikely that Brian is a frog. It is improbable that Mary left the football.,It is almost certain that either 'Mary left the football' or 'Brian is a frog' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.12822564512902582,train,probably not,almost certain,It is probably not the case that either 'Mary left the football' or 'Brian is a frog' but not both.,It is almost certain that either 'Mary left the football' or 'Brian is a frog' but not both.,0,Either 'Mary left the football' or 'Brian is a frog' but not both. It is probably the case that Mary picked up the milk. It is probably not the case that Greg is a swan. There is almost no chance that Bernhard is white.,It is highly unlikely that either 'Greg is a swan' 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.25::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.14742948589717944,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is a swan' or 'Mary picked up the milk' but not both.,It is highly unlikely that either 'Greg is a swan' or 'Mary picked up the milk' but not both.,0,Either 'Greg is a swan' or 'Mary picked up the milk' but not both. We doubt that Mary went to the office. There is a very good chance that Brian is green. It is unlikely that Winona is a mouse.,We believe that either 'Mary went 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.2::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.39847969593918786,train,probably not,we believe,It is probably not the case that either 'Mary went to the office' or 'Winona is a mouse' but not both.,We believe that either 'Mary went to the office' or 'Winona is a mouse' but not both.,0,Either 'Mary went to the office' or 'Winona is a mouse' but not both. It is probably the case that Julius is a lion. It is unlikely that Mary went to the kitchen. It is unlikely that Bill moved to the office.,We believe that 'Bill moved 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.7::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.34866973394678935,train,we believe,almost no chance,We believe that 'Bill moved to the office' or 'Julius is a lion' or both.,There is almost no chance that 'Bill moved to the office' or 'Julius is a lion' or both.,1,'Bill moved to the office' or 'Julius is a lion' or both. It is highly unlikely that Daniel grabbed the milk. We believe that Bernhard is a rhino. It is almost certain that John took the football.,We doubt that 'Bernhard 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.05::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9875,0.5949189837967593,train,certain,we doubt,It is certain that 'Bernhard is a rhino' or 'John took the football' or both.,We doubt that 'Bernhard is a rhino' or 'John took the football' or both.,0,'Bernhard is a rhino' or 'John took the football' or both. It is almost certain that Bernhard is yellow. We believe that Julius is a swan. It is highly likely that Brian is a frog.,It is impossible that 'Bernhard 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.75::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9875,0.4576915383076615,train,certain,impossible,It is certain that 'Bernhard is yellow' or 'Julius is a swan' or both.,It is impossible that 'Bernhard is yellow' or 'Julius is a swan' or both.,0,'Bernhard is yellow' or 'Julius is a swan' or both. It is impossible that Sandra took the milk. It is highly unlikely that Lily is white. We believe that John went to the garden.,We believe that 'John went to the garden 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.05::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.03750000000000001,0.42568513702740546,train,highly unlikely,we believe,It is highly unlikely that 'John went to the garden and Lily is white'.,We believe that 'John went to the garden and Lily is white'.,0,'John went to the garden and Lily is white'. It is unlikely that Julius is green. There is almost no chance that Brian is a rhino. It is almost certain that Fred left the football.,It is almost certain that either 'Brian is a rhino' 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.02::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.21200000000000002,0.20524104820964192,train,we doubt,almost certain,We doubt that either 'Brian is a rhino' or 'Julius is green' but not both.,It is almost certain that either 'Brian is a rhino' or 'Julius is green' but not both.,0,Either 'Brian is a rhino' or 'Julius is green' but not both. It is highly likely that Greg is yellow. We believe that John discarded the apple. There is almost no chance that Daniel got the milk.,Chances are slight that 'John discarded the apple' 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.9::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.4556911382276455,train,we believe,chances are slight,We believe that 'John discarded the apple' or 'Daniel got the milk' or both.,Chances are slight that 'John discarded the apple' or 'Daniel got the milk' or both.,0,'John discarded the apple' or 'Daniel got the milk' or both. There is little chance that John dropped the apple. It is impossible that Bernhard is a frog. It is probable that Sandra left the milk.,We believe that 'John dropped 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.6875375075015003,train,impossible,we believe,It is impossible that 'John dropped the apple and Bernhard is a frog'.,We believe that 'John dropped the apple and Bernhard is a frog'.,0,'John dropped the apple and Bernhard is a frog'. It is impossible that Sandra left the milk. It is unlikely that Lily is green. We doubt that John got the football.,It is almost certain that 'John got the football 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.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7697539507901581,train,impossible,almost certain,It is impossible that 'John got the football and Sandra left the milk'.,It is almost certain that 'John got the football and Sandra left the milk'.,0,'John got the football and Sandra left the milk'. It is almost certain that Lily is a lion. It is probably not the case that Bernhard is a swan. It is probable that Julius is gray.,There is a very good 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.95::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2375,0.08501700340068014,train,probably not,very good chance,It is probably not the case that 'Bernhard is a swan and Lily is a lion'.,There is a very good chance that 'Bernhard is a swan and Lily is a lion'.,0,'Bernhard is a swan and Lily is a lion'. It is likely that Brian is white. It is highly likely that Sandra put down the milk. It is highly unlikely that Gertrude is a sheep.,There is almost no chance 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.7::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.736747349469894,train,probably,almost no chance,It is probably the case that 'Gertrude is a sheep' or 'Brian is white' or both.,There is almost no chance that 'Gertrude is a sheep' or 'Brian is white' or both.,0,'Gertrude is a sheep' or 'Brian is white' or both. Chances are about even that Bernhard is a rhino. It is probably not the case that Julius is a lion. It is impossible that Sumit is bored.,It is almost certain that 'Julius 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.5::factA. 0.25::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.12500000000000003,0.11342268453690738,train,chances are slight,almost certain,Chances are slight that 'Julius is a lion and Bernhard is a rhino'.,It is almost certain that 'Julius is a lion and Bernhard is a rhino'.,0,'Julius is a lion and Bernhard is a rhino'. We doubt that John moved to the garden. It is improbable that Brian is green. It is probably the case that Julius is a lion.,It is probably not the case that 'Brian 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.125625125025005,train,probably not,almost certain,It is probably not the case that 'Brian is green' or 'John moved to the garden' or both.,It is almost certain that 'Brian is green' or 'John moved to the garden' or both.,1,'Brian is green' or 'John moved to the garden' or both. It is probably the case that John discarded the apple. Chances are about even that Bernhard is a rhino. Chances are slight that Fred dropped the milk.,There is little chance that 'Fred dropped the milk' 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.5::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.1312262452490498,train,we believe,little chance,We believe that 'Fred dropped the milk' or 'John discarded the apple' or both.,There is little chance that 'Fred dropped the milk' or 'John discarded the apple' or both.,0,'Fred dropped the milk' or 'John discarded the apple' or both. It is highly unlikely that John took the apple. It is probably not the case that Mary grabbed the milk. We doubt that Julius is gray.,Chances are about even 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.05::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.05000000000000001,0.7655531106221244,train,highly unlikely,about even,It is highly unlikely that 'Julius is gray and Mary grabbed the milk'.,Chances are about even that 'Julius is gray and Mary grabbed the milk'.,0,'Julius is gray and Mary grabbed the milk'. It is highly likely that Julius is yellow. It is likely that Mary went to the office. It is almost certain that Lily is a rhino.,It is probable that 'Lily is a rhino and Mary went to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.6649999999999999,0.09641928385677136,train,probable,probably not,It is probable that 'Lily is a rhino and Mary went to the office'.,It is probably not the case that 'Lily is a rhino and Mary went to the office'.,1,'Lily is a rhino and Mary went to the office'. We doubt that Sandra left the milk. It is almost certain that John went to the office. There is almost no chance that Mary moved to the garden.,It is impossible that 'Mary moved to the garden and Sandra left the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.004000000000000002,0.29085817163432687,train,impossible,likely,It is impossible that 'Mary moved to the garden and Sandra left the milk'.,It is likely that 'Mary moved to the garden and Sandra left the milk'.,1,'Mary moved to the garden and Sandra left the milk'. It is highly unlikely that John put down the apple. It is likely that Greg is green. There is almost no chance that Julius is a rhino.,Chances are about even that 'John put down the apple 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.05::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0010000000000000002,0.351870374074815,train,impossible,about even,It is impossible that 'John put down the apple and Julius is a rhino'.,Chances are about even that 'John put down the apple and Julius is a rhino'.,0,'John put down the apple and Julius is a rhino'. Chances are about even that Greg is a frog. Chances are slight that Fred moved to the office. Chances are slight that Mary went to the garden.,Chances are about even that either 'Greg is a frog' 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.5::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.15843168633726745,train,about even,almost no chance,Chances are about even that either 'Greg is a frog' or 'Fred moved to the office' but not both.,There is almost no chance that either 'Greg is a frog' or 'Fred moved to the office' but not both.,1,Either 'Greg is a frog' or 'Fred moved to the office' but not both. Chances are slight that Bernhard is a rhino. We believe that Julius is gray. It is probable that Sandra left the football.,It is certain that 'Bernhard is a rhino 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.1::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.5343068613722745,train,highly unlikely,certain,It is highly unlikely that 'Bernhard is a rhino and Sandra left the football'.,It is certain that 'Bernhard is a rhino and Sandra left the football'.,0,'Bernhard is a rhino and Sandra left the football'. We believe that Fred went to the garden. It is highly likely that Greg is white. It is highly unlikely that Mary took the football.,Chances are slight that 'Fred went to the garden' 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.75::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7625,0.23324664932986597,train,we believe,chances are slight,We believe that 'Fred went to the garden' or 'Mary took the football' or both.,Chances are slight that 'Fred went to the garden' or 'Mary took the football' or both.,0,'Fred went to the garden' or 'Mary took the football' or both. It is probably not the case that Lily is yellow. It is probably the case that John went to the office. It is probably not the case that Brian is a rhino.,There is almost no chance that 'Brian 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.25::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.4375,0.045209041808361675,train,about even,almost no chance,Chances are about even that 'Brian is a rhino' or 'Lily is yellow' or both.,There is almost no chance that 'Brian is a rhino' or 'Lily is yellow' or both.,0,'Brian is a rhino' or 'Lily is yellow' or both. It is improbable that Lily is a lion. There is almost no chance that Brian is yellow. It is unlikely that John went to the office.,It is certain that 'John went to the office' 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.02::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.01900380076015203,train,probably not,certain,It is probably not the case that 'John went to the office' or 'Lily is a lion' or both.,It is certain that 'John went to the office' or 'Lily is a lion' or both.,0,'John went to the office' or 'Lily is a lion' or both. It is likely that Mary discarded the apple. It is highly unlikely that Lily is a rhino. Chances are slight that Bernhard is green.,There is almost no chance that either 'Mary discarded 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.7::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6799999999999999,0.14182836567313462,train,probable,almost no chance,It is probable that either 'Mary discarded the apple' or 'Lily is a rhino' but not both.,There is almost no chance that either 'Mary discarded the apple' or 'Lily is a rhino' but not both.,0,Either 'Mary discarded the apple' or 'Lily is a rhino' but not both. It is highly unlikely that Lily is green. It is impossible that Greg is yellow. It is probably not the case that Mary dropped the milk.,It is almost certain that 'Greg is yellow 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.05::factA. 0.0::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.5803160632126425,train,impossible,almost certain,It is impossible that 'Greg is yellow and Mary dropped the milk'.,It is almost certain that 'Greg is yellow and Mary dropped the milk'.,0,'Greg is yellow and Mary dropped the milk'. It is probable that Sumit is hungry. Chances are slight that Lily is a lion. It is probable that Bernhard is a rhino.,Chances are slight that 'Sumit is hungry' 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.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.33266653330666135,train,highly likely,chances are slight,It is highly likely that 'Sumit is hungry' or 'Bernhard is a rhino' or both.,Chances are slight that 'Sumit is hungry' or 'Bernhard is a rhino' or both.,0,'Sumit is hungry' or 'Bernhard is a rhino' or both. It is probable that John grabbed the apple. We doubt that Winona is a sheep. It is highly unlikely that Jeff moved to the garden.,It is highly unlikely that 'John grabbed 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.7::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.7895579115823165,train,highly unlikely,better than even,It is highly unlikely that 'John grabbed the apple and Jeff moved to the garden'.,There is a better than even chance that 'John grabbed the apple and Jeff moved to the garden'.,1,'John grabbed the apple and Jeff moved to the garden'. There is little chance that Bernhard is a frog. We believe that Emily is a mouse. It is certain that Lily is a frog.,It is impossible that 'Lily 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.1::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.75,0.5171034206841368,train,we believe,impossible,We believe that 'Lily is a frog and Emily is a mouse'.,It is impossible that 'Lily is a frog and Emily is a mouse'.,0,'Lily is a frog and Emily is a mouse'. There is almost no chance that Jessica is a cat. Chances are slight that Greg is white. It is unlikely that Julius is a frog.,There is little chance that either 'Jessica is a cat' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.116,0.580116023204641,train,little chance,likely,There is little chance that either 'Jessica is a cat' or 'Greg is white' but not both.,It is likely that either 'Jessica is a cat' or 'Greg is white' but not both.,1,Either 'Jessica is a cat' or 'Greg is white' but not both. We believe that John took the football. It is probably not the case that Lily is white. There is little chance that Sandra grabbed the milk.,It is probably the case that either 'Sandra grabbed the milk' 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.75::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7,0.6887377475495099,train,probably,improbable,It is probably the case that either 'Sandra grabbed the milk' or 'John took the football' but not both.,It is improbable that either 'Sandra grabbed the milk' or 'John took the football' but not both.,1,Either 'Sandra grabbed the milk' or 'John took the football' but not both. There is almost no chance that Brian is white. It is impossible that Greg is a rhino. Chances are about even that Mary went to the kitchen.,There is almost no chance that either 'Mary went to the kitchen' 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.02::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.5899179835967193,train,about even,almost no chance,Chances are about even that either 'Mary went to the kitchen' or 'Greg is a rhino' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'Greg is a rhino' but not both.,0,Either 'Mary went to the kitchen' or 'Greg is a rhino' but not both. It is probably the case that Greg is a frog. It is probable that John went to the office. It is unlikely that Mary left the football.,There is a better than even chance that either 'Mary left the football' 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.7::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.16203240648129627,train,better than even,chances are slight,There is a better than even chance that either 'Mary left the football' or 'Greg is a frog' but not both.,Chances are slight that either 'Mary left the football' or 'Greg is a frog' but not both.,1,Either 'Mary left the football' or 'Greg is a frog' but not both. It is impossible that Julius is yellow. It is likely that Winona is a sheep. It is certain that Lily is a rhino.,We doubt that 'Winona 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.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.4156831366273255,train,probably,we doubt,It is probably the case that 'Winona is a sheep' or 'Julius is yellow' or both.,We doubt that 'Winona is a sheep' or 'Julius is yellow' or both.,0,'Winona is a sheep' or 'Julius is yellow' or both. It is probably the case that Brian is a swan. Chances are about even that John moved to the garden. It is probably not the case that Emily is a sheep.,It is impossible that either 'Emily 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.7::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6,0.6917383476695339,train,better than even,impossible,There is a better than even chance that either 'Emily is a sheep' or 'Brian is a swan' but not both.,It is impossible that either 'Emily is a sheep' or 'Brian is a swan' but not both.,0,Either 'Emily is a sheep' or 'Brian is a swan' but not both. It is likely that Brian is yellow. It is certain that Julius is a frog. It is likely that Greg is yellow.,It is probably not the case that either 'Brian 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.7::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.44868973794758954,train,probably not,almost certain,It is probably not the case that either 'Brian is yellow' or 'Julius is a frog' but not both.,It is almost certain that either 'Brian is yellow' or 'Julius is a frog' but not both.,1,Either 'Brian is yellow' or 'Julius is a frog' but not both. It is certain that Mary is in the school. It is highly unlikely that Bernhard is a rhino. It is certain that Lily is a lion.,It is highly unlikely that either 'Bernhard is a rhino' 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 1.0::factA. 0.05::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.95,0.03220644128825765,train,almost certain,highly unlikely,It is almost certain that either 'Bernhard is a rhino' or 'Lily is a lion' but not both.,It is highly unlikely that either 'Bernhard is a rhino' or 'Lily is a lion' but not both.,0,Either 'Bernhard is a rhino' or 'Lily is a lion' but not both. Chances are about even that Jeff dropped the apple. It is probable that Bernhard is a swan. It is probably the case that Sandra took the football.,There is a very good chance that 'Bernhard is a swan' 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.85,0.3870774154830966,train,very good chance,probably not,There is a very good chance that 'Bernhard is a swan' or 'Jeff dropped the apple' or both.,It is probably not the case that 'Bernhard is a swan' or 'Jeff dropped the apple' or both.,1,'Bernhard is a swan' or 'Jeff dropped the apple' or both. There is little chance that Julius is gray. We believe that Sandra took the football. We believe that Daniel put down the milk.,There is little chance that 'Julius is gray and Daniel put down the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.75::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.17263452690538109,train,little chance,we believe,There is little chance that 'Julius is gray and Daniel put down the milk'.,We believe that 'Julius is gray and Daniel put down the milk'.,1,'Julius is gray and Daniel put down the milk'. It is probable that Mary took the football. It is highly likely that Julius is gray. There is a very good chance that Lily is green.,It is probably not the case 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.7::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.25999999999999995,0.32606521304260855,train,probably not,very good chance,It is probably not the case that either 'Lily is green' or 'Julius is gray' but not both.,There is a very good chance that either 'Lily is green' or 'Julius is gray' but not both.,1,Either 'Lily is green' or 'Julius is gray' but not both. It is likely that John went to the bedroom. It is unlikely that Jessica is a cat. It is probably not the case that Lily is white.,It is likely that 'Lily is white 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.2::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.05000000000000001,0.04100820164032806,train,highly unlikely,likely,It is highly unlikely that 'Lily is white and Jessica is a cat'.,It is likely that 'Lily is white and Jessica is a cat'.,0,'Lily is white and Jessica is a cat'. It is unlikely that John went to the hallway. It is impossible that Bernhard is a swan. It is unlikely that Julius is yellow.,It is probably not the case that 'John went to the hallway' or 'Julius is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.36000000000000004,0.33446689337867574,train,probably not,probable,It is probably not the case that 'John went to the hallway' or 'Julius is yellow' or both.,It is probable that 'John went to the hallway' or 'Julius is yellow' or both.,1,'John went to the hallway' or 'Julius is yellow' or both. It is probable that Mary moved to the office. It is likely that Bernhard is a swan. It is unlikely that Julius is white.,We doubt that 'Julius 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.6279255851170235,train,we believe,we doubt,We believe that 'Julius is white' or 'Mary moved to the office' or both.,We doubt that 'Julius is white' or 'Mary moved to the office' or both.,0,'Julius is white' or 'Mary moved to the office' or both. There is a very good chance that Greg is a rhino. Chances are slight that Mary discarded the milk. Chances are slight that Brian is gray.,It is unlikely that either 'Brian is gray' 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.8::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.265253050610122,train,unlikely,very good chance,It is unlikely that either 'Brian is gray' or 'Mary discarded the milk' but not both.,There is a very good chance that either 'Brian is gray' or 'Mary discarded the milk' but not both.,1,Either 'Brian is gray' or 'Mary discarded the milk' but not both. There is almost no chance that Jeff discarded the milk. It is probable that Mary left the football. We believe that Julius is yellow.,It is probably the case that 'Jeff discarded the milk 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. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014999999999999998,0.27185437087417486,train,almost no chance,probably,There is almost no chance that 'Jeff discarded the milk and Julius is yellow'.,It is probably the case that 'Jeff discarded the milk and Julius is yellow'.,0,'Jeff discarded the milk and Julius is yellow'. We doubt that John went to the hallway. We believe that Sumit is bored. It is highly unlikely that Bernhard is yellow.,It is probable that 'Bernhard is yellow 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.2::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.03750000000000001,0.5067013402680536,train,highly unlikely,probable,It is highly unlikely that 'Bernhard is yellow and Sumit is bored'.,It is probable that 'Bernhard is yellow and Sumit is bored'.,0,'Bernhard is yellow and Sumit is bored'. There is almost no chance that Brian is white. It is impossible that Antoine is thirsty. It is highly likely that John left the milk.,We believe that 'Antoine is thirsty 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.02::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.03180636127225445,train,impossible,we believe,It is impossible that 'Antoine is thirsty and John left the milk'.,We believe that 'Antoine is thirsty and John left the milk'.,0,'Antoine is thirsty and John left the milk'. Chances are slight that Julius is a lion. There is almost no chance that Mary grabbed the milk. It is unlikely that John went to the hallway.,It is almost certain that 'Mary grabbed 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.1::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.40948189637927584,train,impossible,almost certain,It is impossible that 'Mary grabbed the milk and Julius is a lion'.,It is almost certain that 'Mary grabbed the milk and Julius is a lion'.,0,'Mary grabbed the milk and Julius is a lion'. It is highly unlikely that Gertrude is a wolf. It is impossible that Sandra left the milk. It is probable that Bernhard is a swan.,It is probable 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.05::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.13642728545709143,train,probable,unlikely,It is probable that either 'Sandra left the milk' or 'Bernhard is a swan' but not both.,It is unlikely that either 'Sandra left the milk' or 'Bernhard is a swan' but not both.,1,Either 'Sandra left the milk' or 'Bernhard is a swan' but not both. There is a better than even chance that Lily is a lion. There is a very good chance that Bernhard is a rhino. Chances are about even that Greg is white.,It is highly unlikely 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.6::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.44,0.7285457091418284,train,about even,highly unlikely,Chances are about even that either 'Lily is a lion' or 'Bernhard is a rhino' but not both.,It is highly unlikely 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. We believe that Brian is yellow. We doubt that Julius is a swan. There is little chance that Mary went to the office.,It is likely that either 'Julius is a swan' 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.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.5833166633326665,train,probably not,likely,It is probably not the case that either 'Julius is a swan' or 'Mary went to the office' but not both.,It is likely that either 'Julius is a swan' or 'Mary went to the office' but not both.,0,Either 'Julius is a swan' or 'Mary went to the office' but not both. There is almost no chance that Brian is a lion. It is highly likely that Bernhard is green. It is probably not the case that John went to the office.,It is impossible that 'John went to the office 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.02::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.20404080816163234,train,impossible,very good chance,It is impossible that 'John went to the office and Brian is a lion'.,There is a very good chance that 'John went to the office and Brian is a lion'.,1,'John went to the office and Brian is a lion'. There is a very good chance that Julius is green. It is highly unlikely that Lily is a lion. It is impossible that Jessica is a cat.,We believe that 'Lily is a lion and Julius is green'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.04000000000000001,0.5403080616123225,train,highly unlikely,we believe,It is highly unlikely that 'Lily is a lion and Julius is green'.,We believe that 'Lily is a lion and Julius is green'.,0,'Lily is a lion and Julius is green'. There is a better than even chance that Mary picked up the apple. It is almost certain that John put down the milk. There is a better than even chance that Brian is green.,There is a better than even chance that 'John put down 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 0.6::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.57,0.4500900180036007,train,better than even,little chance,There is a better than even chance that 'John put down the milk and Mary picked up the apple'.,There is little chance that 'John put down the milk and Mary picked up the apple'.,1,'John put down the milk and Mary picked up the apple'. It is improbable that Brian is a frog. It is highly likely that John went to the bedroom. We believe that Mary dropped the milk.,It is likely that 'Mary dropped 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.1::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.675,0.7879575915183037,train,likely,chances are slight,It is likely that 'Mary dropped the milk and John went to the bedroom'.,Chances are slight that 'Mary dropped the milk and John went to the bedroom'.,1,'Mary dropped the milk and John went to the bedroom'. It is probably the case that Emily is a wolf. There is a better than even chance that Lily is green. Chances are slight that Jeff left the apple.,We believe that 'Jeff left 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.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.14882976595319064,train,highly unlikely,we believe,It is highly unlikely that 'Jeff left the apple and Lily is green'.,We believe that 'Jeff left the apple and Lily is green'.,0,'Jeff left the apple and Lily is green'. It is certain that John went to the kitchen. It is unlikely that Brian is a frog. It is highly likely that Mary got the football.,It is impossible that 'Brian is a frog' 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 1.0::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.92,0.5205041008201641,train,highly likely,impossible,It is highly likely that 'Brian is a frog' or 'Mary got the football' or both.,It is impossible that 'Brian is a frog' or 'Mary got the football' or both.,0,'Brian is a frog' or 'Mary got the football' or both. We believe that Bernhard is a frog. There is almost no chance that Brian is gray. Chances are slight that Emily is a sheep.,There is little chance that either 'Emily 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.75::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.4464892978595719,train,little chance,likely,There is little chance that either 'Emily is a sheep' or 'Brian is gray' but not both.,It is likely that either 'Emily is a sheep' or 'Brian is gray' but not both.,1,Either 'Emily is a sheep' or 'Brian is gray' but not both. Chances are slight that Julius is a lion. There is almost no chance that Mary left the milk. There is a very good chance that Greg is a rhino.,It is impossible that either 'Mary left the milk' or 'Greg is a rhino' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.788,0.15963192638527707,train,very good chance,impossible,There is a very good chance that either 'Mary left the milk' or 'Greg is a rhino' but not both.,It is impossible that either 'Mary left the milk' or 'Greg is a rhino' but not both.,0,Either 'Mary left the milk' or 'Greg is a rhino' but not both. It is highly unlikely that Mary left the football. We doubt that Emily is a sheep. It is almost certain that John went to the hallway.,We believe that either 'John went to the hallway' 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.2::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.26485297059411883,train,we believe,chances are slight,We believe that either 'John went to the hallway' or 'Emily is a sheep' but not both.,Chances are slight that either 'John went to the hallway' or 'Emily is a sheep' but not both.,1,Either 'John went to the hallway' or 'Emily is a sheep' but not both. Chances are about even that John left the milk. It is certain that Brian is a lion. It is highly likely that Mary is in the hallway.,It is highly likely that 'Mary is in the hallway 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.5::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.9,0.6157231446289257,train,highly likely,chances are slight,It is highly likely that 'Mary is in the hallway and Brian is a lion'.,Chances are slight that 'Mary is in the hallway and Brian is a lion'.,1,'Mary is in the hallway and Brian is a lion'. It is likely that Bernhard is a frog. It is highly unlikely that Sandra left the milk. It is probable that John picked up the apple.,There is almost no chance 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.496499299859972,train,about even,almost no chance,Chances are about even that 'John picked up the apple and Bernhard is a frog'.,There is almost no chance that 'John picked up the apple and Bernhard is a frog'.,0,'John picked up the apple and Bernhard is a frog'. It is almost certain that John left the milk. There is a very good chance that Greg is white. It is probably not the case that Mary went to the bedroom.,It is probably not the case that 'Mary went to the bedroom 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.95::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2375,0.3180636127225445,train,probably not,probably,It is probably not the case that 'Mary went to the bedroom and John left the milk'.,It is probably the case that 'Mary went to the bedroom and John left the milk'.,1,'Mary went to the bedroom and John left the milk'. We doubt that Jessica is a mouse. Chances are about even that Greg is gray. We believe that Mary went to the garden.,It is impossible that 'Mary went to the garden 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.2::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.375,0.7729545909181836,train,about even,impossible,Chances are about even that 'Mary went to the garden and Greg is gray'.,It is impossible that 'Mary went to the garden and Greg is gray'.,0,'Mary went to the garden and Greg is gray'. There is a better than even chance that Fred went to the office. It is unlikely that Brian is a rhino. There is a better than even chance that Sumit is hungry.,We believe that 'Brian is a rhino 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.6::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.5059011802360472,train,improbable,we believe,It is improbable that 'Brian is a rhino and Sumit is hungry'.,We believe that 'Brian is a rhino and Sumit is hungry'.,0,'Brian is a rhino and Sumit is hungry'. We doubt that Greg is a lion. It is unlikely that Bill went to the garden. There is almost no chance that Jeff dropped the apple.,It is likely that 'Bill went to the garden' 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.2::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.21600000000000003,0.26865373074614923,train,unlikely,likely,It is unlikely that 'Bill went to the garden' or 'Jeff dropped the apple' or both.,It is likely that 'Bill went to the garden' or 'Jeff dropped the apple' or both.,0,'Bill went to the garden' or 'Jeff dropped the apple' or both. It is almost certain that Bernhard is gray. There is little chance that John put down the apple. It is certain that Jason is tired.,Chances are slight that 'Bernhard is gray 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.95::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09500000000000001,0.5303060612122424,train,chances are slight,highly likely,Chances are slight that 'Bernhard is gray and John put down the apple'.,It is highly likely that 'Bernhard is gray and John put down the apple'.,1,'Bernhard is gray and John put down the apple'. We doubt that Greg is white. It is highly likely that Gertrude is a sheep. It is highly unlikely that Mary went to the office.,It is probably not the case that either 'Mary went 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.2::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.23,0.3358671734346869,train,probably not,highly likely,It is probably not the case that either 'Mary went to the office' or 'Greg is white' but not both.,It is highly likely that either 'Mary went to the office' or 'Greg is white' but not both.,1,Either 'Mary went to the office' or 'Greg is white' but not both. It is probably the case that Lily is a swan. There is a better than even chance that Greg is a lion. It is certain that Yann is tired.,It is probably not the case that 'Lily is a swan 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.7::factA. 0.6::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.41048209641928385,train,probable,probably not,It is probable that 'Lily is a swan and Yann is tired'.,It is probably not the case that 'Lily is a swan and Yann is tired'.,0,'Lily is a swan and Yann is tired'. We doubt that Bernhard is green. It is probably the case that Sandra took the football. Chances are about even that John discarded the apple.,There is a better than even 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.2::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6000000000000001,0.11462292458491698,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.,1,'John discarded the apple' or 'Bernhard is green' or both. There is almost no chance that Sandra left the milk. There is almost no chance that Fred is in the school. It is almost certain that Julius is a lion.,It is impossible that 'Fred is in the school 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.02::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0004000000000000001,0.7009401880376075,train,impossible,probable,It is impossible that 'Fred is in the school and Sandra left the milk'.,It is probable that 'Fred is in the school and Sandra left the milk'.,1,'Fred is in the school and Sandra left the milk'. It is highly unlikely that Lily is a swan. We believe that Greg is gray. It is probably the case that Bernhard is green.,Chances are about even that 'Bernhard is green 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.05::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.04820964192838568,train,about even,almost no chance,Chances are about even that 'Bernhard is green and Greg is gray'.,There is almost no chance that 'Bernhard is green and Greg is gray'.,1,'Bernhard is green and Greg is gray'. There is a better than even chance that John picked up the apple. It is highly unlikely that Greg is yellow. There is a better than even chance that Julius is a frog.,Chances are slight 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.6::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.59,0.26705341068213645,train,better than even,chances are slight,There is a better than even chance that either 'Greg is yellow' or 'Julius is a frog' but not both.,Chances are slight 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. We doubt that Jeff moved to the garden. It is probably the case that Mary went to the hallway. It is impossible that Fred left the apple.,We believe that either 'Fred left 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.2::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.7709541908381676,train,we doubt,we believe,We doubt that either 'Fred left the apple' or 'Jeff moved to the garden' but not both.,We believe that either 'Fred left the apple' or 'Jeff moved to the garden' but not both.,0,Either 'Fred left the apple' or 'Jeff moved to the garden' but not both. It is almost certain that John moved to the office. We doubt that Greg is green. It is probable that Lily is a rhino.,Chances are slight 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.95::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.6239247849569914,train,chances are slight,certain,Chances are slight that 'Greg is green and Lily is a rhino'.,It is certain that 'Greg is green and Lily is a rhino'.,1,'Greg is green and Lily is a rhino'. It is almost certain that Daniel dropped the apple. It is probable that Julius is gray. It is probably not the case that Lily is a lion.,It is likely that 'Lily is a lion 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.95::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2375,0.756751350270054,train,probably not,likely,It is probably not the case that 'Lily is a lion and Daniel dropped the apple'.,It is likely that 'Lily is a lion and Daniel dropped the apple'.,0,'Lily is a lion and Daniel dropped the apple'. It is probable that Sandra dropped the apple. It is improbable that Bernhard is gray. It is probable that Mary went to the hallway.,It is highly likely that 'Mary went to the hallway' or 'Sandra dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9099999999999999,0.7745549109821964,train,highly likely,impossible,It is highly likely that 'Mary went to the hallway' or 'Sandra dropped the apple' or both.,It is impossible that 'Mary went to the hallway' or 'Sandra dropped the apple' or both.,1,'Mary went to the hallway' or 'Sandra dropped the apple' or both. It is impossible that Julius is a rhino. It is highly likely that Gertrude is a sheep. It is highly unlikely that John took the apple.,It is probably the case that 'Julius is a rhino' 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.0::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.05000000000000001,0.5783156631326265,train,highly unlikely,probably,It is highly unlikely that 'Julius is a rhino' or 'John took the apple' or both.,It is probably the case that 'Julius is a rhino' or 'John took the apple' or both.,0,'Julius is a rhino' or 'John took the apple' or both. It is certain that Sandra dropped the milk. There is almost no chance that Greg is a lion. We believe that Julius is a lion.,There is almost no chance that 'Sandra dropped the milk 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 1.0::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02,0.7399479895979196,train,almost no chance,almost certain,There is almost no chance that 'Sandra dropped the milk and Greg is a lion'.,It is almost certain that 'Sandra dropped the milk and Greg is a lion'.,1,'Sandra dropped the milk and Greg is a lion'. Chances are slight that Mary moved to the office. Chances are slight that Brian is white. Chances are about even that John took the apple.,Chances are about even that either 'Brian is white' 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.1::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.6721344268853771,train,about even,impossible,Chances are about even that either 'Brian is white' or 'John took the apple' but not both.,It is impossible that either 'Brian is white' or 'John took the apple' but not both.,1,Either 'Brian is white' or 'John took the apple' but not both. It is likely that Bernhard is white. It is unlikely that Brian is a frog. We believe that Jason is tired.,It is improbable 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.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.2504500900180036,train,very good chance,improbable,There is a very good chance that 'Jason is tired' or 'Brian is a frog' or both.,It is improbable that 'Jason is tired' or 'Brian is a frog' or both.,0,'Jason is tired' or 'Brian is a frog' or both. It is probably not the case that Greg is white. It is impossible that Mary went to the bedroom. It is highly likely that Bernhard is a frog.,It is almost certain that 'Bernhard is a frog' 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.0::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.4868973794758952,train,almost certain,highly unlikely,It is almost certain that 'Bernhard is a frog' or 'Greg is white' or both.,It is highly unlikely that 'Bernhard is a frog' or 'Greg is white' or both.,1,'Bernhard is a frog' or 'Greg is white' or both. There is little chance that Emily is a sheep. It is probable that Winona is a wolf. It is highly unlikely that Bernhard is green.,It is probably the case that either 'Emily 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.1::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.49809961992398477,train,little chance,probably,There is little chance that either 'Emily is a sheep' or 'Bernhard is green' but not both.,It is probably the case that either 'Emily is a sheep' or 'Bernhard is green' but not both.,0,Either 'Emily is a sheep' or 'Bernhard is green' but not both. Chances are about even that Sandra left the milk. Chances are about even that Greg is white. Chances are about even that Lily is a rhino.,There is almost no chance that either 'Sandra left 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.5::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.09561912382476495,train,about even,almost no chance,Chances are about even that either 'Sandra left the milk' or 'Lily is a rhino' but not both.,There is almost no chance that either 'Sandra left the milk' or 'Lily is a rhino' but not both.,0,Either 'Sandra left the milk' or 'Lily is a rhino' but not both. It is probable that Gertrude is a sheep. It is likely that Brian is a rhino. It is unlikely that Greg is green.,Chances are slight that 'Greg 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.7::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.3218643728745749,train,chances are slight,probable,Chances are slight that 'Greg is green and Gertrude is a sheep'.,It is probable that 'Greg is green and Gertrude is a sheep'.,1,'Greg is green and Gertrude is a sheep'. It is probably the case that Bernhard is white. We believe that Julius is yellow. It is certain that Mary left the football.,There is almost no chance that 'Julius 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.7::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.3062612522504501,train,certain,almost no chance,It is certain that 'Julius is yellow' or 'Mary left the football' or both.,There is almost no chance that 'Julius is yellow' or 'Mary left the football' or both.,0,'Julius is yellow' or 'Mary left the football' or both. Chances are about even that Greg is yellow. It is almost certain that John dropped the milk. It is impossible that Winona is a mouse.,It is highly unlikely that 'Winona 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.5::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.5,0.03020604120824165,train,about even,highly unlikely,Chances are about even that 'Winona is a mouse' or 'Greg is yellow' or both.,It is highly unlikely that 'Winona is a mouse' or 'Greg is yellow' or both.,0,'Winona is a mouse' or 'Greg is yellow' or both. It is probably not the case that Julius is a swan. It is likely that Daniel left the apple. It is likely that Lily is a lion.,There is a very good chance that 'Lily is a lion' 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.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.1182236447289458,train,very good chance,highly unlikely,There is a very good chance that 'Lily is a lion' or 'Julius is a swan' or both.,It is highly unlikely that 'Lily is a lion' or 'Julius is a swan' or both.,1,'Lily is a lion' or 'Julius is a swan' or both. It is improbable that Lily is green. It is improbable that Brian is yellow. Chances are slight that Mary went to the bedroom.,There is almost no chance that 'Brian 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 0.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.47889577915583115,train,almost no chance,certain,There is almost no chance that 'Brian is yellow and Mary went to the bedroom'.,It is certain that 'Brian is yellow and Mary went to the bedroom'.,1,'Brian is yellow and Mary went to the bedroom'. Chances are about even that Gertrude is a sheep. There is a better than even chance that Jason is tired. It is probably the case that John went to the garden.,It is probably not the case that 'John went to the garden 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.5::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.3499999999999999,0.08281656331266253,train,probably not,very good chance,It is probably not the case that 'John went to the garden and Gertrude is a sheep'.,There is a very good chance that 'John went to the garden and Gertrude is a sheep'.,1,'John went to the garden and Gertrude is a sheep'. It is likely that Mary left the football. It is probably not the case that Lily is white. It is probably not the case that Yann is bored.,It is probably not the case that either 'Lily is white' or 'Yann 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.25::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.375,0.5995199039807961,train,probably not,likely,It is probably not the case that either 'Lily is white' or 'Yann is bored' but not both.,It is likely that either 'Lily is white' or 'Yann is bored' but not both.,1,Either 'Lily is white' or 'Yann is bored' but not both. It is likely that Julius is a frog. There is little chance that Bernhard is yellow. There is almost no chance that Brian is white.,Chances are about even that 'Julius is a frog 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.15463092618523705,train,highly unlikely,about even,It is highly unlikely that 'Julius is a frog and Bernhard is yellow'.,Chances are about even that 'Julius is a frog and Bernhard is yellow'.,0,'Julius is a frog and Bernhard is yellow'. It is probable that Bernhard is a rhino. We doubt that Brian is gray. It is likely that Julius is a frog.,It is certain that 'Bernhard 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.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.2938587717543509,train,about even,certain,Chances are about even that 'Bernhard is a rhino and Julius is a frog'.,It is certain that 'Bernhard is a rhino and Julius is a frog'.,0,'Bernhard is a rhino and Julius is a frog'. It is probably the case that Mary went to the office. It is probable that Brian is white. We doubt that Emily is a mouse.,There is a very good chance that 'Emily is a mouse 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.08621724344868974,train,chances are slight,very good chance,Chances are slight that 'Emily is a mouse and Mary went to the office'.,There is a very good chance that 'Emily is a mouse and Mary went to the office'.,0,'Emily is a mouse and Mary went to the office'. There is almost no chance that Mary grabbed the milk. It is likely that Brian is a frog. It is almost certain that Gertrude is a sheep.,It is almost certain that either 'Gertrude is a sheep' 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.02::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.9319999999999999,0.6775355071014203,train,almost certain,almost no chance,It is almost certain that either 'Gertrude is a sheep' or 'Mary grabbed the milk' but not both.,There is almost no chance that either 'Gertrude is a sheep' or 'Mary grabbed the milk' but not both.,1,Either 'Gertrude is a sheep' or 'Mary grabbed the milk' but not both. There is a better than even chance that Brian is yellow. There is a very good chance that Bernhard is gray. It is impossible that Mary left the football.,Chances are about even that either 'Brian is yellow' 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.6::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.44,0.1778355671134227,train,about even,almost certain,Chances are about even that either 'Brian is yellow' or 'Bernhard is gray' but not both.,It is almost certain that either 'Brian is yellow' or 'Bernhard is gray' but not both.,1,Either 'Brian is yellow' or 'Bernhard is gray' but not both. We doubt that John went to the kitchen. It is certain that Sandra left the milk. It is probably the case that Lily is white.,It is probably not the case that 'Sandra 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.2::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.23604720944188837,train,certain,probably not,It is certain that 'Sandra left the milk' or 'Lily is white' or both.,It is probably not the case that 'Sandra left the milk' or 'Lily is white' or both.,0,'Sandra left the milk' or 'Lily is white' or both. There is almost no chance that Julius is green. There is a very good chance that Lily is white. It is probably not the case that Brian is yellow.,It is almost certain that 'Brian is yellow' 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.02::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.265,0.05081016203240648,train,probably not,almost certain,It is probably not the case that 'Brian is yellow' or 'Julius is green' or both.,It is almost certain that 'Brian is yellow' or 'Julius is green' or both.,0,'Brian is yellow' or 'Julius is green' or both. It is probably the case that Julius is white. It is certain that Jeff put down the milk. Chances are about even that John got the milk.,There is almost no chance that 'Julius is white' 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.7::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.85,0.5827165433086617,train,very good chance,almost no chance,There is a very good chance that 'Julius is white' or 'John got the milk' or both.,There is almost no chance that 'Julius is white' or 'John got the milk' or both.,0,'Julius is white' or 'John got the milk' or both. It is highly likely that Mary dropped the milk. It is improbable that Greg is a rhino. Chances are about even that Bernhard is green.,Chances are about even that either 'Greg is a rhino' or 'Bernhard is green' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.22164432886577315,train,about even,impossible,Chances are about even that either 'Greg is a rhino' or 'Bernhard is green' but not both.,It is impossible that either 'Greg is a rhino' or 'Bernhard is green' but not both.,1,Either 'Greg is a rhino' or 'Bernhard is green' but not both. It is certain that Greg is a lion. Chances are slight that Bernhard is white. It is likely that Julius is a frog.,It is probable 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 1.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.6939387877575515,train,highly unlikely,probable,It is highly unlikely that 'Julius is a frog and Bernhard is white'.,It is probable that 'Julius is a frog and Bernhard is white'.,0,'Julius is a frog and Bernhard is white'. We believe that Lily is a lion. It is probable that Greg is gray. It is likely that Julius is green.,Chances are about even that 'Lily is a lion 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.7969593918783757,train,about even,almost certain,Chances are about even that 'Lily is a lion and Greg is gray'.,It is almost certain that 'Lily is a lion and Greg is gray'.,1,'Lily is a lion and Greg is gray'. It is impossible that Julius is a frog. There is little chance that Brian is green. It is probably the case that Mary went to the office.,There is a better than even chance 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.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.356871374274855,train,highly unlikely,better than even,It is highly unlikely that 'Mary went to the office and Brian is green'.,There is a better than even chance that 'Mary went to the office and Brian is green'.,0,'Mary went to the office and Brian is green'. It is almost certain that Lily is green. There is almost no chance that John discarded the milk. Chances are about even that Greg is a swan.,Chances are about even that either 'Greg is a swan' 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.95::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.38287657531506303,train,about even,impossible,Chances are about even that either 'Greg is a swan' or 'John discarded the milk' but not both.,It is impossible that either 'Greg is a swan' or 'John discarded the milk' but not both.,1,Either 'Greg is a swan' or 'John discarded the milk' but not both. There is a very good chance that Mary picked up the milk. There is little chance that Brian is a lion. There is almost no chance that Julius is yellow.,It is probable that 'Brian is a lion 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.8::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.7629525905181036,train,chances are slight,probable,Chances are slight that 'Brian is a lion and Mary picked up the milk'.,It is probable that 'Brian is a lion and Mary picked up the milk'.,0,'Brian is a lion and Mary picked up the milk'. It is probably not the case that John discarded the milk. It is probable that Lily is a lion. There is a very good chance that Bernhard is a swan.,It is unlikely that 'Bernhard is a swan 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.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.3490698139627926,train,unlikely,we believe,It is unlikely that 'Bernhard is a swan and John discarded the milk'.,We believe that 'Bernhard is a swan and John discarded the milk'.,1,'Bernhard is a swan and John discarded the milk'. There is almost no chance that Greg is white. It is highly likely that Emily is a wolf. There is a better than even chance that Jeff went to the bedroom.,It is highly likely that 'Emily is a wolf' 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.9::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.902,0.18003600720144028,train,highly likely,little chance,It is highly likely that 'Emily is a wolf' or 'Greg is white' or both.,There is little chance that 'Emily is a wolf' or 'Greg is white' or both.,1,'Emily is a wolf' or 'Greg is white' or both. It is highly unlikely that Mary moved to the garden. It is highly likely that Winona is a sheep. Chances are slight that Bernhard is a swan.,It is highly likely that 'Mary moved to the garden' 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.05::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.905,0.20304060812162433,train,highly likely,highly unlikely,It is highly likely that 'Mary moved to the garden' or 'Winona is a sheep' or both.,It is highly unlikely that 'Mary moved to the garden' or 'Winona is a sheep' or both.,1,'Mary moved to the garden' or 'Winona is a sheep' or both. It is highly likely that Bernhard is a rhino. It is probably the case that Fred moved to the office. It is probable that Sandra grabbed the apple.,It is improbable that 'Fred moved 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. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.63,0.19443888777755552,train,better than even,improbable,There is a better than even chance that 'Fred moved to the office and Bernhard is a rhino'.,It is improbable that 'Fred moved to the office and Bernhard is a rhino'.,0,'Fred moved to the office and Bernhard is a rhino'. It is almost certain that John went to the bedroom. Chances are about even that Brian is a rhino. Chances are about even that Bernhard is gray.,It is highly unlikely 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.95::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.75,0.28385677135427084,train,we believe,highly unlikely,We believe that 'Brian is a rhino' or 'Bernhard is gray' or both.,It is highly unlikely that 'Brian is a rhino' or 'Bernhard is gray' or both.,0,'Brian is a rhino' or 'Bernhard is gray' or both. It is probably not the case that Bernhard is green. It is likely that Sandra dropped the milk. It is likely that Mary went to the bedroom.,Chances are about even that 'Mary went to the bedroom 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.54250850170034,train,about even,almost certain,Chances are about even that 'Mary went to the bedroom and Sandra dropped the milk'.,It is almost certain that 'Mary went to the bedroom and Sandra dropped the milk'.,1,'Mary went to the bedroom and Sandra dropped the milk'. There is little chance that Daniel left the apple. It is highly likely that Mary went to the office. It is probably the case that Greg is a rhino.,It is probably not the case that either 'Mary 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.1::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.33999999999999997,0.3900780156031206,train,probably not,very good chance,It is probably not the case that either 'Mary went to the office' or 'Greg is a rhino' but not both.,There is a very good chance that either 'Mary went to the office' or 'Greg is a rhino' but not both.,1,Either 'Mary went to the office' or 'Greg is a rhino' but not both. It is improbable that John grabbed the apple. It is certain that Greg is a frog. We believe that Mary got the football.,Chances are slight that 'John grabbed the apple and Mary got the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.591118223644729,train,chances are slight,probably,Chances are slight that 'John grabbed the apple and Mary got the football'.,It is probably the case that 'John grabbed the apple and Mary got the football'.,1,'John grabbed the apple and Mary got the football'. Chances are slight that Daniel dropped the apple. It is unlikely that Greg is yellow. There is a very good chance that Jessica is a mouse.,It is improbable that 'Jessica is a mouse 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.1::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.20184036807361472,train,improbable,better than even,It is improbable that 'Jessica is a mouse and Daniel dropped the apple'.,There is a better than even chance that 'Jessica is a mouse and Daniel dropped the apple'.,1,'Jessica is a mouse and Daniel dropped the apple'. It is impossible that Julius is a rhino. We believe that Sandra left the apple. There is little chance that Jason is tired.,There is a very good chance that 'Jason is tired' or 'Sandra left the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.5341068213642729,train,very good chance,little chance,There is a very good chance that 'Jason is tired' or 'Sandra left the apple' or both.,There is little chance that 'Jason is tired' or 'Sandra left the apple' or both.,1,'Jason is tired' or 'Sandra left the apple' or both. We doubt that Greg is yellow. Chances are slight that Julius is a frog. It is probable that Brian is white.,It is highly unlikely that 'Brian is white 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. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.4842968593718744,train,highly unlikely,better than even,It is highly unlikely that 'Brian is white and Julius is a frog'.,There is a better than even chance that 'Brian is white and Julius is a frog'.,1,'Brian is white and Julius is a frog'. It is probably not the case that Greg is a swan. Chances are about even that Emily is a cat. It is impossible that John took the apple.,Chances are about even that either 'Emily 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.25::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.5429085817163433,train,about even,highly unlikely,Chances are about even that either 'Emily is a cat' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Emily is a cat' or 'Greg is a swan' but not both.,1,Either 'Emily is a cat' or 'Greg is a swan' but not both. There is a better than even chance that Julius is a rhino. It is probable that Jeff went to the garden. It is unlikely that John took the apple.,We believe that 'John took the apple' 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.6::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.76,0.7165433086617323,train,we believe,unlikely,We believe that 'John took the apple' or 'Jeff went to the garden' or both.,It is unlikely that 'John took the apple' or 'Jeff went to the garden' or both.,1,'John took the apple' or 'Jeff went to the garden' or both. It is likely that Emily is a cat. It is improbable that Mary moved to the garden. It is highly unlikely that Brian is a swan.,It is highly unlikely that either 'Mary moved to the garden' 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.7::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.03280656131226245,train,probable,highly unlikely,It is probable that either 'Mary moved to the garden' or 'Emily is a cat' but not both.,It is highly unlikely that either 'Mary moved to the garden' or 'Emily is a cat' but not both.,0,Either 'Mary moved to the garden' or 'Emily is a cat' but not both. It is almost certain that Mary went to the kitchen. It is certain that Lily is a swan. There is a better than even chance that Julius is white.,It is highly unlikely 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.95::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.41000000000000003,0.1272254450890178,train,about even,highly unlikely,Chances are about even that either 'Mary went to the kitchen' or 'Julius is white' but not both.,It is highly unlikely that either 'Mary went to the kitchen' or 'Julius is white' but not both.,0,Either 'Mary went to the kitchen' or 'Julius is white' but not both. We believe that Julius is gray. Chances are slight that Mary went to the garden. There is a better than even chance that Brian is a frog.,Chances are slight that either 'Julius 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.75::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.08201640328065612,train,probable,chances are slight,It is probable that either 'Julius is gray' or 'Mary went to the garden' but not both.,Chances are slight that either 'Julius is gray' or 'Mary went to the garden' but not both.,0,Either 'Julius is gray' or 'Mary went to the garden' but not both. There is a very good chance that John left the football. It is highly unlikely that Brian is a frog. We believe that Greg is a lion.,It is probably not the case that either 'Greg is a lion' 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.05::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.35000000000000003,0.7317463492698539,train,probably not,very good chance,It is probably not the case that either 'Greg is a lion' or 'John left the football' but not both.,There is a very good chance that either 'Greg is a lion' or 'John left the football' but not both.,1,Either 'Greg is a lion' or 'John left the football' but not both. It is impossible that John went to the bedroom. It is probably not the case that Jessica is a wolf. It is highly unlikely that Sandra left the apple.,There is a better than even chance that 'Sandra left 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.0::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.24524904980996198,train,impossible,better than even,It is impossible that 'Sandra left the apple and John went to the bedroom'.,There is a better than even chance that 'Sandra left the apple and John went to the bedroom'.,0,'Sandra left the apple and John went to the bedroom'. It is certain that Brian is a lion. It is unlikely that Bernhard is green. It is highly likely that Greg is gray.,It is probable that either 'Brian is a lion' 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 1.0::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.09999999999999998,0.7243448689737948,train,improbable,probable,It is improbable that either 'Brian is a lion' or 'Greg is gray' but not both.,It is probable that either 'Brian is a lion' or 'Greg is gray' but not both.,0,Either 'Brian is a lion' or 'Greg is gray' but not both. We doubt that Greg is gray. It is impossible that Mary went to the hallway. It is improbable that Bill left the football.,It is almost certain that 'Greg 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.2::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.4006801360272054,train,probably not,almost certain,It is probably not the case that 'Greg is gray' or 'Bill left the football' or both.,It is almost certain that 'Greg is gray' or 'Bill left the football' or both.,0,'Greg is gray' or 'Bill left the football' or both. It is highly likely that Bernhard is gray. We doubt that Emily is a sheep. It is likely that Greg is a swan.,It is probably not the case that either 'Bernhard is gray' 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.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.5401080216043209,train,we believe,probably not,We believe that either 'Bernhard is gray' or 'Emily is a sheep' but not both.,It is probably not the case that either 'Bernhard is gray' or 'Emily is a sheep' but not both.,0,Either 'Bernhard is gray' or 'Emily is a sheep' but not both. It is highly likely that Greg is a frog. Chances are slight that John left the football. Chances are about even that Mary went to the kitchen.,Chances are about even that 'Mary 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.9::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.45000000000000007,0.48649729945989195,train,about even,highly unlikely,Chances are about even that 'Mary went to the kitchen and Greg is a frog'.,It is highly unlikely that 'Mary went to the kitchen and Greg is a frog'.,1,'Mary went to the kitchen and Greg is a frog'. It is unlikely that Lily is a lion. There is a better than even chance that Mary got the apple. It is highly unlikely that Antoine is thirsty.,There is little chance that 'Lily is a lion 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.6::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.12000000000000001,0.1784356871374275,train,little chance,very good chance,There is little chance that 'Lily is a lion and Mary got the apple'.,There is a very good chance that 'Lily is a lion and Mary got the apple'.,1,'Lily is a lion and Mary got the apple'. It is certain that Sandra took the football. It is improbable that Bernhard is green. It is unlikely that Lily is a frog.,It is highly likely that 'Lily 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 1.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.22324464892978596,train,probably not,highly likely,It is probably not the case that 'Lily is a frog' or 'Bernhard is green' or both.,It is highly likely that 'Lily is a frog' or 'Bernhard is green' or both.,0,'Lily is a frog' or 'Bernhard is green' or both. It is probable that Julius is yellow. We doubt that Jeff left the apple. Chances are slight that John went to the garden.,It is likely that either 'John went 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.3616723344668934,train,likely,we doubt,It is likely that either 'John went to the garden' or 'Julius is yellow' but not both.,We doubt that either 'John went to the garden' or 'Julius is yellow' but not both.,1,Either 'John went to the garden' or 'Julius is yellow' but not both. It is probably the case that Julius is yellow. It is certain that John put down the apple. It is probable that Lily is a rhino.,Chances are about even 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.7::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.014202840568113623,train,about even,certain,Chances are about even that either 'Lily is a rhino' or 'Julius is yellow' but not both.,It is certain 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. It is certain that Greg is a swan. There is a better than even chance that Mary discarded the milk. It is probably the case that Daniel dropped the apple.,Chances are about even that either 'Mary discarded the milk' or 'Greg is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.6233246649329865,train,about even,impossible,Chances are about even that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,It is impossible that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,1,Either 'Mary discarded the milk' or 'Greg is a swan' but not both. We doubt that John put down the milk. It is improbable that Daniel grabbed the apple. It is impossible that Mary went to the office.,It is probably not the case that 'John put down the milk' 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.2::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.631126225245049,train,probably not,highly likely,It is probably not the case that 'John put down the milk' or 'Daniel grabbed the apple' or both.,It is highly likely that 'John put down the milk' or 'Daniel grabbed the apple' or both.,1,'John put down the milk' or 'Daniel grabbed the apple' or both. There is a better than even chance that Mary went to the office. It is improbable that Julius is yellow. There is almost no chance that Brian is a rhino.,It is improbable that 'Julius 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.6::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.11800000000000002,0.6719343868773755,train,improbable,likely,It is improbable that 'Julius is yellow' or 'Brian is a rhino' or both.,It is likely that 'Julius is yellow' or 'Brian is a rhino' or both.,1,'Julius is yellow' or 'Brian is a rhino' or both. There is little chance that Bernhard is white. It is improbable that Mary moved to the garden. It is improbable that John left the milk.,We doubt that either 'John 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.03860772154430886,train,we doubt,highly likely,We doubt that either 'John left the milk' or 'Bernhard is white' but not both.,It is highly likely that either 'John left the milk' or 'Bernhard is white' but not both.,1,Either 'John left the milk' or 'Bernhard is white' but not both. We doubt that Lily is green. We believe that Bernhard is gray. There is a very good chance that Jeff went to the garden.,It is probably not the case that either 'Bernhard is gray' 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.75::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.35000000000000003,0.38307661532306464,train,probably not,we believe,It is probably not the case that either 'Bernhard is gray' or 'Jeff went to the garden' but not both.,We believe that either 'Bernhard is gray' or 'Jeff went to the garden' but not both.,1,Either 'Bernhard is gray' or 'Jeff went to the garden' but not both. Chances are about even that Greg is a rhino. It is highly likely that Bernhard is a frog. It is probably not the case that Sandra left the apple.,It is certain that 'Sandra left 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.5::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.12500000000000003,0.05541108221644329,train,improbable,certain,It is improbable that 'Sandra left the apple and Greg is a rhino'.,It is certain that 'Sandra left the apple and Greg is a rhino'.,0,'Sandra left the apple and Greg is a rhino'. Chances are slight that John went to the hallway. It is impossible that Gertrude is a cat. There is a better than even chance that Winona is a mouse.,There is a better than even chance that 'Gertrude is a cat' 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. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6,0.4216843368673735,train,better than even,impossible,There is a better than even chance that 'Gertrude is a cat' or 'Winona is a mouse' or both.,It is impossible that 'Gertrude is a cat' or 'Winona is a mouse' or both.,1,'Gertrude is a cat' or 'Winona is a mouse' or both. It is certain that John got the milk. It is impossible that Brian is a frog. Chances are slight that Lily is white.,Chances are slight that either 'Lily 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.10000000000000002,0.4396879375875175,train,chances are slight,probably,Chances are slight that either 'Lily is white' or 'Brian is a frog' but not both.,It is probably the case that either 'Lily is white' or 'Brian is a frog' but not both.,1,Either 'Lily is white' or 'Brian is a frog' but not both. It is certain that Greg is a frog. Chances are slight that Mary went to the garden. There is a very good chance that John moved to the office.,We believe that 'John moved to the office 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.1::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.08000000000000002,0.3322664532906581,train,improbable,we believe,It is improbable that 'John moved to the office and Mary went to the garden'.,We believe that 'John moved to the office and Mary went to the garden'.,0,'John moved to the office and Mary went to the garden'. It is unlikely that Yann is tired. Chances are about even that Julius is a rhino. It is improbable that Brian is a swan.,It is almost certain that either 'Brian 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.2::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.5531106221244249,train,about even,almost certain,Chances are about even that either 'Brian is a swan' or 'Julius is a rhino' but not both.,It is almost certain that either 'Brian is a swan' or 'Julius is a rhino' but not both.,0,Either 'Brian is a swan' or 'Julius is a rhino' but not both. It is highly likely that Lily is a swan. It is probable that Brian is yellow. It is impossible that Jessica is a cat.,It is improbable that 'Lily 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 0.9::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.63,0.1242248449689938,train,better than even,improbable,There is a better than even chance that 'Lily is a swan and Brian is yellow'.,It is improbable that 'Lily is a swan and Brian is yellow'.,0,'Lily is a swan and Brian is yellow'. It is highly likely that Sandra left the milk. It is certain that John moved to the office. It is improbable that Brian is green.,It is highly unlikely that 'Brian is green' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.10702140428085617,train,certain,highly unlikely,It is certain that 'Brian is green' or 'John moved to the office' or both.,It is highly unlikely that 'Brian is green' or 'John moved to the office' or both.,0,'Brian is green' or 'John moved to the office' or both. It is probable that Bernhard is a frog. It is highly likely that Sandra dropped the milk. There is little chance that Julius is a lion.,It is almost certain that 'Bernhard is a frog' 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.9::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.6949389877975595,train,almost certain,impossible,It is almost certain that 'Bernhard is a frog' or 'Sandra dropped the milk' or both.,It is impossible that 'Bernhard is a frog' or 'Sandra dropped the milk' or both.,1,'Bernhard is a frog' or 'Sandra dropped the milk' or both. It is probable that Bernhard is a swan. It is certain that Lily is white. It is impossible that John left the milk.,It is probably not the case that either 'Bernhard 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.7::factA. 1.0::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.7085417083416683,train,probably not,likely,It is probably not the case that either 'Bernhard is a swan' or 'Lily is white' but not both.,It is likely that either 'Bernhard is a swan' or 'Lily is white' but not both.,1,Either 'Bernhard is a swan' or 'Lily is white' but not both. There is little chance that Julius is gray. We believe that John went to the bedroom. We believe that Mary discarded the milk.,We doubt that 'Mary discarded 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.1::factA. 0.75::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.41528305661132225,train,we believe,we doubt,We believe that 'Mary discarded the milk' or 'Julius is gray' or both.,We doubt that 'Mary discarded the milk' or 'Julius is gray' or both.,0,'Mary discarded the milk' or 'Julius is gray' or both. It is probably not the case that Jessica is a mouse. It is highly unlikely that Julius is a rhino. It is highly unlikely that John got the football.,We believe that either 'Julius is a rhino' or 'John 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.05::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.09500000000000001,0.1792358471694339,train,little chance,we believe,There is little chance that either 'Julius is a rhino' or 'John got the football' but not both.,We believe that either 'Julius is a rhino' or 'John got the football' but not both.,0,Either 'Julius is a rhino' or 'John got the football' but not both. It is unlikely that Mary went to the bedroom. We doubt that Julius is a frog. Chances are about even that Yann is hungry.,It is improbable that 'Yann is hungry' 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.2::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6000000000000001,0.46209241848369675,train,better than even,improbable,There is a better than even chance that 'Yann is hungry' or 'Mary went to the bedroom' or both.,It is improbable that 'Yann is hungry' or 'Mary went to the bedroom' or both.,0,'Yann is hungry' or 'Mary went to the bedroom' or both. It is unlikely that Lily is a swan. There is a better than even chance that Gertrude is a wolf. It is probable that John left the football.,There is a better than even chance that either 'Lily is a swan' 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.2::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5599999999999999,0.5755151030206042,train,better than even,chances are slight,There is a better than even chance that either 'Lily is a swan' or 'Gertrude is a wolf' but not both.,Chances are slight that either 'Lily is a swan' or 'Gertrude is a wolf' but not both.,1,Either 'Lily is a swan' or 'Gertrude is a wolf' but not both. It is certain that John went to the garden. It is almost certain that Julius is a lion. It is probably the case that Greg is a rhino.,It is certain that either 'Julius 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 1.0::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32000000000000006,0.11382276455291059,train,probably not,certain,It is probably not the case that either 'Julius is a lion' or 'Greg is a rhino' but not both.,It is certain that either 'Julius is a lion' or 'Greg is a rhino' but not both.,0,Either 'Julius is a lion' or 'Greg is a rhino' but not both. We doubt that Jeff dropped the apple. Chances are about even that Fred went to the garden. It is probable that Greg is a rhino.,There is a better than even chance that either 'Greg is a rhino' 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.2::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.10082016403280657,train,better than even,little chance,There is a better than even chance that either 'Greg is a rhino' or 'Jeff dropped the apple' but not both.,There is little chance that either 'Greg is a rhino' or 'Jeff dropped the apple' but not both.,1,Either 'Greg is a rhino' or 'Jeff dropped the apple' but not both. We doubt that Mary grabbed the milk. It is probably not the case that Fred went to the garden. We believe that Greg is a lion.,It is highly unlikely that 'Fred went to the garden' 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.2::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4,0.2566513302660532,train,about even,highly unlikely,Chances are about even that 'Fred went to the garden' or 'Mary grabbed the milk' or both.,It is highly unlikely that 'Fred went to the garden' or 'Mary grabbed the milk' or both.,0,'Fred went to the garden' or 'Mary grabbed the milk' or both. It is probable that John picked up the milk. It is likely that Mary went to the office. It is probably not the case that Bernhard is yellow.,It is highly 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.7::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9099999999999999,0.7905581116223245,train,highly likely,chances are slight,It is highly likely that 'Mary went to the office' or 'John picked up the milk' or both.,Chances are slight 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. It is probably the case that Brian is a swan. We believe that Mary moved to the garden. It is improbable that Julius is gray.,It is unlikely that 'Brian 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.23484696939387878,train,we believe,unlikely,We believe that 'Brian is a swan' or 'Julius is gray' or both.,It is unlikely that 'Brian is a swan' or 'Julius is gray' or both.,0,'Brian is a swan' or 'Julius is gray' or both. It is certain that Antoine is thirsty. There is almost no chance that Daniel got the football. It is likely that Lily is a lion.,It is probably the case that 'Lily is a lion' 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.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.706,0.21064212842568514,train,probably,almost no chance,It is probably the case that 'Lily is a lion' or 'Daniel got the football' or both.,There is almost no chance that 'Lily is a lion' or 'Daniel got the football' or both.,1,'Lily is a lion' or 'Daniel got the football' or both. It is highly unlikely that Yann is thirsty. It is likely that John dropped the apple. It is likely that Bernhard is a swan.,There is almost no chance that 'Bernhard is a swan' 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.05::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.7059411882376475,train,probably,almost no chance,It is probably the case that 'Bernhard is a swan' or 'Yann is thirsty' or both.,There is almost no chance that 'Bernhard is a swan' or 'Yann is thirsty' or both.,0,'Bernhard is a swan' or 'Yann is thirsty' or both. It is probably the case that Mary went to the hallway. Chances are about even that Julius is a swan. It is probable that Lily is green.,There is little 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.7::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.85,0.5311062212442489,train,very good chance,little chance,There is a very good chance that 'Mary went to the hallway' or 'Julius is a swan' or both.,There is little chance that 'Mary went to the hallway' or 'Julius is a swan' or both.,0,'Mary went to the hallway' or 'Julius is a swan' or both. There is a very good chance that Mary went to the bedroom. It is improbable that Winona is a mouse. It is impossible that Julius is gray.,It is unlikely that either 'Julius 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.8::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.7011402280456092,train,very good chance,unlikely,There is a very good chance that either 'Julius is gray' or 'Mary went to the bedroom' but not both.,It is unlikely that either 'Julius is gray' or 'Mary went to the bedroom' but not both.,0,Either 'Julius is gray' or 'Mary went to the bedroom' but not both. It is probably the case that Julius is a lion. There is almost no chance that John went to the garden. It is highly likely that Lily is a frog.,It is highly unlikely that either 'Julius 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.7::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.692,0.250250050010002,train,probable,highly unlikely,It is probable that either 'Julius is a lion' or 'John went to the garden' but not both.,It is highly unlikely that either 'Julius is a lion' or 'John went to the garden' but not both.,0,Either 'Julius is a lion' or 'John went to the garden' but not both. We believe that Daniel got the milk. We believe that Greg is a frog. It is unlikely that Emily is a wolf.,There is a very good chance that 'Greg 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.75::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.662132426485297,train,very good chance,little chance,There is a very good chance that 'Greg is a frog' or 'Emily is a wolf' or both.,There is little chance that 'Greg is a frog' or 'Emily is a wolf' or both.,1,'Greg is a frog' or 'Emily is a wolf' or both. It is highly unlikely that Sandra grabbed the milk. It is impossible that Lily is a rhino. There is a better than even chance that Mary left the football.,There is a better than even chance that either 'Mary 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.05::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.08121624324864973,train,better than even,improbable,There is a better than even chance that either 'Mary left the football' or 'Lily is a rhino' but not both.,It is improbable that either 'Mary left the football' or 'Lily is a rhino' but not both.,1,Either 'Mary left the football' or 'Lily is a rhino' but not both. It is impossible that Julius is gray. It is unlikely that Bernhard is green. It is highly likely that Mary grabbed the milk.,It is unlikely that 'Mary grabbed 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.0::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9,0.7641528305661133,train,highly likely,unlikely,It is highly likely that 'Mary grabbed the milk' or 'Julius is gray' or both.,It is unlikely that 'Mary grabbed the milk' or 'Julius is gray' or both.,0,'Mary grabbed the milk' or 'Julius is gray' or both. It is highly likely that Greg is a rhino. It is highly unlikely that Mary went to the office. It is probably not the case that Gertrude is a sheep.,It is probably not the case that 'Gertrude 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.9::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.2875,0.5775155031006202,train,probably not,probably,It is probably not the case that 'Gertrude is a sheep' or 'Mary went to the office' or both.,It is probably the case that 'Gertrude is a sheep' or 'Mary went to the office' or both.,1,'Gertrude is a sheep' or 'Mary went to the office' or both. It is improbable that Lily is white. It is likely that Winona is a mouse. It is probable that Mary moved to the garden.,It is highly unlikely that either 'Winona is a mouse' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.032406481296259254,train,probable,highly unlikely,It is probable that either 'Winona is a mouse' or 'Lily is white' but not both.,It is highly unlikely that either 'Winona is a mouse' or 'Lily is white' but not both.,0,Either 'Winona is a mouse' or 'Lily is white' but not both. There is little chance that Bernhard is a lion. Chances are about even that Gertrude is a mouse. It is likely that Daniel dropped the milk.,There is almost no chance that either 'Daniel dropped the milk' 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.1::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.49999999999999994,0.28305661132226445,train,about even,almost no chance,Chances are about even that either 'Daniel dropped the milk' or 'Gertrude is a mouse' but not both.,There is almost no chance that either 'Daniel dropped the milk' or 'Gertrude is a mouse' but not both.,0,Either 'Daniel dropped the milk' or 'Gertrude is a mouse' but not both. We doubt that Brian is green. Chances are slight that Bernhard is green. Chances are slight that Bill got the milk there.,We believe that 'Bill got the milk there 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.02000000000000001,0.6825365073014603,train,almost no chance,we believe,There is almost no chance that 'Bill got the milk there and Brian is green'.,We believe that 'Bill got the milk there and Brian is green'.,0,'Bill got the milk there and Brian is green'. It is highly unlikely that John left the milk. It is almost certain that Sandra got the football. It is likely that Lily is a rhino.,It is highly unlikely that 'Lily is a rhino 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.05::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.027205441088217645,train,highly unlikely,very good chance,It is highly unlikely that 'Lily is a rhino and John left the milk'.,There is a very good chance that 'Lily is a rhino and John left the milk'.,1,'Lily is a rhino and John left the milk'. Chances are slight that John discarded the milk. There is a better than even chance that Julius is a swan. It is probably not the case that Jeff went to the bedroom.,There is a better than even chance that either 'Julius is a swan' or 'Jeff went to the bedroom' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.6::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.55,0.0650130026005201,train,better than even,little chance,There is a better than even chance that either 'Julius is a swan' or 'Jeff went to the bedroom' but not both.,There is little chance that either 'Julius is a swan' or 'Jeff went to the bedroom' but not both.,1,Either 'Julius is a swan' or 'Jeff went to the bedroom' but not both. It is likely that Jessica is a sheep. It is improbable that Mary dropped the milk. There is a very good chance that Lily is a lion.,It is likely that either 'Jessica 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.7::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.5163032606521304,train,likely,unlikely,It is likely that either 'Jessica is a sheep' or 'Mary dropped the milk' but not both.,It is unlikely that either 'Jessica is a sheep' or 'Mary dropped the milk' but not both.,1,Either 'Jessica is a sheep' or 'Mary dropped the milk' but not both. There is little chance that Brian is gray. It is highly unlikely that Bernhard is yellow. Chances are about even that Lily is a swan.,There is little chance that 'Lily is a swan' 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.05::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.55,0.009201840368073614,train,better than even,little chance,There is a better than even chance that 'Lily is a swan' or 'Brian is gray' or both.,There is little chance that 'Lily is a swan' or 'Brian is gray' or both.,0,'Lily is a swan' or 'Brian is gray' or both. It is probable that Lily is white. It is unlikely that Brian is a frog. It is probable that John went to the office.,It is almost certain that 'John went 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.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.5581116223244649,train,improbable,almost certain,It is improbable that 'John went to the office and Brian is a frog'.,It is almost certain that 'John went to the office and Brian is a frog'.,0,'John went to the office and Brian is a frog'. There is a very good chance that Fred is in the school. It is improbable that Julius is a frog. There is almost no chance that John left the milk.,There is a very good chance that 'John left 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.8::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.01600000000000001,0.28485697139427885,train,almost no chance,very good chance,There is almost no chance that 'John left the milk and Fred is in the school'.,There is a very good chance that 'John left the milk and Fred is in the school'.,0,'John left the milk and Fred is in the school'. There is a better than even chance that Julius is white. It is improbable that Bernhard is a swan. We believe that Gertrude is a mouse.,Chances are slight that 'Gertrude 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.6::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07500000000000002,0.7771554310862172,train,chances are slight,likely,Chances are slight that 'Gertrude is a mouse and Bernhard is a swan'.,It is likely that 'Gertrude is a mouse and Bernhard is a swan'.,1,'Gertrude is a mouse and Bernhard is a swan'. There is a better than even chance that Julius is green. It is probably not the case that Brian is a swan. It is probably the case that Greg is a lion.,There is a better than even chance that either 'Brian 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.6::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.55,0.28105621124224844,train,better than even,impossible,There is a better than even chance that either 'Brian is a swan' or 'Julius is green' but not both.,It is impossible that either 'Brian is a swan' or 'Julius is green' but not both.,1,Either 'Brian is a swan' or 'Julius is green' but not both. Chances are slight that Bill left the milk. It is unlikely that Gertrude is a mouse. We believe that John put down the apple.,There is little chance that 'Bill left the milk 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.1::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.3072614522904581,train,little chance,likely,There is little chance that 'Bill left the milk and John put down the apple'.,It is likely that 'Bill left the milk and John put down the apple'.,1,'Bill left the milk and John put down the apple'. There is almost no chance that Mary got the milk. There is a better than even chance that Bernhard is a rhino. There is little chance that John took the football.,It is highly likely that 'John took the football 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.02::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0020000000000000005,0.7843568713742749,train,impossible,highly likely,It is impossible that 'John took the football and Mary got the milk'.,It is highly likely that 'John took the football and Mary got the milk'.,0,'John took the football and Mary got the milk'. There is a better than even chance that Greg is a rhino. We believe that Sandra left the milk. It is highly likely that Bernhard is green.,Chances are slight that 'Sandra 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.6::factA. 0.75::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.29625925185037005,train,highly likely,chances are slight,It is highly likely that 'Sandra left the milk' or 'Greg is a rhino' or both.,Chances are slight that 'Sandra left the milk' or 'Greg is a rhino' or both.,0,'Sandra left the milk' or 'Greg is a rhino' or both. It is impossible that Yann is thirsty. It is unlikely that Daniel left the apple. It is likely that Brian is yellow.,It is unlikely that either 'Yann is thirsty' 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.0::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.2,0.6959391878375675,train,unlikely,highly likely,It is unlikely that either 'Yann is thirsty' or 'Daniel left the apple' but not both.,It is highly likely that either 'Yann is thirsty' or 'Daniel left the apple' but not both.,1,Either 'Yann is thirsty' or 'Daniel left the apple' but not both. It is certain that Greg is a frog. It is probably not the case that Bernhard is a rhino. It is impossible that Lily is a lion.,We believe that either 'Greg 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 1.0::factA. 0.25::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.75,0.3726745349069814,train,we believe,we doubt,We believe that either 'Greg is a frog' or 'Bernhard is a rhino' but not both.,We doubt that either 'Greg is a frog' or 'Bernhard is a rhino' but not both.,1,Either 'Greg is a frog' or 'Bernhard is a rhino' but not both. Chances are about even that Bernhard is a swan. It is highly unlikely that Antoine is bored. There is little chance that John is in the garden.,There is little chance that 'John is in the garden' 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.55,0.4786957391478296,train,better than even,little chance,There is a better than even chance that 'John is in the garden' or 'Bernhard is a swan' or both.,There is little chance that 'John is in the garden' or 'Bernhard is a swan' or both.,0,'John is in the garden' or 'Bernhard is a swan' or both. Chances are slight that Lily is a frog. There is almost no chance that Julius is a swan. It is impossible that John grabbed the apple.,There is a better than even chance that either 'Julius is a swan' 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.02::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.02,0.6009201840368074,train,almost no chance,better than even,There is almost no chance that either 'Julius is a swan' or 'John grabbed the apple' but not both.,There is a better than even chance that either 'Julius is a swan' or 'John grabbed the apple' but not both.,0,Either 'Julius is a swan' or 'John grabbed the apple' but not both. It is improbable that Mary went to the kitchen. It is probable that Greg is a lion. It is highly likely that Julius is yellow.,It is impossible that either 'Mary 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.1::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.1946389277855571,train,very good chance,impossible,There is a very good chance that either 'Mary went to the kitchen' or 'Julius is yellow' but not both.,It is impossible that either 'Mary went to the kitchen' or 'Julius is yellow' but not both.,0,Either 'Mary went to the kitchen' or 'Julius is yellow' but not both. We believe that Greg is a lion. There is a very good chance that Julius is white. We believe that John put down the apple.,There is a better than even chance 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.75::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5625,0.740748149629926,train,better than even,little chance,There is a better than even chance that 'John put down the apple and Greg is a lion'.,There is little chance that 'John put down the apple and Greg is a lion'.,1,'John put down the apple and Greg is a lion'. There is a very good chance that Jason is tired. It is impossible that John took the apple. It is probably not the case that Bernhard is yellow.,It is unlikely that 'Bernhard is yellow 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.0::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.721744348869774,train,unlikely,we believe,It is unlikely that 'Bernhard is yellow and Jason is tired'.,We believe that 'Bernhard is yellow and Jason is tired'.,1,'Bernhard is yellow and Jason is tired'. There is a better than even chance that John discarded the milk. It is likely that Lily is a rhino. It is almost certain that Gertrude is a cat.,It is certain that 'John discarded the milk' or 'Gertrude is a cat' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.98,0.26325265053010605,train,certain,chances are slight,It is certain that 'John discarded the milk' or 'Gertrude is a cat' or both.,Chances are slight that 'John discarded the milk' or 'Gertrude is a cat' or both.,1,'John discarded the milk' or 'Gertrude is a cat' or both. It is improbable that Greg is a rhino. There is a very good chance that Lily is gray. It is probable that Fred left the football.,It is almost certain that 'Lily is gray' 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9400000000000001,0.34706941388277657,train,almost certain,chances are slight,It is almost certain that 'Lily is gray' or 'Fred left the football' or both.,Chances are slight that 'Lily is gray' or 'Fred left the football' or both.,1,'Lily is gray' or 'Fred left the football' or both. We doubt that Greg is a swan. There is a very good chance that John took the football. There is little chance that Lily is green.,There is a very good chance that 'John took the football' 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.2::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8200000000000001,0.40088017603520704,train,very good chance,we doubt,There is a very good chance that 'John took the football' or 'Lily is green' or both.,We doubt that 'John took the football' or 'Lily is green' or both.,1,'John took the football' or 'Lily is green' or both. It is highly unlikely that Lily is white. It is certain that Brian is yellow. It is unlikely that Jeff went to the garden.,We believe that 'Lily 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.05::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.7271454290858171,train,probably not,we believe,It is probably not the case that 'Lily is white' or 'Jeff went to the garden' or both.,We believe that 'Lily is white' or 'Jeff went to the garden' or both.,0,'Lily is white' or 'Jeff went to the garden' or both. We believe that Greg is a lion. There is little chance that Mary left the football. It is improbable that Winona is a sheep.,There is little chance that 'Greg 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.75::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.2844568913782757,train,very good chance,little chance,There is a very good chance that 'Greg is a lion' or 'Winona is a sheep' or both.,There is little chance that 'Greg is a lion' or 'Winona is a sheep' or both.,0,'Greg is a lion' or 'Winona is a sheep' or both. There is a very good chance that Mary dropped the apple. There is a better than even chance that Bill went to the kitchen. Chances are slight that Sandra grabbed the milk.,It is impossible that 'Mary dropped the apple 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.8::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48,0.6489297859571914,train,about even,impossible,Chances are about even that 'Mary dropped the apple and Bill went to the kitchen'.,It is impossible that 'Mary dropped the apple and Bill went to the kitchen'.,0,'Mary dropped the apple and Bill went to the kitchen'. It is improbable that Bernhard is a frog. It is likely that Julius is gray. It is likely that Brian is a lion.,We believe that 'Julius 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.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.4892978595719144,train,we believe,almost no chance,We believe that 'Julius is gray' or 'Bernhard is a frog' or both.,There is almost no chance that 'Julius is gray' or 'Bernhard is a frog' or both.,1,'Julius is gray' or 'Bernhard is a frog' or both. We doubt that Lily is white. It is unlikely that Winona is a wolf. We believe that Julius is a lion.,There is a very good chance 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.2::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.19963992798559713,train,very good chance,impossible,There is a very good chance that 'Lily is white' or 'Julius is a lion' or both.,It is impossible that 'Lily is white' or 'Julius is a lion' or both.,1,'Lily is white' or 'Julius is a lion' or both. It is unlikely that Mary went to the hallway. It is probably the case that Greg is a swan. It is impossible that Sandra left the football.,It is unlikely that either 'Mary went to the hallway' 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.2::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.2,0.3098619723944789,train,unlikely,almost certain,It is unlikely that either 'Mary went to the hallway' or 'Sandra left the football' but not both.,It is almost certain that either 'Mary went to the hallway' or 'Sandra left the football' but not both.,1,Either 'Mary went to the hallway' or 'Sandra left the football' but not both. There is a better than even chance that Julius is a lion. Chances are about even that Jessica is a cat. It is probable that Lily is a rhino.,It is certain that either 'Jessica is a cat' 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.6::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.5675135027005401,train,about even,certain,Chances are about even that either 'Jessica is a cat' or 'Julius is a lion' but not both.,It is certain that either 'Jessica is a cat' or 'Julius is a lion' but not both.,0,Either 'Jessica is a cat' or 'Julius is a lion' but not both. We doubt that Jeff went to the garden. It is highly unlikely that Sumit is thirsty. There is a better than even chance that John discarded the milk.,It is likely that 'Jeff went to the garden 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.2::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.45169033806761355,train,almost no chance,likely,There is almost no chance that 'Jeff went to the garden and Sumit is thirsty'.,It is likely that 'Jeff went to the garden and Sumit is thirsty'.,0,'Jeff went to the garden and Sumit is thirsty'. It is probable that Greg is a swan. There is almost no chance that John went to the office. It is highly likely that Brian is a lion.,It is probably not the case that either 'Greg is a swan' 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.02::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.33999999999999997,0.3368673734746949,train,probably not,highly likely,It is probably not the case that either 'Greg is a swan' or 'Brian is a lion' but not both.,It is highly likely that either 'Greg is a swan' or 'Brian is a lion' but not both.,1,Either 'Greg is a swan' or 'Brian is a lion' but not both. It is probably not the case that Brian is green. We doubt that Greg is yellow. It is highly likely that Daniel got the milk.,It is almost certain that 'Daniel got 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.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.21184236847369475,train,almost certain,improbable,It is almost certain that 'Daniel got the milk' or 'Brian is green' or both.,It is improbable that 'Daniel got the milk' or 'Brian is green' or both.,1,'Daniel got the milk' or 'Brian is green' or both. It is highly likely that John dropped the apple. It is impossible that Lily is a rhino. It is impossible that Emily is a wolf.,It is unlikely 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.9::factA. 0.0::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.7323464692938588,train,highly likely,unlikely,It is highly likely that either 'John dropped the apple' or 'Lily is a rhino' but not both.,It is unlikely 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 Winona is a sheep. It is improbable that Mary went to the bedroom. It is impossible that Jeff moved to the garden.,It is impossible that 'Jeff 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.05::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.23364672934586916,train,impossible,probable,It is impossible that 'Jeff moved to the garden and Winona is a sheep'.,It is probable that 'Jeff moved to the garden and Winona is a sheep'.,1,'Jeff moved to the garden and Winona is a sheep'. There is little chance that Mary dropped the apple. It is highly likely that John went to the hallway. We doubt that Lily is green.,There is a very good chance that 'Mary dropped 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.9::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.7259451890378076,train,probably not,very good chance,It is probably not the case that 'Mary dropped the apple' or 'Lily is green' or both.,There is a very good chance that 'Mary dropped the apple' or 'Lily is green' or both.,0,'Mary dropped the apple' or 'Lily is green' or both. It is likely that Jeff left the football. We doubt that Julius is a frog. It is probable that Lily is a lion.,Chances are about even that 'Lily is a lion and Jeff 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.1370274054810962,train,about even,certain,Chances are about even that 'Lily is a lion and Jeff left the football'.,It is certain that 'Lily is a lion and Jeff left the football'.,1,'Lily is a lion and Jeff left the football'. Chances are slight that Julius is white. Chances are slight that John discarded the apple. It is improbable that Lily is a lion.,It is unlikely that either 'Lily is a lion' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.11622324464892979,train,unlikely,probably,It is unlikely that either 'Lily is a lion' or 'Julius is white' but not both.,It is probably the case that either 'Lily is a lion' or 'Julius is white' but not both.,1,Either 'Lily is a lion' or 'Julius is white' but not both. We believe that John got the apple. It is probably the case that Julius is a lion. Chances are slight that Mary moved to the office.,It is probable that either 'Mary moved 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.7303460692138428,train,probable,improbable,It is probable that either 'Mary moved to the office' or 'Julius is a lion' but not both.,It is improbable that either 'Mary moved to the office' or 'Julius is a lion' but not both.,1,Either 'Mary moved to the office' or 'Julius is a lion' but not both. We doubt that Lily is green. It is improbable that Emily is a mouse. There is a very good chance that Jessica is a sheep.,It is probably not the case that 'Emily 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.2::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.7079415883176635,train,probably not,probably,It is probably not the case that 'Emily is a mouse' or 'Lily is green' or both.,It is probably the case that 'Emily is a mouse' or 'Lily is green' or both.,1,'Emily is a mouse' or 'Lily is green' or both. Chances are about even that Mary went to the bedroom. It is likely that Lily is yellow. There is almost no chance that Julius is a swan.,It is highly unlikely that 'Mary went to the bedroom' 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. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8499999999999999,0.4480896179235847,train,very good chance,highly unlikely,There is a very good chance that 'Mary went to the bedroom' or 'Lily is yellow' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Lily is yellow' or both.,0,'Mary went to the bedroom' or 'Lily is yellow' or both. It is likely that Bernhard is a swan. It is probably not the case that John moved to the garden. It is probably the case that Julius is a frog.,There is almost no chance 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.7::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.07361472294458891,train,highly likely,almost no chance,It is highly likely that 'Bernhard is a swan' or 'Julius is a frog' or both.,There is almost no chance that 'Bernhard is a swan' or 'Julius is a frog' or both.,0,'Bernhard is a swan' or 'Julius is a frog' or both. We doubt that Lily is white. We believe that Brian is a frog. It is likely that Yann is tired.,We believe that 'Yann 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7599999999999999,0.6851370274054811,train,we believe,highly unlikely,We believe that 'Yann is tired' or 'Lily is white' or both.,It is highly unlikely that 'Yann is tired' or 'Lily is white' or both.,1,'Yann is tired' or 'Lily is white' or both. We doubt that Julius is a swan. It is likely that Mary moved to the office. It is certain that Lily is yellow.,We doubt 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.2::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.6179235847169434,train,we doubt,likely,We doubt that 'Lily is yellow and Julius is a swan'.,It is likely that 'Lily is yellow and Julius is a swan'.,1,'Lily is yellow and Julius is a swan'. It is almost certain that Winona is a wolf. There is a very good chance that Julius is gray. It is improbable that Mary dropped the apple.,There is a very good chance that 'Mary dropped 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.95::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.01820364072814563,train,very good chance,highly unlikely,There is a very good chance that 'Mary dropped the apple' or 'Julius is gray' or both.,It is highly unlikely that 'Mary dropped the apple' or 'Julius is gray' or both.,1,'Mary dropped the apple' or 'Julius is gray' or both. Chances are slight that Bernhard is yellow. It is highly likely that John took the football. It is probably the case that Greg is gray.,It is highly unlikely that either 'Greg 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. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.40468093618723744,train,probably,highly unlikely,It is probably the case that either 'Greg is gray' or 'Bernhard is yellow' but not both.,It is highly unlikely that either 'Greg is gray' or 'Bernhard is yellow' but not both.,0,Either 'Greg is gray' or 'Bernhard is yellow' but not both. It is highly unlikely that Fred is in the cinema. There is little chance that Bernhard is a lion. It is highly likely that Julius is white.,There is a very good chance that either 'Julius 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.05::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.82,0.7403480696139227,train,very good chance,unlikely,There is a very good chance that either 'Julius is white' or 'Bernhard is a lion' but not both.,It is unlikely that either 'Julius is white' or 'Bernhard is a lion' but not both.,1,Either 'Julius is white' or 'Bernhard is a lion' but not both. There is almost no chance that Fred dropped the milk. It is unlikely that Mary went to the hallway. Chances are slight that Julius is a swan.,It is almost certain that 'Fred dropped the milk 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.02::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.004000000000000002,0.36767353470694136,train,impossible,almost certain,It is impossible that 'Fred dropped the milk and Mary went to the hallway'.,It is almost certain that 'Fred dropped the milk and Mary went to the hallway'.,0,'Fred dropped the milk and Mary went to the hallway'. There is almost no chance that Jason is tired. We believe that Jeff went to the garden. We believe that John dropped the apple.,There is a better than even chance that 'Jeff 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.75::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5625,0.051610322064412885,train,better than even,almost no chance,There is a better than even chance that 'Jeff went to the garden and John dropped the apple'.,There is almost no chance that 'Jeff went to the garden and John dropped the apple'.,1,'Jeff went to the garden and John dropped the apple'. It is unlikely that Greg is a rhino. It is almost certain that John moved to the office. It is impossible that Julius is a swan.,It is certain that 'Greg 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.95::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.19,0.46889377875575117,train,unlikely,certain,It is unlikely that 'Greg is a rhino and John moved to the office'.,It is certain that 'Greg is a rhino and John moved to the office'.,0,'Greg is a rhino and John moved to the office'. Chances are about even that Jessica is a mouse. It is probably the case that Mary discarded the milk. It is almost certain that John moved to the office.,It is probably not the case that 'Jessica is a mouse 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.5::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.7599519903980796,train,probably not,highly likely,It is probably not the case that 'Jessica is a mouse and Mary discarded the milk'.,It is highly likely that 'Jessica is a mouse and Mary discarded the milk'.,1,'Jessica is a mouse and Mary discarded the milk'. It is unlikely that Jeff discarded the milk. It is unlikely that Mary put down the apple. We doubt that Brian is a swan.,It is probably not the case that either 'Jeff 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.2::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.6795359071814363,train,probably not,probably,It is probably not the case that either 'Jeff discarded the milk' or 'Brian is a swan' but not both.,It is probably the case that either 'Jeff discarded the milk' or 'Brian is a swan' but not both.,1,Either 'Jeff discarded the milk' or 'Brian is a swan' but not both. We believe that Mary got the football. It is probably not the case that Jessica is a cat. It is almost certain that John went to the office.,It is probably not the case that 'Jessica is a cat 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.75::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.2375,0.28405681136227245,train,probably not,very good chance,It is probably not the case that 'Jessica is a cat and John went to the office'.,There is a very good chance that 'Jessica is a cat and John went to the office'.,1,'Jessica is a cat and John went to the office'. It is unlikely that John took the football. We doubt that Brian is green. It is impossible that Lily is a swan.,We doubt that 'Lily is a swan' 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.2::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.2,0.6715343068613723,train,we doubt,likely,We doubt that 'Lily is a swan' or 'John took the football' or both.,It is likely that 'Lily is a swan' or 'John took the football' or both.,1,'Lily is a swan' or 'John took the football' or both. There is a better than even chance that Bernhard is a rhino. It is probable that Brian is gray. We doubt that Daniel left the milk.,Chances are about even that 'Bernhard is a rhino and Brian is gray'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.41999999999999993,0.24144828965793158,train,about even,impossible,Chances are about even that 'Bernhard is a rhino and Brian is gray'.,It is impossible that 'Bernhard is a rhino and Brian is gray'.,1,'Bernhard is a rhino and Brian is gray'. There is a very good chance that Julius is a lion. Chances are about even that Bernhard is gray. There is a better than even chance that Jeff moved to the office.,Chances are about even that 'Jeff moved to the office 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.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48,0.6731346269253851,train,about even,impossible,Chances are about even that 'Jeff moved to the office and Julius is a lion'.,It is impossible that 'Jeff moved to the office and Julius is a lion'.,1,'Jeff moved to the office and Julius is a lion'. There is almost no chance that Julius is a swan. It is highly likely that Daniel got the milk. There is a very good chance that Greg is a lion.,There is a very good chance that 'Julius 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.02::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.804,0.4878975795159032,train,very good chance,probably not,There is a very good chance that 'Julius is a swan' or 'Greg is a lion' or both.,It is probably not the case that 'Julius is a swan' or 'Greg is a lion' or both.,1,'Julius is a swan' or 'Greg is a lion' or both. It is highly likely that John put down the apple. It is improbable that Bernhard is white. We believe that Greg is a rhino.,It is highly likely that 'Bernhard is white' 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.9::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.91,0.7339467893578716,train,highly likely,almost no chance,It is highly likely that 'Bernhard is white' or 'John put down the apple' or both.,There is almost no chance that 'Bernhard is white' or 'John put down the apple' or both.,1,'Bernhard is white' or 'John put down the apple' or both. There is a very good chance that John took the apple. It is highly likely that Brian is white. There is a very good chance that Julius is green.,It is almost certain that 'Julius is green' or 'John took the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9600000000000001,0.4652930586117223,train,almost certain,we doubt,It is almost certain that 'Julius is green' or 'John took the apple' or both.,We doubt that 'Julius is green' or 'John took the apple' or both.,1,'Julius is green' or 'John took the apple' or both. There is little chance that Julius is a rhino. It is unlikely that John took the football. It is impossible that Brian is green.,It is probably not the case that 'John 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.1::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.06841368273654731,train,probably not,certain,It is probably not the case that 'John took the football' or 'Julius is a rhino' or both.,It is certain that 'John took the football' or 'Julius is a rhino' or both.,1,'John took the football' or 'Julius is a rhino' or both. It is probably not the case that Greg is yellow. It is highly likely that Gertrude is a sheep. It is impossible that John discarded the apple.,We doubt that either 'Gertrude is a sheep' 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.9::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.2788557711542308,train,highly likely,we doubt,It is highly likely that either 'Gertrude is a sheep' or 'John discarded the apple' but not both.,We doubt that either 'Gertrude is a sheep' or 'John discarded the apple' but not both.,0,Either 'Gertrude is a sheep' or 'John discarded the apple' but not both. It is certain that Gertrude is a wolf. Chances are about even that Brian is a lion. It is almost certain that Mary got the football.,It is impossible that 'Mary got the football 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 1.0::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.475,0.7835567113422685,train,about even,impossible,Chances are about even that 'Mary got the football and Brian is a lion'.,It is impossible that 'Mary got the football and Brian is a lion'.,0,'Mary got the football and Brian is a lion'. There is little chance that John went to the bedroom. Chances are about even that Julius is a lion. There is a better than even chance that Lily is yellow.,There is almost no chance that either 'Julius is a lion' 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.5::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5000000000000001,0.7395479095819164,train,about even,almost no chance,Chances are about even that either 'Julius is a lion' or 'Lily is yellow' but not both.,There is almost no chance that either 'Julius is a lion' or 'Lily is yellow' but not both.,0,Either 'Julius is a lion' or 'Lily is yellow' but not both. Chances are about even that John moved to the office. There is almost no chance that Julius is a rhino. We doubt that Bernhard is white.,We doubt that 'Julius is a rhino' or 'Bernhard is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.21600000000000003,0.1290258051610322,train,we doubt,we believe,We doubt that 'Julius is a rhino' or 'Bernhard is white' or both.,We believe that 'Julius is a rhino' or 'Bernhard is white' or both.,1,'Julius is a rhino' or 'Bernhard is white' or both. Chances are slight that Julius is a frog. It is probable that Brian is white. It is probably the case that Jessica is a cat.,It is highly unlikely that either 'Julius is a frog' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.47509501900380074,train,probably,highly unlikely,It is probably the case that either 'Julius is a frog' or 'Brian is white' but not both.,It is highly unlikely that either 'Julius is a frog' or 'Brian is white' but not both.,0,Either 'Julius is a frog' or 'Brian is white' but not both. It is probable that Greg is white. It is impossible that Lily is green. Chances are slight that Brian is a lion.,It is certain that either 'Lily 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.10000000000000002,0.7881576315263052,train,improbable,certain,It is improbable that either 'Lily is green' or 'Brian is a lion' but not both.,It is certain that either 'Lily is green' or 'Brian is a lion' but not both.,0,Either 'Lily is green' or 'Brian is a lion' but not both. Chances are about even that Greg is gray. We doubt that Winona is a mouse. It is impossible that Mary went to the garden.,Chances are about even that either 'Winona is a mouse' 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.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.28325665133026606,train,about even,almost no chance,Chances are about even that either 'Winona is a mouse' or 'Greg is gray' but not both.,There is almost no chance that either 'Winona is a mouse' or 'Greg is gray' but not both.,1,Either 'Winona is a mouse' or 'Greg is gray' but not both. Chances are slight that Fred left the football. It is probably not the case that Sandra grabbed the apple. There is little chance that Julius is a rhino.,It is unlikely that either 'Fred left the football' 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.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.1774354870974195,train,unlikely,probable,It is unlikely that either 'Fred left the football' or 'Julius is a rhino' but not both.,It is probable that either 'Fred left the football' or 'Julius is a rhino' but not both.,1,Either 'Fred left the football' or 'Julius is a rhino' but not both. It is unlikely that Bernhard is green. We believe that Greg is a swan. It is probable that Fred went to the garden.,Chances are slight that 'Bernhard 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.50250050010002,train,chances are slight,we believe,Chances are slight that 'Bernhard is green and Fred went to the garden'.,We believe that 'Bernhard is green and Fred went to the garden'.,1,'Bernhard is green and Fred went to the garden'. It is probably the case that Sandra dropped the milk. It is highly unlikely that Mary went to the hallway. It is probably not the case that Bernhard is a swan.,Chances are about even that 'Mary 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.7::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.012500000000000006,0.14902980596119225,train,almost no chance,about even,There is almost no chance that 'Mary went to the hallway and Bernhard is a swan'.,Chances are about even that 'Mary went to the hallway and Bernhard is a swan'.,0,'Mary went to the hallway and Bernhard is a swan'. It is improbable that Greg is white. We doubt that Lily is green. It is highly unlikely that Jason is tired.,It is certain that 'Jason 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.1::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.17483496699339868,train,impossible,certain,It is impossible that 'Jason is tired and Greg is white'.,It is certain that 'Jason is tired and Greg is white'.,0,'Jason is tired and Greg is white'. It is probable that Julius is a frog. It is certain that Mary went to the hallway. We believe that Daniel grabbed the milk.,It is probably not the case that 'Julius is a frog 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. 1.0::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.6945389077815564,train,probably,probably not,It is probably the case that 'Julius is a frog and Mary went to the hallway'.,It is probably not the case that 'Julius is a frog and Mary went to the hallway'.,0,'Julius is a frog and Mary went to the hallway'. It is certain that Mary took the football. There is little chance that John grabbed the milk. There is a better than even chance that Brian is a swan.,It is probably not the case that either 'Mary took the football' 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 1.0::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.5787157431486297,train,highly likely,probably not,It is highly likely that either 'Mary took the football' or 'John grabbed the milk' but not both.,It is probably not the case that either 'Mary took the football' or 'John grabbed the milk' but not both.,0,Either 'Mary took the football' or 'John grabbed the milk' but not both. Chances are about even that Mary went to the office. It is improbable that Jessica is a mouse. It is unlikely that Bernhard is a rhino.,It is likely that either 'Bernhard 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.5::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.20964192838567713,train,probably not,likely,It is probably not the case that either 'Bernhard is a rhino' or 'Jessica is a mouse' but not both.,It is likely that either 'Bernhard is a rhino' or 'Jessica is a mouse' but not both.,0,Either 'Bernhard is a rhino' or 'Jessica is a mouse' but not both. Chances are about even that Bernhard is a frog. There is almost no chance that Greg is white. It is certain that John picked up the milk.,Chances are about even that either 'Bernhard is a frog' or 'Greg is white' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.392878575715143,train,about even,almost certain,Chances are about even that either 'Bernhard is a frog' or 'Greg is white' but not both.,It is almost certain that either 'Bernhard is a frog' or 'Greg is white' but not both.,1,Either 'Bernhard is a frog' or 'Greg is white' but not both. It is likely that Jason is bored. It is certain that Mary took the football. It is probably the case that Brian is a swan.,There is little chance that 'Mary took the football 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.22844568913782756,train,likely,little chance,It is likely that 'Mary took the football and Jason is bored'.,There is little chance that 'Mary took the football and Jason is bored'.,0,'Mary took the football and Jason is bored'. It is impossible that Brian is white. We believe that Bernhard is gray. There is a very good chance that Mary went to the hallway.,It is almost certain that 'Bernhard is gray' 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.75::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9500000000000001,0.32486497299459893,train,almost certain,we doubt,It is almost certain that 'Bernhard is gray' or 'Mary went to the hallway' or both.,We doubt that 'Bernhard is gray' or 'Mary went to the hallway' or both.,1,'Bernhard is gray' or 'Mary went to the hallway' or both. There is a very good chance that Brian is yellow. It is highly likely that Sandra took the milk. Chances are slight that Gertrude is a cat.,It is highly likely that 'Gertrude 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.8::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.7705541108221644,train,highly likely,impossible,It is highly likely that 'Gertrude is a cat' or 'Sandra took the milk' or both.,It is impossible that 'Gertrude is a cat' or 'Sandra took the milk' or both.,1,'Gertrude is a cat' or 'Sandra took the milk' or both. We doubt that Lily is a frog. It is unlikely that John left the football. Chances are about even that Greg is gray.,There is almost no chance that 'John left the football' 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.2::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6,0.5975195039007801,train,better than even,almost no chance,There is a better than even chance that 'John left the football' or 'Greg is gray' or both.,There is almost no chance that 'John left the football' or 'Greg is gray' or both.,0,'John left the football' or 'Greg is gray' or both. There is little chance that Antoine is bored. It is improbable that Julius is white. There is almost no chance that Lily is a rhino.,It is impossible that 'Lily is a rhino and Antoine 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0020000000000000005,0.795759151830366,train,impossible,very good chance,It is impossible that 'Lily is a rhino and Antoine is bored'.,There is a very good chance that 'Lily is a rhino and Antoine is bored'.,1,'Lily is a rhino and Antoine is bored'. We doubt that Daniel dropped the apple. It is likely that Bernhard is a swan. There is almost no chance that Brian is a frog.,There is a better than even chance that either 'Bernhard is a swan' 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.7::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.5387077415483097,train,better than even,impossible,There is a better than even chance that either 'Bernhard is a swan' or 'Daniel dropped the apple' but not both.,It is impossible that either 'Bernhard is a swan' or 'Daniel dropped the apple' but not both.,1,Either 'Bernhard is a swan' or 'Daniel dropped the apple' but not both. There is a better than even chance that Bernhard is a frog. We believe that Sandra took the apple. It is unlikely that Mary went to the garden.,Chances are slight that 'Bernhard is a frog' or 'Sandra 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.75::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.1288257651530306,train,highly likely,chances are slight,It is highly likely that 'Bernhard is a frog' or 'Sandra took the apple' or both.,Chances are slight that 'Bernhard is a frog' or 'Sandra took the apple' or both.,0,'Bernhard is a frog' or 'Sandra took the apple' or both. It is almost certain that John took the apple. It is certain that Greg is green. It is almost certain that Lily is white.,It is probably not the case that 'Greg is green' or 'John took the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.6965393078615724,train,certain,probably not,It is certain that 'Greg is green' or 'John took the apple' or both.,It is probably not the case that 'Greg is green' or 'John took the apple' or both.,0,'Greg is green' or 'John took the apple' or both. There is a very good chance that Gertrude is a mouse. It is probably not the case that Sumit is thirsty. There is little chance that Sandra dropped the milk.,There is a very good chance that 'Gertrude is a mouse 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.25::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.1892378475695139,train,little chance,very good chance,There is little chance that 'Gertrude is a mouse and Sandra dropped the milk'.,There is a very good chance that 'Gertrude is a mouse and Sandra dropped the milk'.,0,'Gertrude is a mouse and Sandra dropped the milk'. It is probable that Daniel got the milk. We believe that Sumit is thirsty. There is little chance that Mary went to the bedroom.,It is highly unlikely that 'Mary went to the bedroom 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.7151430286057211,train,highly unlikely,about even,It is highly unlikely that 'Mary went to the bedroom and Daniel got the milk'.,Chances are about even that 'Mary went to the bedroom and Daniel got the milk'.,1,'Mary went to the bedroom and Daniel got the milk'. Chances are slight that John moved to the garden. It is highly likely that Brian is green. Chances are slight that Bernhard is a rhino.,There is almost no chance that either 'Brian is green' 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.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.6783356671334266,train,very good chance,almost no chance,There is a very good chance that either 'Brian is green' or 'Bernhard is a rhino' but not both.,There is almost no chance that either 'Brian is green' or 'Bernhard is a rhino' but not both.,0,Either 'Brian is green' or 'Bernhard is a rhino' but not both. It is unlikely that Jessica is a mouse. There is a better than even chance that Greg is gray. It is unlikely that Brian is green.,It is probably not the case 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.2::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.5473094618923785,train,probably not,likely,It is probably not the case that either 'Jessica is a mouse' or 'Brian is green' but not both.,It is 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. We doubt that Julius is white. It is likely that Sandra dropped the milk. Chances are slight that Winona is a cat.,It is probably not the case that either 'Winona is a cat' 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.5525105021004201,train,probably not,almost certain,It is probably not the case that either 'Winona is a cat' or 'Julius is white' but not both.,It is almost certain that either 'Winona is a cat' or 'Julius is white' but not both.,1,Either 'Winona is a cat' or 'Julius is white' but not both. It is probable that Brian is a lion. It is almost certain that John got the apple. It is impossible that Julius is white.,It is impossible that 'John got the apple 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.95::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.35527105421084215,train,impossible,better than even,It is impossible that 'John got the apple and Julius is white'.,There is a better than even chance that 'John got the apple and Julius is white'.,1,'John got the apple and Julius is white'. We believe that Winona is a sheep. Chances are about even that John left the milk. We believe that Mary dropped the apple.,There is almost no chance that either 'John left the milk' or 'Winona is a sheep' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.07621524304860972,train,about even,almost no chance,Chances are about even that either 'John left the milk' or 'Winona is a sheep' but not both.,There is almost no chance that either 'John left the milk' or 'Winona is a sheep' but not both.,0,Either 'John left the milk' or 'Winona is a sheep' but not both. There is a better than even chance that John moved to the garden. It is impossible that Gertrude is a sheep. There is a better than even chance that Jessica is a mouse.,It is impossible that either 'Jessica 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.6::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.48000000000000004,0.7411482296459292,train,about even,impossible,Chances are about even that either 'Jessica is a mouse' or 'John moved to the garden' but not both.,It is impossible that either 'Jessica is a mouse' or 'John moved to the garden' but not both.,0,Either 'Jessica is a mouse' or 'John moved to the garden' but not both. Chances are slight that Mary took the milk. It is improbable that Lily is green. We believe that John put down the milk.,It is unlikely that either 'Mary took the milk' or 'John put down the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.41628325665133026,train,probably,unlikely,It is probably the case that either 'Mary took the milk' or 'John put down the milk' but not both.,It is unlikely that either 'Mary took the milk' or 'John put down the milk' but not both.,0,Either 'Mary took the milk' or 'John put down the milk' but not both. It is highly unlikely that John went to the office. It is highly unlikely that Yann is thirsty. It is probably the case that Julius is white.,We doubt that 'Julius is white' 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.05::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.7619523904780956,train,probably,we doubt,It is probably the case that 'Julius is white' or 'John went to the office' or both.,We doubt that 'Julius is white' or 'John went to the office' or both.,0,'Julius is white' or 'John went to the office' or both. It is unlikely that Jessica is a cat. It is improbable that Daniel left the milk. It is certain that Mary got the apple.,Chances are about even 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.2::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.09341868373674735,train,almost no chance,about even,There is almost no chance that 'Daniel left the milk and Jessica is a cat'.,Chances are about even that 'Daniel left the milk and Jessica is a cat'.,0,'Daniel left the milk and Jessica is a cat'. Chances are about even that Bernhard is a rhino. We believe that Sandra got the milk. It is probably not the case that Lily is a swan.,It is highly unlikely 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.5::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.625,0.6099219843968794,train,better than even,highly unlikely,There is a better than even chance that 'Lily is a swan' or 'Bernhard is a rhino' or both.,It is highly unlikely that 'Lily is a swan' or 'Bernhard is a rhino' or both.,0,'Lily is a swan' or 'Bernhard is a rhino' or both. It is highly unlikely that Lily is white. It is probably not the case that Mary left the football. It is improbable that Bill went to the kitchen.,There is almost no chance that 'Mary left the football 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.25::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.025000000000000012,0.787757551510302,train,almost no chance,probable,There is almost no chance that 'Mary left the football and Bill went to the kitchen'.,It is probable that 'Mary left the football and Bill went to the kitchen'.,1,'Mary left the football and Bill went to the kitchen'. It is impossible that Lily is a lion. We believe that Julius is a swan. We doubt that John went to the kitchen.,There is a very good chance that 'John went to the kitchen' 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.75::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.6587317463492699,train,very good chance,we doubt,There is a very good chance that 'John went to the kitchen' or 'Julius is a swan' or both.,We doubt that 'John went to the kitchen' or 'Julius is a swan' or both.,1,'John went to the kitchen' or 'Julius is a swan' or both. There is a better than even chance that Brian is a rhino. It is almost certain that John put down the apple. There is a very good chance that Sandra got the milk.,It is almost certain that 'Sandra 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.6::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48,0.5233046609321864,train,about even,almost certain,Chances are about even that 'Sandra got the milk and Brian is a rhino'.,It is almost certain that 'Sandra got the milk and Brian is a rhino'.,0,'Sandra got the milk and Brian is a rhino'. There is a very good chance that Greg is white. It is highly likely that Jessica is a sheep. Chances are slight that John moved to the garden.,There is little chance that 'Jessica is a sheep 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.8::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.5761152230446089,train,little chance,highly likely,There is little chance that 'Jessica is a sheep and John moved to the garden'.,It is highly likely that 'Jessica is a sheep and John moved to the garden'.,1,'Jessica is a sheep and John moved to the garden'. It is highly likely that Julius is yellow. It is improbable that Mary took the football. It is highly unlikely that Lily is green.,It is highly unlikely that 'Julius 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.9::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.045000000000000005,0.4948989797959592,train,highly unlikely,probable,It is highly unlikely that 'Julius is yellow and Lily is green'.,It is probable that 'Julius is yellow and Lily is green'.,1,'Julius is yellow and Lily is green'. It is highly likely that John moved to the garden. There is a very good chance that Greg is green. Chances are slight that Lily is a lion.,There is a very good chance that 'Lily is a lion' 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.9::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.47129425885177034,train,very good chance,chances are slight,There is a very good chance that 'Lily is a lion' or 'Greg is green' or both.,Chances are slight that 'Lily is a lion' or 'Greg is green' or both.,1,'Lily is a lion' or 'Greg is green' or both. It is probably not the case that Julius is white. It is probable that John took the apple. We believe that Brian is yellow.,We doubt 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.25::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.1875,0.7603520704140828,train,we doubt,certain,We doubt that 'Julius is white and Brian is yellow'.,It is certain that 'Julius is white and Brian is yellow'.,1,'Julius is white and Brian is yellow'. There is almost no chance that Mary got the football. Chances are slight that Yann is tired. It is likely that Greg is white.,We believe that 'Greg is white 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.02::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.663132626525305,train,almost no chance,we believe,There is almost no chance that 'Greg is white and Mary got the football'.,We believe that 'Greg is white and Mary got the football'.,0,'Greg is white and Mary got the football'. There is a better than even chance that John got the milk. Chances are slight that Bernhard is white. It is likely that Brian is a rhino.,We believe that 'Brian is a rhino' or 'Bernhard is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.505501100220044,train,we believe,probably not,We believe that 'Brian is a rhino' or 'Bernhard is white' or both.,It is probably not the case that 'Brian is a rhino' or 'Bernhard is white' or both.,1,'Brian is a rhino' or 'Bernhard is white' or both. There is a better than even chance that Jeff went to the bedroom. It is almost certain that Bernhard is a lion. We doubt that Winona is a sheep.,It is probable that 'Winona is a sheep 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.6::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.19,0.5611122224444889,train,we doubt,probable,We doubt that 'Winona is a sheep and Bernhard is a lion'.,It is probable that 'Winona is a sheep and Bernhard is a lion'.,0,'Winona is a sheep and Bernhard is a lion'. It is improbable that Jeff went to the bedroom. It is likely that John got the milk. It is probable that Brian is yellow.,Chances are about even that 'Jeff went to the bedroom 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.4354870974194839,train,highly unlikely,about even,It is highly unlikely that 'Jeff went to the bedroom and John got the milk'.,Chances are about even that 'Jeff went to the bedroom and John got the milk'.,0,'Jeff went to the bedroom and John got the milk'. Chances are slight that Lily is a frog. It is probably not the case that Jeff went to the garden. It is highly unlikely that Bernhard is gray.,There is almost no chance that 'Jeff 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.1::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025000000000000012,0.2750550110022004,train,almost no chance,almost certain,There is almost no chance that 'Jeff went to the garden and Lily is a frog'.,It is almost certain that 'Jeff went to the garden and Lily is a frog'.,1,'Jeff went to the garden and Lily is a frog'. It is certain that Brian is a lion. There is a better than even chance that Greg is yellow. There is a very good chance that John moved to the garden.,It is certain that either 'John moved 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.6::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.44,0.133626725345069,train,about even,certain,Chances are about even that either 'John moved to the garden' or 'Greg is yellow' but not both.,It is certain that either 'John moved to the garden' or 'Greg is yellow' but not both.,0,Either 'John moved to the garden' or 'Greg is yellow' but not both. It is probably not the case that Sandra left the milk. Chances are about even that Lily is a lion. We believe that Julius is gray.,It is certain 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.25::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.375,0.22204440888177635,train,about even,certain,Chances are about even that 'Lily is a lion and Julius is gray'.,It is certain that 'Lily is a lion and Julius is gray'.,0,'Lily is a lion and Julius is gray'. It is impossible that Mary went to the hallway. Chances are slight that Bernhard is white. It is certain that John moved to the office.,There is little chance that 'Bernhard 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.1::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.10000000000000002,0.40208041608321665,train,little chance,probably,There is little chance that 'Bernhard is white' or 'Mary went to the hallway' or both.,It is probably the case that 'Bernhard is white' or 'Mary went to the hallway' or both.,1,'Bernhard is white' or 'Mary went to the hallway' or both. There is almost no chance that Julius is green. It is likely that Daniel dropped the apple. We doubt that John picked up the milk.,It is unlikely that 'Julius is green' 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.02::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.21600000000000003,0.40288057611522304,train,unlikely,highly likely,It is unlikely that 'Julius is green' or 'John picked up the milk' or both.,It is highly likely that 'Julius is green' or 'John picked up the milk' or both.,1,'Julius is green' or 'John picked up the milk' or both. It is almost certain that Brian is yellow. It is improbable that Mary put down the apple. It is improbable that Winona is a wolf.,It is probably the case that 'Mary put down 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.95::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.26225245049009804,train,unlikely,probably,It is unlikely that 'Mary put down the apple' or 'Winona is a wolf' or both.,It is probably the case that 'Mary put down the apple' or 'Winona is a wolf' or both.,0,'Mary put down the apple' or 'Winona is a wolf' or both. It is likely that Mary moved to the office. There is almost no chance that Sandra left the milk. It is improbable that Lily is yellow.,It is probable that either 'Sandra left the milk' 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.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.692,0.49329865973194637,train,probable,highly unlikely,It is probable that either 'Sandra left the milk' or 'Mary moved to the office' but not both.,It is highly unlikely that either 'Sandra left the milk' or 'Mary moved to the office' but not both.,1,Either 'Sandra left the milk' or 'Mary moved to the office' but not both. Chances are about even that Bill went to the office. It is probably not the case that John left the apple. It is improbable that Brian is white.,It is improbable that 'John left the apple 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.5::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.12500000000000003,0.498499699939988,train,improbable,we believe,It is improbable that 'John left the apple and Bill went to the office'.,We believe that 'John left the apple and Bill went to the office'.,1,'John left the apple and Bill went to the office'. It is highly unlikely that John put down the apple. It is probably the case that Lily is a lion. It is improbable that Greg is green.,There is little chance that either 'Lily is a lion' 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.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.3760752150430086,train,probable,little chance,It is probable that either 'Lily is a lion' or 'Greg is green' but not both.,There is little chance that either 'Lily is a lion' or 'Greg is green' but not both.,0,Either 'Lily is a lion' or 'Greg is green' but not both. It is probably not the case that John got the apple. There is almost no chance that Julius is a swan. It is likely that Bernhard is yellow.,It is probable that 'Julius is a swan' 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.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.706,0.23264652930586116,train,probable,impossible,It is probable that 'Julius is a swan' or 'Bernhard is yellow' or both.,It is impossible that 'Julius is a swan' or 'Bernhard is yellow' or both.,1,'Julius is a swan' or 'Bernhard is yellow' or both. It is improbable that Greg is yellow. We believe that John is in the garden. It is highly unlikely that Gertrude is a sheep.,We believe that 'John is in 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.1::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.7493498699739948,train,we believe,improbable,We believe that 'John is in the garden' or 'Greg is yellow' or both.,It is improbable that 'John is in the garden' or 'Greg is yellow' or both.,1,'John is in the garden' or 'Greg is yellow' or both. Chances are slight that Mary went to the kitchen. Chances are about even that Lily is a swan. We believe that Daniel took the milk.,It is highly unlikely that 'Mary went to the kitchen 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.5::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.011002200440088018,train,highly unlikely,certain,It is highly unlikely that 'Mary went to the kitchen and Lily is a swan'.,It is certain that 'Mary went to the kitchen and Lily is a swan'.,1,'Mary went to the kitchen and Lily is a swan'. It is probable that Antoine is bored. There is a very good chance that Jason is tired. We believe that Greg is yellow.,It is probably not the case that either 'Greg is yellow' 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.8::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.2558511702340468,train,probably not,probably,It is probably not the case that either 'Greg is yellow' or 'Jason is tired' but not both.,It is probably the case that either 'Greg is yellow' or 'Jason is tired' but not both.,1,Either 'Greg is yellow' or 'Jason is tired' but not both. It is highly likely that John moved to the garden. Chances are slight that Bernhard is white. We believe that Lily is a swan.,It is probably not the case that 'John moved to the garden' 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.9::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9750000000000001,0.39727945589117825,train,certain,probably not,It is certain that 'John moved to the garden' or 'Lily is a swan' or both.,It is probably not the case that 'John moved to the garden' or 'Lily is a swan' or both.,0,'John moved to the garden' or 'Lily is a swan' or both. Chances are about even that Bernhard is a rhino. It is highly likely that Mary went to the office. It is improbable that Daniel got the football.,It is unlikely 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.5::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.16003200640128026,train,highly likely,unlikely,It is highly likely 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.,0,'Daniel got the football' or 'Mary went to the office' or both. There is almost no chance that Sandra got the milk. It is unlikely that Brian is a swan. It is unlikely that Winona is a cat.,It is probably not the case that either 'Brian 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.02::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.07901580316063213,train,probably not,we believe,It is probably not the case that either 'Brian is a swan' or 'Winona is a cat' but not both.,We believe that either 'Brian is a swan' or 'Winona is a cat' but not both.,1,Either 'Brian is a swan' or 'Winona is a cat' but not both. There is almost no chance that John left the football. We doubt that Bernhard is a rhino. It is almost certain that Julius is yellow.,It is unlikely 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.02::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9319999999999999,0.27085417083416685,train,almost certain,unlikely,It is almost certain that either 'John left the football' or 'Julius is yellow' but not both.,It is unlikely 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. It is highly likely that John got the milk. It is highly unlikely that Bill went to the office. There is a better than even chance that Lily is green.,There is little chance that either 'John got the milk' 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.9::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.20904180836167233,train,highly likely,little chance,It is highly likely that either 'John got the milk' or 'Bill went to the office' but not both.,There is little chance that either 'John got the milk' or 'Bill went to the office' but not both.,0,Either 'John got the milk' or 'Bill went to the office' but not both. There is almost no chance that Greg is gray. Chances are about even that Bernhard is a lion. It is probably not the case that Mary picked up the apple.,It is improbable that 'Mary picked up 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.02::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12500000000000003,0.6789357871574315,train,improbable,probable,It is improbable that 'Mary picked up the apple and Bernhard is a lion'.,It is probable that 'Mary picked up the apple and Bernhard is a lion'.,1,'Mary picked up the apple and Bernhard is a lion'. We believe that Lily is gray. It is highly unlikely that Bernhard is a frog. We believe that Emily is a mouse.,We believe that 'Bernhard 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.75::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7625,0.46689337867573516,train,we believe,we doubt,We believe that 'Bernhard is a frog' or 'Lily is gray' or both.,We doubt that 'Bernhard is a frog' or 'Lily is gray' or both.,1,'Bernhard is a frog' or 'Lily is gray' or both. It is probable that Bernhard is a rhino. There is a better than even chance that Julius is a frog. It is probably the case that Lily is a lion.,It is highly likely that 'Lily is a lion' 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.6::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.88,0.2958591718343669,train,highly likely,probably not,It is highly likely that 'Lily is a lion' or 'Julius is a frog' or both.,It is probably not the case that 'Lily is a lion' or 'Julius is a frog' or both.,1,'Lily is a lion' or 'Julius is a frog' or both. Chances are slight that Greg is yellow. It is almost certain that Jason is tired. It is certain that John discarded the milk.,It is improbable that 'John discarded 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.1::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.46709341868373677,train,improbable,certain,It is improbable that 'John discarded the milk and Greg is yellow'.,It is certain that 'John discarded the milk and Greg is yellow'.,1,'John discarded the milk and Greg is yellow'. It is certain that John left the apple. It is highly likely that Mary went to the kitchen. It is unlikely that Sandra dropped the milk.,We doubt that 'John left 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 1.0::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.6487297459491899,train,certain,we doubt,It is certain that 'John left the apple' or 'Sandra dropped the milk' or both.,We doubt that 'John left the apple' or 'Sandra dropped the milk' or both.,0,'John left the apple' or 'Sandra dropped the milk' or both. We believe that Mary dropped the milk. It is highly likely that Brian is a rhino. There is little chance that John moved to the garden.,We believe 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.9::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.06761352270454091,train,little chance,we believe,There is little chance that 'John moved to the garden and Mary dropped the milk'.,We believe that 'John moved to the garden and Mary dropped the milk'.,0,'John moved to the garden and Mary dropped the milk'. It is likely that Mary went to the hallway. Chances are slight that John moved to the garden. There is almost no chance that Greg is gray.,There is almost no chance that 'Mary went to the hallway 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.7661532306461293,train,almost no chance,highly likely,There is almost no chance that 'Mary went to the hallway and Greg is gray'.,It is highly likely that 'Mary went to the hallway and Greg is gray'.,1,'Mary went to the hallway and Greg is gray'. It is improbable that Sandra got the milk. It is certain that Julius is a frog. There is almost no chance that Mary dropped the milk.,It is improbable that either 'Mary dropped the milk' 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.7103420684136827,train,improbable,certain,It is improbable that either 'Mary dropped the milk' or 'Sandra got the milk' but not both.,It is certain that either 'Mary dropped the milk' or 'Sandra got the milk' but not both.,1,Either 'Mary dropped the milk' or 'Sandra got the milk' but not both. There is a better than even chance that Brian is a frog. It is probable that John put down the apple. It is probably the case that Mary got the football.,It is highly likely that 'John put down 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.88,0.5353070614122825,train,highly likely,unlikely,It is highly likely that 'John put down the apple' or 'Brian is a frog' or both.,It is unlikely that 'John put down the apple' or 'Brian is a frog' or both.,1,'John put down the apple' or 'Brian is a frog' or both. It is probable that John moved to the garden. It is almost certain that Jessica is a cat. There is almost no chance that Bernhard is a rhino.,There is a better than even chance that 'Bernhard 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.7::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.019,0.1308261652330466,train,almost no chance,better than even,There is almost no chance that 'Bernhard is a rhino and Jessica is a cat'.,There is a better than even chance that 'Bernhard is a rhino and Jessica is a cat'.,0,'Bernhard is a rhino and Jessica is a cat'. It is probably not the case that Bernhard is gray. There is little chance that Brian is a swan. It is highly likely that John went to the office.,It is probably the case that 'Bernhard is gray 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.1::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.225,0.03540708141628326,train,unlikely,probably,It is unlikely that 'Bernhard is gray and John went to the office'.,It is probably the case that 'Bernhard is gray and John went to the office'.,0,'Bernhard is gray and John went to the office'. There is little chance that Mary went to the office. It is probable that Jeff discarded the milk. It is likely that Julius is a swan.,It is likely that either 'Julius is a swan' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.020804160832166435,train,likely,little chance,It is likely that either 'Julius is a swan' or 'Mary went to the office' but not both.,There is little chance that either 'Julius is a swan' or 'Mary went to the office' but not both.,1,Either 'Julius is a swan' or 'Mary went to the office' but not both. It is likely that Greg is a swan. It is highly likely that Sandra got the football. There is almost no chance that John grabbed the apple.,Chances are slight that 'John grabbed 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.7::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.902,0.11582316463292659,train,highly likely,chances are slight,It is highly likely that 'John grabbed the apple' or 'Sandra got the football' or both.,Chances are slight that 'John grabbed the apple' or 'Sandra got the football' or both.,0,'John grabbed the apple' or 'Sandra got the football' or both. It is almost certain that Sandra took the apple. It is certain that Greg is a lion. There is a better than even chance that John went to the bedroom.,It is highly unlikely that either 'Sandra took 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. 1.0::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.05000000000000005,0.028605721144228845,train,highly unlikely,likely,It is highly unlikely that either 'Sandra took the apple' or 'Greg is a lion' but not both.,It is likely that either 'Sandra took the apple' or 'Greg is a lion' but not both.,1,Either 'Sandra took the apple' or 'Greg is a lion' but not both. There is a very good chance that Jessica is a cat. There is little chance that John moved to the garden. We believe that Mary went to the garden.,It is probably the case that either 'John moved to the garden' 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.8::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.7799559911982397,train,probably,highly unlikely,It is probably the case that either 'John moved to the garden' or 'Mary went to the garden' but not both.,It is highly unlikely that either 'John moved to the garden' or 'Mary went to the garden' but not both.,1,Either 'John moved to the garden' or 'Mary went to the garden' but not both. It is certain that Greg is white. It is probable that Julius is a frog. It is highly likely that Brian is a lion.,There is a better than even chance that 'Julius is a frog 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 1.0::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.11222244448889777,train,better than even,highly unlikely,There is a better than even chance that 'Julius is a frog and Brian is a lion'.,It is highly unlikely that 'Julius is a frog and Brian is a lion'.,1,'Julius is a frog and Brian is a lion'. It is probably not the case that Emily is a mouse. It is probably not the case that Brian is a frog. There is little chance that Greg is a swan.,It is highly likely that either 'Greg 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.25::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.633126625325065,train,probably not,highly likely,It is probably not the case that either 'Greg is a swan' or 'Emily is a mouse' but not both.,It is highly likely that either 'Greg is a swan' or 'Emily is a mouse' but not both.,0,Either 'Greg is a swan' or 'Emily is a mouse' but not both. It is highly likely that Yann is hungry. It is highly likely that Mary got the apple. There is almost no chance that Gertrude is a sheep.,It is certain that 'Mary got the apple' 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.9::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.99,0.78375675135027,train,certain,almost no chance,It is certain that 'Mary got the apple' or 'Yann is hungry' or both.,There is almost no chance that 'Mary got the apple' or 'Yann is hungry' or both.,1,'Mary got the apple' or 'Yann is hungry' or both. It is probably the case that Winona is a mouse. There is a better than even chance that Bernhard is gray. Chances are slight that Jason is bored.,Chances are about even that either 'Winona is a mouse' or 'Bernhard is gray' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.4278855771154231,train,about even,certain,Chances are about even that either 'Winona is a mouse' or 'Bernhard is gray' but not both.,It is certain that either 'Winona is a mouse' or 'Bernhard is gray' but not both.,1,Either 'Winona is a mouse' or 'Bernhard is gray' but not both. We doubt that John picked up the milk. It is probably the case that Greg is a frog. It is probable that Bill went to the office.,There is a better than even chance that either 'John picked up the milk' 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.2::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.7391478295659132,train,better than even,almost no chance,There is a better than even chance that either 'John picked up the milk' or 'Bill went to the office' but not both.,There is almost no chance that either 'John picked up the milk' or 'Bill went to the office' but not both.,1,Either 'John picked up the milk' or 'Bill went to the office' but not both. There is a very good chance that Bernhard is a rhino. Chances are slight that Brian is a swan. There is almost no chance that Mary got the football.,There is a very good chance that 'Mary got the football' 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.8::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.804,0.46869373874774956,train,very good chance,unlikely,There is a very good chance that 'Mary got the football' or 'Bernhard is a rhino' or both.,It is unlikely that 'Mary got the football' or 'Bernhard is a rhino' or both.,1,'Mary got the football' or 'Bernhard is a rhino' or both. It is highly likely that John moved to the garden. It is almost certain that Sumit is thirsty. There is little chance that Julius is gray.,It is almost certain 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 0.9::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.6283256651330266,train,almost certain,little chance,It is almost certain that 'Sumit is thirsty' or 'Julius is gray' or both.,There is little chance that 'Sumit is thirsty' or 'Julius is gray' or both.,1,'Sumit is thirsty' or 'Julius is gray' or both. We doubt that Bernhard is green. It is certain that Greg is a swan. It is highly likely that Emily is a cat.,It is probably the case that either 'Greg is a swan' 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.2::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.09999999999999998,0.1210242048409682,train,chances are slight,probably,Chances are slight that either 'Greg is a swan' or 'Emily is a cat' but not both.,It is probably the case that either 'Greg is a swan' or 'Emily is a cat' but not both.,0,Either 'Greg is a swan' or 'Emily is a cat' but not both. Chances are slight that Julius is white. There is little chance that Greg is a frog. It is impossible that Daniel left the milk.,Chances are slight that either 'Greg is a frog' 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.1::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.10000000000000002,0.6869373874774956,train,chances are slight,probable,Chances are slight that either 'Greg is a frog' or 'Daniel left the milk' but not both.,It is probable that either 'Greg is a frog' or 'Daniel left the milk' but not both.,1,Either 'Greg is a frog' or 'Daniel left the milk' but not both. It is certain that Brian is white. There is little chance that Mary dropped the milk. Chances are about even that Jeff discarded the milk.,It is highly unlikely that 'Mary dropped the milk 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 1.0::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.5141028205641128,train,highly unlikely,certain,It is highly unlikely that 'Mary dropped the milk and Jeff discarded the milk'.,It is certain that 'Mary dropped the milk and Jeff discarded the milk'.,1,'Mary dropped the milk and Jeff discarded the milk'. We believe that Brian is white. There is a very good chance that John got the apple. Chances are about even that Julius is a swan.,There is a very good chance 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.75::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.375,0.5101020204040808,train,probably not,very good chance,It is probably not the case that 'Julius is a swan and Brian is white'.,There is a very good chance that 'Julius is a swan and Brian is white'.,0,'Julius is a swan and Brian is white'. It is unlikely that Bernhard is a swan. It is probably not the case that Julius is yellow. Chances are slight that Jeff left the football.,There is almost no chance that 'Jeff 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.2::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.6313262652530506,train,almost no chance,about even,There is almost no chance that 'Jeff left the football and Julius is yellow'.,Chances are about even that 'Jeff left the football and Julius is yellow'.,1,'Jeff left the football and Julius is yellow'. There is little chance that John went to the kitchen. It is unlikely that Lily is a frog. It is improbable that Mary took the football.,It is certain that 'John went to the kitchen 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.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.5609121824364873,train,almost no chance,certain,There is almost no chance that 'John went to the kitchen and Mary took the football'.,It is certain that 'John went to the kitchen and Mary took the football'.,0,'John went to the kitchen and Mary took the football'. It is certain that Daniel took the milk. We doubt that Winona is a sheep. It is probably not the case that Julius is a lion.,It is certain that 'Daniel took 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 1.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.013402680536107221,train,certain,probably not,It is certain that 'Daniel took the milk' or 'Julius is a lion' or both.,It is probably not the case that 'Daniel took the milk' or 'Julius is a lion' or both.,1,'Daniel took the milk' or 'Julius is a lion' or both. We believe that Jessica is a mouse. It is improbable that Julius is green. We believe that Greg is yellow.,There is little chance that 'Julius 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.75::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07500000000000002,0.06961392278455691,train,little chance,we believe,There is little chance that 'Julius is green and Greg is yellow'.,We believe that 'Julius is green and Greg is yellow'.,1,'Julius is green and Greg is yellow'. Chances are about even that Brian is green. There is little chance that Mary dropped the milk. There is a very good chance that Greg is yellow.,It is probably not the case that either 'Greg 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.5::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.74,0.5301060212042409,train,we believe,probably not,We believe that either 'Greg is yellow' or 'Mary dropped the milk' but not both.,It is probably not the case that either 'Greg is yellow' or 'Mary dropped the milk' but not both.,0,Either 'Greg is yellow' or 'Mary dropped the milk' but not both. There is almost no chance that Mary left the football. We doubt that Lily is green. There is little chance that Greg is gray.,It is impossible 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.02::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.004000000000000002,0.1222244448889778,train,impossible,likely,It is impossible that 'Mary left the football and Lily is green'.,It is likely that 'Mary left the football and Lily is green'.,1,'Mary left the football and Lily is green'. It is likely that John left the football. There is a very good chance that Brian is a swan. It is certain that Bill went to the kitchen.,It is certain that 'Bill went to the kitchen' 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.7::factA. 0.8::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6325265053010602,train,certain,almost no chance,It is certain that 'Bill went to the kitchen' or 'John left the football' or both.,There is almost no chance that 'Bill went to the kitchen' or 'John left the football' or both.,1,'Bill went to the kitchen' or 'John left the football' or both. There is a better than even chance that Jeff went to the garden. There is little chance that Greg is gray. We doubt that John picked up the apple.,Chances are slight that either 'Greg is gray' 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.6::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.58,0.48949789957991596,train,better than even,chances are slight,There is a better than even chance that either 'Greg is gray' or 'Jeff went to the garden' but not both.,Chances are slight that either 'Greg is gray' or 'Jeff went to the garden' but not both.,0,Either 'Greg is gray' or 'Jeff went to the garden' but not both. Chances are slight that Julius is a frog. It is highly unlikely that Jeff moved to the garden. It is likely that Greg is a lion.,Chances are slight that either 'Julius 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.05::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.6103220644128826,train,chances are slight,probably,Chances are slight that either 'Julius is a frog' or 'Jeff moved to the garden' but not both.,It is probably the case that either 'Julius is a frog' or 'Jeff moved to the garden' but not both.,1,Either 'Julius is a frog' or 'Jeff moved to the garden' but not both. It is probably the case that John went to the bedroom. There is little chance that Brian is a frog. It is almost certain that Julius is green.,It is likely that either 'John went to the bedroom' 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.1::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.0010002000400080016,train,likely,unlikely,It is likely that either 'John went to the bedroom' or 'Brian is a frog' but not both.,It is unlikely that either 'John went to the bedroom' or 'Brian is a frog' but not both.,1,Either 'John went to the bedroom' or 'Brian is a frog' but not both. It is improbable that Sandra dropped the apple. There is little chance that Brian is yellow. There is little chance that Bernhard is gray.,It is certain that either 'Sandra 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.5261052210442089,train,unlikely,certain,It is unlikely that either 'Sandra dropped the apple' or 'Bernhard is gray' but not both.,It is certain that either 'Sandra dropped the apple' or 'Bernhard is gray' but not both.,0,Either 'Sandra dropped the apple' or 'Bernhard is gray' but not both. It is almost certain that Daniel got the apple. It is highly unlikely that John took the milk. It is highly unlikely that Bernhard is gray.,It is improbable that either 'Bernhard is gray' 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.05::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.09500000000000001,0.12162432486497299,train,improbable,probable,It is improbable that either 'Bernhard is gray' or 'John took the milk' but not both.,It is probable that either 'Bernhard is gray' or 'John took the milk' but not both.,1,Either 'Bernhard is gray' or 'John took the milk' but not both. There is little chance that Bernhard is green. It is highly unlikely that Brian is a swan. Chances are about even that Julius is gray.,It is improbable that 'Brian 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.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.14500000000000002,0.15583116623324664,train,improbable,almost certain,It is improbable that 'Brian is a swan' or 'Bernhard is green' or both.,It is almost certain that 'Brian is a swan' or 'Bernhard is green' or both.,1,'Brian is a swan' or 'Bernhard is green' or both. We believe that Mary went to the bedroom. We doubt that Brian is a rhino. There is a better than even chance that Fred is in the school.,It is highly unlikely that either 'Fred is in the school' 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.2::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.45000000000000007,0.22144428885777157,train,about even,highly unlikely,Chances are about even that either 'Fred is in the school' or 'Mary went to the bedroom' but not both.,It is highly unlikely that either 'Fred is in the school' or 'Mary went to the bedroom' but not both.,0,Either 'Fred is in the school' or 'Mary went to the bedroom' but not both. We doubt that Julius is white. It is unlikely that Lily is a rhino. Chances are slight that John moved to the office.,It is likely that either 'John moved to the office' 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.1804360872174435,train,probably not,likely,It is probably not the case that either 'John moved to the office' or 'Lily is a rhino' but not both.,It is likely that either 'John moved to the office' or 'Lily is a rhino' but not both.,0,Either 'John moved to the office' or 'Lily is a rhino' but not both. It is unlikely that Julius is gray. There is almost no chance that Brian is white. Chances are about even that John went to the kitchen.,It is impossible that 'Brian 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.2::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.004000000000000002,0.26105221044208843,train,impossible,probable,It is impossible that 'Brian is white and Julius is gray'.,It is probable that 'Brian is white and Julius is gray'.,1,'Brian is white and Julius is gray'. There is little chance that Fred is in the cinema. There is little chance that Mary moved to the garden. There is a better than even chance that Sumit is thirsty.,It is highly unlikely that 'Fred is in the cinema 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.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.4862972594518904,train,highly unlikely,likely,It is highly unlikely that 'Fred is in the cinema and Sumit is thirsty'.,It is likely that 'Fred is in the cinema and Sumit is thirsty'.,1,'Fred is in the cinema and Sumit is thirsty'. It is highly unlikely that John moved to the office. It is improbable that Greg is white. It is probable that Bernhard is a frog.,We doubt that 'Bernhard is a frog' or 'John moved to the office' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.45509101820364073,train,probably,we doubt,It is probably the case that 'Bernhard is a frog' or 'John moved to the office' or both.,We doubt that 'Bernhard is a frog' or 'John moved to the office' or both.,0,'Bernhard is a frog' or 'John moved to the office' or both. It is probably the case that Brian is a lion. Chances are about even that Lily is green. It is impossible that John is in the garden.,It is probably the case that either 'Brian is a lion' or 'John is in 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.5::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.3024604920984197,train,probably,almost no chance,It is probably the case that either 'Brian is a lion' or 'John is in the garden' but not both.,There is almost no chance that either 'Brian is a lion' or 'John is in the garden' but not both.,1,Either 'Brian is a lion' or 'John is in the garden' but not both. It is improbable that Bernhard is green. It is highly likely that Greg is a lion. There is a very good chance that Mary moved to the office.,It is certain that 'Mary moved to the office' 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.9::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.98,0.5077015403080616,train,certain,chances are slight,It is certain that 'Mary moved to the office' or 'Greg is a lion' or both.,Chances are slight that 'Mary moved to the office' or 'Greg is a lion' or both.,1,'Mary moved to the office' or 'Greg is a lion' or both. It is almost certain that Julius is a lion. It is likely that Brian is yellow. It is highly likely that Greg is a frog.,It is almost certain that 'Greg is a frog' 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.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.46769353870774155,train,almost certain,impossible,It is almost certain that 'Greg is a frog' or 'Brian is yellow' or both.,It is impossible that 'Greg is a frog' or 'Brian is yellow' or both.,1,'Greg is a frog' or 'Brian is yellow' or both. There is a very good chance that John went to the garden. There is a better than even chance that Julius is yellow. There is a better than even chance that Sandra left the apple.,Chances are about even that either 'John went to the garden' 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.8::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.44,0.764752950590118,train,about even,almost no chance,Chances are about even that either 'John went to the garden' or 'Sandra left the apple' but not both.,There is almost no chance that either 'John went to the garden' or 'Sandra left the apple' but not both.,1,Either 'John went to the garden' or 'Sandra left the apple' but not both. It is probably the case that Mary got the football. Chances are about even that Brian is a rhino. There is a better than even chance that Greg is gray.,It is almost certain that 'Greg 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.7::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.41999999999999993,0.1302260452090418,train,about even,almost certain,Chances are about even that 'Greg is gray and Mary got the football'.,It is almost certain that 'Greg is gray and Mary got the football'.,0,'Greg is gray and Mary got the football'. There is almost no chance that John grabbed the apple. Chances are about even that Julius is white. There is a better than even chance that Jeff moved to the garden.,It is highly unlikely that either 'Jeff moved 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.02::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5000000000000001,0.6567313462692539,train,about even,highly unlikely,Chances are about even that either 'Jeff moved to the garden' or 'Julius is white' but not both.,It is highly unlikely that either 'Jeff moved to the garden' or 'Julius is white' but not both.,0,Either 'Jeff moved to the garden' or 'Julius is white' but not both. There is little chance that Julius is a swan. It is unlikely that Bernhard is a frog. We doubt that Bill got the milk there.,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 0.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.22604520904180836,train,almost no chance,highly likely,There is almost no chance 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 probable that Mary got the milk. It is highly unlikely that Julius is a rhino. It is improbable that Yann is hungry.,It is likely that 'Yann is hungry 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.7::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.5127025405081016,train,highly unlikely,likely,It is highly unlikely that 'Yann is hungry and Mary got the milk'.,It is likely that 'Yann is hungry and Mary got the milk'.,0,'Yann is hungry and Mary got the milk'. It is unlikely that John put down the milk. It is almost certain that Sandra dropped the milk. It is highly likely that Lily is a frog.,It is likely that 'John put down the milk 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.95::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.18000000000000002,0.397879575915183,train,we doubt,likely,We doubt that 'John put down the milk and Lily is a frog'.,It is likely that 'John put down the milk and Lily is a frog'.,0,'John put down the milk and Lily is a frog'. It is probably not the case that Julius is green. There is almost no chance that John went to the office. It is likely that Greg is white.,It is impossible that 'John went to the office 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.25::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.3140628125625125,train,impossible,almost certain,It is impossible that 'John went to the office and Julius is green'.,It is almost certain that 'John went to the office and Julius is green'.,1,'John went to the office and Julius is green'. There is a very good chance that Sandra dropped the milk. It is unlikely that Lily is white. Chances are about even that Julius is yellow.,It is almost certain that 'Julius is yellow 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.2::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.4,0.2994598919783957,train,about even,almost certain,Chances are about even that 'Julius is yellow and Sandra dropped the milk'.,It is almost certain that 'Julius is yellow and Sandra dropped the milk'.,0,'Julius is yellow and Sandra dropped the milk'. Chances are slight that Mary went to the hallway. It is impossible that John moved to the office. Chances are slight that Bernhard is a rhino.,There is almost no chance that 'Bernhard is a rhino and Mary went to the hallway'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.5383076615323065,train,almost no chance,likely,There is almost no chance that 'Bernhard is a rhino and Mary went to the hallway'.,It is likely that 'Bernhard is a rhino and Mary went to the hallway'.,1,'Bernhard is a rhino and Mary went to the hallway'. Chances are about even that Mary dropped the apple. It is probably the case that John went to the kitchen. It is unlikely that Greg is gray.,There is little chance that 'Greg is gray 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.5::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.35367073414682937,train,little chance,probable,There is little chance that 'Greg is gray and Mary dropped the apple'.,It is probable that 'Greg is gray and Mary dropped the apple'.,1,'Greg is gray and Mary dropped the apple'. It is highly unlikely that Brian is a lion. It is improbable that Julius is a swan. There is a better than even chance that Mary moved to the garden.,There is a better than even chance that either 'Brian is a lion' 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.1::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.59,0.4426885377075415,train,better than even,almost no chance,There is a better than even chance that either 'Brian is a lion' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Brian is a lion' or 'Mary moved to the garden' but not both.,1,Either 'Brian is a lion' or 'Mary moved to the garden' but not both. We believe that Bernhard is white. It is highly likely that Lily is white. Chances are slight that Julius is a lion.,There is a very good chance 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.75::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.789757951590318,train,very good chance,little chance,There is a very good chance that 'Julius is a lion' or 'Bernhard is white' or both.,There is little chance that 'Julius is a lion' or 'Bernhard is white' or both.,1,'Julius is a lion' or 'Bernhard is white' or both. It is likely that Julius is white. It is probable that Jeff left the apple. It is almost certain that Greg is a swan.,It is probable that 'Julius 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.7::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.6649999999999999,0.14462892578515704,train,probable,chances are slight,It is probable that 'Julius is white and Greg is a swan'.,Chances are slight that 'Julius is white and Greg is a swan'.,1,'Julius is white and Greg is a swan'. We believe that Bernhard is yellow. It is unlikely that Lily is a rhino. It is probably not the case that Greg is yellow.,There is little chance that either 'Bernhard is yellow' 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.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.625,0.7521504300860172,train,better than even,little chance,There is a better than even chance that either 'Bernhard is yellow' or 'Greg is yellow' but not both.,There is little chance that either 'Bernhard is yellow' or 'Greg is yellow' but not both.,0,Either 'Bernhard is yellow' or 'Greg is yellow' but not both. It is certain that Bill went to the office. There is almost no chance that Julius is yellow. Chances are slight that Sandra took the milk.,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 1.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.09021804360872175,train,certain,probably not,It is certain that 'Bill went to the office' or 'Julius is yellow' or both.,It is probably not the case that 'Bill went to the office' or 'Julius is yellow' or both.,1,'Bill went to the office' or 'Julius is yellow' or both. It is likely that Winona is a sheep. It is certain that Sandra got the football. It is improbable that Brian is a rhino.,It is probably not the case that either 'Winona is a sheep' 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.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.009001800360072015,train,probably not,likely,It is probably not the case that either 'Winona is a sheep' or 'Sandra got the football' but not both.,It is likely that either 'Winona is a sheep' or 'Sandra got the football' but not both.,1,Either 'Winona is a sheep' or 'Sandra got the football' but not both. There is a better than even chance that John went to the bedroom. It is probable that Brian is a rhino. It is improbable that Julius is white.,It is almost certain that 'Brian is a rhino 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.7821564312862572,train,about even,almost certain,Chances are about even that 'Brian is a rhino and John went to the bedroom'.,It is almost certain that 'Brian is a rhino and John went to the bedroom'.,0,'Brian is a rhino and John went to the bedroom'. It is probably not the case that Brian is yellow. It is impossible that Greg is gray. It is almost certain that Jason is tired.,It is probable 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.25::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.47809561912382476,train,impossible,probable,It is impossible that 'Greg is gray and Brian is yellow'.,It is probable that 'Greg is gray and Brian is yellow'.,0,'Greg is gray and Brian is yellow'. There is almost no chance that Greg is a frog. Chances are slight that Julius is white. It is certain that Mary went to the hallway.,It is impossible that 'Julius 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 0.02::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.33466693338667736,train,impossible,probable,It is impossible that 'Julius is white and Greg is a frog'.,It is probable that 'Julius is white and Greg is a frog'.,1,'Julius is white and Greg is a frog'. There is little chance that John went to the office. It is probably the case that Sandra got the football. We believe that Bernhard is gray.,It is certain that 'Bernhard 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.1::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.21384276855371073,train,about even,certain,Chances are about even that 'Bernhard is gray and Sandra got the football'.,It is certain that 'Bernhard is gray and Sandra got the football'.,0,'Bernhard is gray and Sandra got the football'. It is highly unlikely that Sandra dropped the milk. It is highly likely that Bernhard is green. It is improbable that Mary got the football.,It is highly likely that 'Sandra dropped the milk' 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.05::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.14500000000000002,0.14142828565713142,train,improbable,highly likely,It is improbable that 'Sandra dropped the milk' or 'Mary got the football' or both.,It is highly likely that 'Sandra dropped the milk' or 'Mary got the football' or both.,0,'Sandra dropped the milk' or 'Mary got the football' or both. There is little chance that Sandra left the milk. It is probably not the case that John went to the garden. Chances are about even that Bernhard is green.,Chances are about even that either 'Bernhard 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.1::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.4320864172834567,train,about even,impossible,Chances are about even that either 'Bernhard is green' or 'Sandra left the milk' but not both.,It is impossible that either 'Bernhard is green' or 'Sandra left the milk' but not both.,1,Either 'Bernhard is green' or 'Sandra left the milk' but not both. It is highly unlikely that John put down the milk. It is probably the case that Brian is gray. There is little chance that Julius is white.,It is probably the case that 'Brian 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.05::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.715,0.7915583116623325,train,probably,impossible,It is probably the case that 'Brian is gray' or 'John put down the milk' or both.,It is impossible that 'Brian is gray' or 'John put down the milk' or both.,1,'Brian is gray' or 'John put down the milk' or both. It is improbable that Lily is a lion. There is a very good chance that John went to the kitchen. It is probably not the case that Sandra left the football.,It is likely that either 'Sandra left the football' 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.8::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.65,0.1872374474894979,train,likely,impossible,It is likely that either 'Sandra left the football' or 'John went to the kitchen' but not both.,It is impossible that either 'Sandra left the football' or 'John went to the kitchen' but not both.,1,Either 'Sandra left the football' or 'John went to the kitchen' but not both. It is probably the case that John went to the kitchen. It is almost certain that Brian is a frog. It is unlikely that Fred is in the school.,There is a better than even chance that either 'John went to the kitchen' or 'Fred is in the school' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.29725945189037806,train,better than even,almost no chance,There is a better than even chance that either 'John went to the kitchen' or 'Fred is in the school' but not both.,There is almost no chance that either 'John went to the kitchen' or 'Fred is in the school' but not both.,1,Either 'John went to the kitchen' or 'Fred is in the school' but not both. It is likely that Brian is white. It is improbable that John dropped the apple. It is improbable that Bernhard is a swan.,It is highly unlikely that 'Brian is white 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.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.4748949789957992,train,highly unlikely,likely,It is highly unlikely that 'Brian is white and John dropped the apple'.,It is likely that 'Brian is white and John dropped the apple'.,1,'Brian is white and John dropped the apple'. It is probably not the case that Jeff dropped the apple. It is probably not the case that Bernhard is gray. It is probably the case that Sandra got the milk.,It is highly unlikely that either 'Sandra got the milk' 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.25::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.2588517703540708,train,better than even,highly unlikely,There is a better than even chance that either 'Sandra got the milk' or 'Bernhard is gray' but not both.,It is highly unlikely that either 'Sandra got the milk' or 'Bernhard is gray' but not both.,0,Either 'Sandra got the milk' or 'Bernhard is gray' but not both. It is unlikely that John moved to the office. It is highly unlikely that Winona is a sheep. There is almost no chance that Julius is white.,It is unlikely that 'Julius 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.2::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.4410882176435287,train,unlikely,probably,It is unlikely that 'Julius is white' or 'John moved to the office' or both.,It is probably the case that 'Julius is white' or 'John moved to the office' or both.,1,'Julius is white' or 'John moved to the office' or both. It is probably the case that Julius is gray. It is unlikely that John moved to the garden. It is almost certain that Greg is a lion.,It is probably not the case 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.2::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.01980396079215843,train,we believe,probably not,We believe that 'Julius is gray' or 'John moved to the garden' or both.,It is probably not the case that 'Julius is gray' or 'John moved to the garden' or both.,0,'Julius is gray' or 'John moved to the garden' or both. There is little chance that Greg is a frog. There is a better than even chance that Lily is a swan. We believe that Mary grabbed the apple.,It is highly unlikely that 'Mary 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.1::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.45,0.5121024204840968,train,about even,highly unlikely,Chances are about even that 'Mary grabbed the apple and Lily is a swan'.,It is highly unlikely that 'Mary grabbed the apple and Lily is a swan'.,0,'Mary grabbed the apple and Lily is a swan'. There is almost no chance that Jeff went to the garden. It is probably not the case that John got the apple. We believe that Julius is a rhino.,It is probably the case that 'John got the apple' 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.02::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.265,0.4738947789557912,train,probably not,probably,It is probably not the case that 'John got the apple' or 'Jeff went to the garden' or both.,It is probably the case that 'John got the apple' or 'Jeff went to the garden' or both.,0,'John got the apple' or 'Jeff went to the garden' or both. It is probably the case that Bill went to the garden. It is almost certain that Lily is green. We believe that John left the apple.,It is probable that 'Lily 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.7::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7125,0.1918383676735347,train,probable,impossible,It is probable that 'Lily is green and John left the apple'.,It is impossible that 'Lily is green and John left the apple'.,1,'Lily is green and John left the apple'. It is certain that John took the football. It is impossible that Greg is a rhino. There is a better than even chance that Jeff moved to the garden.,There is a better than even chance that 'Jeff moved to the garden' 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 1.0::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6,0.2478495699139828,train,better than even,almost no chance,There is a better than even chance that 'Jeff moved to the garden' or 'Greg is a rhino' or both.,There is almost no chance that 'Jeff moved to the garden' or 'Greg is a rhino' or both.,1,'Jeff moved to the garden' or 'Greg is a rhino' or both. There is a better than even chance that Lily is white. We doubt that Jason is tired. It is probably the case that Mary put down the apple.,It is certain that 'Lily 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.6::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.41999999999999993,0.5573114622924585,train,about even,certain,Chances are about even that 'Lily is white and Mary put down the apple'.,It is certain that 'Lily is white and Mary put down the apple'.,0,'Lily is white and Mary put down the apple'. There is almost no chance that Brian is a frog. There is almost no chance that John grabbed the apple. There is almost no chance that Sandra dropped the apple.,It is impossible that 'Sandra dropped the apple 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.02::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0004000000000000001,0.7777555511102221,train,impossible,almost certain,It is impossible that 'Sandra dropped the apple and Brian is a frog'.,It is almost certain that 'Sandra dropped the apple and Brian is a frog'.,1,'Sandra dropped the apple and Brian is a frog'. It is certain that Greg is a rhino. It is probable that Mary got the apple. Chances are slight that Daniel grabbed the milk.,Chances are about even that 'Greg is a rhino' 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 1.0::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.1770354070814163,train,certain,about even,It is certain that 'Greg is a rhino' or 'Daniel grabbed the milk' or both.,Chances are about even that 'Greg is a rhino' or 'Daniel grabbed the milk' or both.,0,'Greg is a rhino' or 'Daniel grabbed the milk' or both. It is probable that Julius is gray. It is unlikely that Fred is in the office. It is unlikely that Mary went to the garden.,It is probably not the case that either 'Fred is in the office' 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.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.5657131426285257,train,probably not,we believe,It is probably not the case that either 'Fred is in the office' or 'Mary went to the garden' but not both.,We believe that either 'Fred is in the office' or 'Mary went to the garden' but not both.,1,Either 'Fred is in the office' or 'Mary went to the garden' but not both. It is highly likely that Winona is a mouse. There is a better than even chance that Lily is a frog. It is highly unlikely that Gertrude is a cat.,It is almost certain that 'Lily 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.9::factA. 0.6::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.7095419083816763,train,almost certain,unlikely,It is almost certain that 'Lily is a frog' or 'Winona is a mouse' or both.,It is unlikely that 'Lily is a frog' or 'Winona is a mouse' or both.,1,'Lily is a frog' or 'Winona is a mouse' or both. It is improbable that John got the football. There is a very good chance that Julius is a swan. Chances are slight that Greg is gray.,There is almost no chance that 'John got the football 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.8::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.17803560712142427,train,almost no chance,certain,There is almost no chance that 'John got the football and Greg is gray'.,It is certain that 'John got the football and Greg is gray'.,1,'John got the football and Greg is gray'. It is probable that Julius is gray. It is impossible that Mary went to the office. We believe that John moved to the garden.,We believe that either 'Mary went to the office' 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.0::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.75,0.20084016803360671,train,we believe,chances are slight,We believe that either 'Mary went to the office' or 'John moved to the garden' but not both.,Chances are slight that either 'Mary went to the office' or 'John moved to the garden' but not both.,1,Either 'Mary went to the office' or 'John moved to the garden' but not both. We believe that Bernhard is a frog. There is a very good chance that Julius is a swan. Chances are slight that Brian is white.,It is impossible 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.75::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9500000000000001,0.46589317863572716,train,almost certain,impossible,It is almost certain that 'Bernhard is a frog' or 'Julius is a swan' or both.,It is impossible that 'Bernhard is a frog' or 'Julius is a swan' or both.,0,'Bernhard is a frog' or 'Julius is a swan' or both. Chances are about even that John took the football. It is probable that Bill went to the bedroom. It is probably not the case that Bernhard is a swan.,It is probably not the case that 'Bill went to the bedroom 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.7::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.7111422284456892,train,probably not,probable,It is probably not the case that 'Bill went to the bedroom and John took the football'.,It is probable that 'Bill went to the bedroom and John took the football'.,1,'Bill went to the bedroom and John took the football'. There is almost no chance that John went to the garden. It is probable that Bernhard is yellow. It is probably the case that Julius is a swan.,There is almost no chance that 'Julius 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.02::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.6523304660932187,train,almost no chance,almost certain,There is almost no chance that 'Julius is a swan and John went to the garden'.,It is almost certain that 'Julius is a swan and John went to the garden'.,1,'Julius is a swan and John went to the garden'. It is unlikely that Brian is white. Chances are slight that Lily is a rhino. It is improbable that Mary left the apple.,It is unlikely that either 'Mary 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.3930786157231446,train,unlikely,highly likely,It is unlikely that either 'Mary left the apple' or 'Lily is a rhino' but not both.,It is highly likely that either 'Mary left the apple' or 'Lily is a rhino' but not both.,1,Either 'Mary left the apple' or 'Lily is a rhino' but not both. Chances are about even that Brian is white. There is a better than even chance that Mary left the milk. Chances are slight that John dropped the apple.,It is highly likely that 'John dropped the apple 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.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.09481896379275855,train,highly unlikely,highly likely,It is highly unlikely that 'John dropped the apple and Brian is white'.,It is highly likely that 'John dropped the apple and Brian is white'.,0,'John dropped the apple and Brian is white'. There is almost no chance that Bernhard is white. It is probably not the case that Mary moved to the office. It is improbable that Julius is a rhino.,It is probable that 'Bernhard 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.02::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.11800000000000002,0.0072014402880576115,train,chances are slight,probable,Chances are slight that 'Bernhard is white' or 'Julius is a rhino' or both.,It is probable that 'Bernhard is white' or 'Julius is a rhino' or both.,0,'Bernhard is white' or 'Julius is a rhino' or both. Chances are slight that Daniel put down the milk. It is probable that John dropped the apple. It is probably not the case that Julius is yellow.,Chances are slight that 'Daniel put down 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.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.09241848369673934,train,we believe,chances are slight,We believe that 'Daniel put down the milk' or 'John dropped the apple' or both.,Chances are slight that 'Daniel put down the milk' or 'John dropped the apple' or both.,0,'Daniel put down the milk' or 'John dropped the apple' or both. It is probably the case that Brian is a swan. It is probable that John discarded the apple. Chances are about even that Mary went to the office.,It is probably not the case that 'Brian 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.7::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.2720544108821764,train,probably not,probably,It is probably not the case that 'Brian is a swan and Mary went to the office'.,It is probably the case that 'Brian is a swan and Mary went to the office'.,1,'Brian is a swan and Mary went to the office'. We believe that Bernhard is a swan. Chances are slight that Julius is a rhino. We believe that Mary got the apple.,It is impossible that 'Mary got the apple 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.75::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5625,0.15863172634526906,train,better than even,impossible,There is a better than even chance that 'Mary got the apple and Bernhard is a swan'.,It is impossible that 'Mary got the apple and Bernhard is a swan'.,0,'Mary got the apple and Bernhard is a swan'. There is a better than even chance that Greg is gray. It is probably the case that John got the apple. There is a better than even chance that Mary dropped the milk.,It is probably not the case that 'Greg 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.6::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.36,0.3204640928185637,train,probably not,probable,It is probably not the case that 'Greg is gray and Mary dropped the milk'.,It is probable that 'Greg is gray and Mary dropped the milk'.,1,'Greg is gray and Mary dropped the milk'. There is little chance that John got the apple. It is impossible that Greg is a swan. We doubt that Lily is a rhino.,There is a very good chance that either 'Greg is a swan' 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.0::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.10000000000000002,0.3146629325865173,train,chances are slight,very good chance,Chances are slight that either 'Greg is a swan' or 'John got the apple' but not both.,There is a very good chance that either 'Greg is a swan' or 'John got the apple' but not both.,0,Either 'Greg is a swan' or 'John got the apple' but not both. It is highly unlikely that Antoine is hungry. It is certain that Greg is a rhino. It is probably not the case that Lily is yellow.,It is likely that 'Lily is yellow 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. 1.0::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.012500000000000006,0.34426885377075417,train,almost no chance,likely,There is almost no chance that 'Lily is yellow and Antoine is hungry'.,It is likely that 'Lily is yellow and Antoine is hungry'.,0,'Lily is yellow and Antoine is hungry'. There is a better than even chance that Fred went to the garden. It is probably not the case that Daniel dropped the milk. It is likely that Winona is a wolf.,There is a very good chance that 'Daniel dropped the milk' 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.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.16803360672134426,train,very good chance,probably not,There is a very good chance that 'Daniel dropped the milk' or 'Winona is a wolf' or both.,It is probably not the case that 'Daniel dropped the milk' or 'Winona is a wolf' or both.,1,'Daniel dropped the milk' or 'Winona is a wolf' or both. Chances are slight that Gertrude is a mouse. It is highly unlikely that John moved to the office. It is highly unlikely that Brian is yellow.,It is almost certain that either 'Gertrude 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.1::factA. 0.05::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.5071014202840568,train,little chance,almost certain,There is little chance that either 'Gertrude is a mouse' or 'John moved to the office' but not both.,It is almost certain that either 'Gertrude is a mouse' or 'John moved to the office' but not both.,0,Either 'Gertrude is a mouse' or 'John moved to the office' but not both. It is probable that Sandra left the milk. There is little chance that Lily is a rhino. It is impossible that Brian is gray.,It is improbable that 'Lily is a rhino' 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.1::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.15923184636927384,train,improbable,probably,It is improbable that 'Lily is a rhino' or 'Brian is gray' or both.,It is probably the case that 'Lily is a rhino' or 'Brian is gray' or both.,1,'Lily is a rhino' or 'Brian is gray' or both. It is almost certain that Bernhard is yellow. It is improbable that John dropped the apple. It is probably the case that Brian is white.,It is probably not the case that 'Brian is white' 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.95::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.985,0.09841968393678736,train,certain,probably not,It is certain that 'Brian is white' or 'Bernhard is yellow' or both.,It is probably not the case that 'Brian is white' or 'Bernhard is yellow' or both.,0,'Brian is white' or 'Bernhard is yellow' or both. Chances are slight that John dropped the milk. We doubt that Brian is a swan. Chances are about even that Jessica is a cat.,There is a better than even chance 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.1::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6000000000000001,0.014402880576115223,train,better than even,chances are slight,There is a better than even chance that 'Jessica is a cat' or 'Brian is a swan' or both.,Chances are slight that 'Jessica is a cat' or 'Brian is a swan' or both.,1,'Jessica is a cat' or 'Brian is a swan' or both. There is a very good chance that Bernhard is a frog. There is a better than even chance that Greg is a swan. It is impossible that Emily is a wolf.,It is highly unlikely 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 0.8::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.44,0.11022204440888178,train,about even,highly unlikely,Chances are about even that either 'Bernhard is a frog' or 'Greg is a swan' but not both.,It is highly unlikely 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. We believe that Lily is a frog. It is highly unlikely that Bill went to the kitchen. There is a very good chance that Julius is yellow.,It is probably not the case that either 'Julius 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.75::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.35000000000000003,0.23144628925785157,train,probably not,likely,It is probably not the case that either 'Julius is yellow' or 'Lily is a frog' but not both.,It is likely that either 'Julius is yellow' or 'Lily is a frog' but not both.,1,Either 'Julius is yellow' or 'Lily is a frog' but not both. We doubt that Jessica is a mouse. There is little chance that Bernhard is green. There is almost no chance that Sumit is bored.,It is unlikely that 'Sumit is bored' 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.1::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.4468893778755751,train,unlikely,we believe,It is unlikely that 'Sumit is bored' or 'Jessica is a mouse' or both.,We believe that 'Sumit is bored' or 'Jessica is a mouse' or both.,1,'Sumit is bored' or 'Jessica is a mouse' or both. There is a very good chance that Julius is a swan. It is almost certain that Lily is gray. It is highly unlikely that Gertrude is a wolf.,It is highly unlikely that 'Lily is gray 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.8::factA. 0.95::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0475,0.7393478695739147,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is gray and Gertrude is a wolf'.,It is highly likely that 'Lily is gray and Gertrude is a wolf'.,1,'Lily is gray and Gertrude is a wolf'. It is highly likely that Julius is yellow. It is certain that Emily is a wolf. It is impossible that Winona is a mouse.,It is improbable that 'Emily is a wolf' 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.9::factA. 1.0::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.04360872174434887,train,certain,improbable,It is certain that 'Emily is a wolf' or 'Julius is yellow' or both.,It is improbable that 'Emily is a wolf' or 'Julius is yellow' or both.,0,'Emily is a wolf' or 'Julius is yellow' or both. It is likely that Sandra took the milk. It is almost certain that Mary went to the office. It is highly unlikely that Julius is a swan.,It is certain that 'Mary went to the office' 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.7::factA. 0.95::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.7465493098619724,train,certain,about even,It is certain that 'Mary went to the office' or 'Sandra took the milk' or both.,Chances are about even that 'Mary went to the office' or 'Sandra took the milk' or both.,1,'Mary went to the office' or 'Sandra took the milk' or both. It is highly likely that Greg is yellow. Chances are about even that Bernhard is green. It is probably not the case that Antoine is bored.,It is almost certain that 'Bernhard 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.9::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9500000000000001,0.23464692938587717,train,almost certain,we doubt,It is almost certain that 'Bernhard is green' or 'Greg is yellow' or both.,We doubt that 'Bernhard is green' or 'Greg is yellow' or both.,1,'Bernhard is green' or 'Greg is yellow' or both. Chances are about even that Lily is a frog. We doubt that John went to the garden. We doubt that Greg is a swan.,There is almost no chance that either 'Lily is a frog' 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.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.15283056611322265,train,about even,almost no chance,Chances are about even that either 'Lily is a frog' or 'John went to the garden' but not both.,There is almost no chance that either 'Lily is a frog' or 'John went to the garden' but not both.,0,Either 'Lily is a frog' or 'John went to the garden' but not both. It is unlikely that John moved to the garden. It is likely that Bernhard is yellow. It is certain that Julius is a swan.,It is certain that 'John moved to the garden 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.7::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.1332266453290658,train,we doubt,certain,We doubt that 'John moved to the garden and Julius is a swan'.,It is certain that 'John moved to the garden and Julius is a swan'.,0,'John moved to the garden and Julius is a swan'. It is unlikely that Lily is a swan. There is little chance that Gertrude is a wolf. It is certain that Sandra put down the milk.,It is almost certain that either 'Lily is a swan' 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.2::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.4366873374674935,train,probably not,almost certain,It is probably not the case that either 'Lily is a swan' or 'Gertrude is a wolf' but not both.,It is almost certain that either 'Lily is a swan' or 'Gertrude is a wolf' but not both.,0,Either 'Lily is a swan' or 'Gertrude is a wolf' but not both. It is unlikely that Jeff went to the bedroom. It is impossible that John dropped the apple. It is unlikely that Brian is green.,It is certain that 'John dropped 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.2::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.2,0.5917183436687338,train,unlikely,certain,It is unlikely that 'John dropped the apple' or 'Brian is green' or both.,It is certain that 'John dropped the apple' or 'Brian is green' or both.,0,'John dropped the apple' or 'Brian is green' or both. There is a better than even chance that Jeff discarded the milk. We doubt that Mary dropped the milk. It is probably the case that Fred put down the apple.,It is probably the case that 'Mary dropped the milk 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.6::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.4540908181636327,train,improbable,probably,It is improbable that 'Mary dropped the milk and Fred put down the apple'.,It is probably the case that 'Mary dropped the milk and Fred put down the apple'.,0,'Mary dropped the milk and Fred put down the apple'. We doubt that Sandra left the football. It is likely that Lily is a swan. It is certain that Jason is tired.,There is a better than even chance 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.2::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.35747149429885977,train,better than even,chances are slight,There is a better than even chance that either 'Sandra left the football' or 'Lily is a swan' but not both.,Chances are slight that either 'Sandra left the football' or 'Lily is a swan' but not both.,1,Either 'Sandra left the football' or 'Lily is a swan' but not both. It is improbable that Jeff moved to the office. It is certain that Lily is green. It is impossible that Julius is white.,It is improbable that either 'Lily is green' 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. 1.0::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9,0.5463092618523705,train,highly likely,improbable,It is highly likely that either 'Lily is green' or 'Jeff moved to the office' but not both.,It is improbable that either 'Lily is green' or 'Jeff moved to the office' but not both.,0,Either 'Lily is green' or 'Jeff moved to the office' but not both. It is impossible that Sandra left the milk. Chances are about even that Bernhard is a lion. It is certain that Mary took the football.,It is certain that 'Mary took the football 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.0::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.41148229645929185,train,impossible,certain,It is impossible that 'Mary took the football and Sandra left the milk'.,It is certain that 'Mary took the football and Sandra left the milk'.,0,'Mary took the football and Sandra left the milk'. Chances are about even that Gertrude is a wolf. There is a better than even chance that Daniel left the milk. It is likely that Brian is green.,It is certain that either 'Daniel left 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.5::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.1862372474494899,train,about even,certain,Chances are about even that either 'Daniel left the milk' or 'Gertrude is a wolf' but not both.,It is certain that either 'Daniel left the milk' or 'Gertrude is a wolf' but not both.,0,Either 'Daniel left the milk' or 'Gertrude is a wolf' but not both. It is probable that Greg is a rhino. It is probable that Brian is yellow. There is little chance that Julius is gray.,It is impossible 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.48999999999999994,0.48169633926785355,train,about even,impossible,Chances are about even that 'Brian is yellow and Greg is a rhino'.,It is impossible that 'Brian is yellow and Greg is a rhino'.,0,'Brian is yellow and Greg is a rhino'. We doubt that Brian is a frog. There is a better than even chance that Lily is green. It is probably the case that Antoine is hungry.,There is little chance 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.2::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.12000000000000001,0.7789557911582317,train,little chance,better than even,There is little chance that 'Brian is a frog and Lily is green'.,There is a better than even chance that 'Brian is a frog and Lily is green'.,1,'Brian is a frog and Lily is green'. There is a very good chance that Sandra got the milk. It is probably the case that Greg is gray. There is almost no chance that Brian is a rhino.,Chances are slight that 'Brian 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.8::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.706,0.16823364672934588,train,probable,chances are slight,It is probable that 'Brian is a rhino' or 'Greg is gray' or both.,Chances are slight that 'Brian is a rhino' or 'Greg is gray' or both.,0,'Brian is a rhino' or 'Greg is gray' or both. There is little chance that John picked up the apple. Chances are slight that Brian is white. It is unlikely that Mary got the football.,There is a very good chance 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.6373274654930986,train,almost no chance,very good chance,There is almost no chance that 'Mary got the football and Brian is white'.,There is a very good chance that 'Mary got the football and Brian is white'.,0,'Mary got the football and Brian is white'. It is probably the case that Brian is a rhino. Chances are about even that Emily is a sheep. There is little chance that Winona is a mouse.,Chances are about even 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.7::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.3272654530906181,train,about even,impossible,Chances are about even that either 'Winona is a mouse' or 'Emily is a sheep' but not both.,It is impossible 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. It is improbable that John put down the milk. It is probably not the case that Winona is a wolf. It is unlikely that Julius is a lion.,It is highly unlikely that 'Winona is a wolf 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.25::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.5625125025005001,train,highly unlikely,highly likely,It is highly unlikely that 'Winona is a wolf and Julius is a lion'.,It is highly likely that 'Winona is a wolf and Julius is a lion'.,1,'Winona is a wolf and Julius is a lion'. There is a very good chance that Jason is tired. It is highly unlikely that Emily is a cat. There is almost no chance that Lily is white.,There is a very good chance that 'Lily 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.8::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.804,0.7575515103020604,train,very good chance,chances are slight,There is a very good chance that 'Lily is white' or 'Jason is tired' or both.,Chances are slight that 'Lily is white' or 'Jason is tired' or both.,1,'Lily is white' or 'Jason is tired' or both. There is almost no chance that Jeff left the apple. It is highly likely that Winona is a wolf. There is a better than even chance that Greg is yellow.,Chances are about even 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.02::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42000000000000004,0.26965393078615724,train,about even,almost no chance,Chances are about even that either 'Greg is yellow' or 'Winona is a wolf' but not both.,There is almost no chance that either 'Greg is yellow' or 'Winona is a wolf' but not both.,1,Either 'Greg is yellow' or 'Winona is a wolf' but not both. It is certain that Mary went to the kitchen. Chances are about even that Emily is a mouse. It is highly unlikely that Greg is a frog.,It is highly likely that 'Emily is a mouse 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.5::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.025,0.380876175235047,train,almost no chance,highly likely,There is almost no chance that 'Emily is a mouse and Greg is a frog'.,It is highly likely that 'Emily is a mouse and Greg is a frog'.,0,'Emily is a mouse and Greg is a frog'. It is unlikely that Yann is thirsty. It is impossible that Brian is a rhino. It is probable that Lily is a frog.,It is improbable that 'Yann is thirsty 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.6019203840768154,train,improbable,probably,It is improbable that 'Yann is thirsty and Lily is a frog'.,It is probably the case that 'Yann is thirsty and Lily is a frog'.,1,'Yann is thirsty and Lily is a frog'. It is probable that Sandra put down the milk. We doubt that Greg is a rhino. It is likely that Julius is gray.,Chances are about even that 'Julius is gray and Sandra 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.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.2520504100820164,train,about even,almost no chance,Chances are about even that 'Julius is gray and Sandra put down the milk'.,There is almost no chance that 'Julius is gray and Sandra put down the milk'.,1,'Julius is gray and Sandra put down the milk'. It is likely that Bill went to the office. It is improbable that Greg is green. It is improbable that Lily is a frog.,It is highly unlikely that 'Lily is a frog 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.07821564312862572,train,highly unlikely,we believe,It is highly unlikely that 'Lily is a frog and Bill went to the office'.,We believe that 'Lily is a frog and Bill went to the office'.,1,'Lily is a frog and Bill went to the office'. It is certain that John went to the kitchen. It is unlikely that Sandra left the milk. Chances are about even that Bernhard is a rhino.,It is certain that 'John went to the kitchen' 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.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.6013202640528106,train,certain,unlikely,It is certain that 'John went to the kitchen' or 'Sandra left the milk' or both.,It is unlikely that 'John went to the kitchen' or 'Sandra left the milk' or both.,1,'John went to the kitchen' or 'Sandra left the milk' or both. It is probably not the case that John got the milk. There is little chance that Lily is yellow. It is probable that Julius is a swan.,There is a better than even chance that either 'John got 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.25::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.6505301060212042,train,better than even,little chance,There is a better than even chance that either 'John got the milk' or 'Julius is a swan' but not both.,There is little chance that either 'John got the milk' or 'Julius is a swan' but not both.,1,Either 'John got the milk' or 'Julius is a swan' but not both. It is impossible that Lily is yellow. It is likely that John took the apple. It is highly unlikely that Greg is a rhino.,It is unlikely that 'Greg is a rhino' 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.0::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.6383276655331066,train,probably,unlikely,It is probably the case that 'Greg is a rhino' or 'John took the apple' or both.,It is unlikely that 'Greg is a rhino' or 'John took the apple' or both.,0,'Greg is a rhino' or 'John took the apple' or both. It is impossible that Lily is gray. It is probably the case that Julius is a frog. It is almost certain that Mary discarded the milk.,It is highly unlikely that 'Mary discarded 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.0::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.985,0.46189237847569514,train,certain,highly unlikely,It is certain that 'Mary discarded the milk' or 'Julius is a frog' or both.,It is highly unlikely that 'Mary discarded the milk' or 'Julius is a frog' or both.,0,'Mary discarded the milk' or 'Julius is a frog' or both. There is a better than even chance that John went to the garden. There is a very good chance that Bernhard is a swan. It is likely that Lily is green.,It is impossible that 'Bernhard is a swan' 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.92,0.5211042208441689,train,highly likely,impossible,It is highly likely that 'Bernhard is a swan' or 'John went to the garden' or both.,It is impossible that 'Bernhard is a swan' or 'John went to the garden' or both.,0,'Bernhard is a swan' or 'John went to the garden' or both. It is impossible that Greg is a frog. There is a better than even chance that Mary went to the kitchen. It is highly likely that Jessica is a cat.,There is a very good chance that 'Jessica 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.0::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.5489097819563913,train,impossible,very good chance,It is impossible that 'Jessica is a cat and Greg is a frog'.,There is a very good chance that 'Jessica is a cat and Greg is a frog'.,0,'Jessica is a cat and Greg is a frog'. It is improbable that Greg is green. It is unlikely that Mary went to the kitchen. It is probable that Sandra took the milk.,It is probably not the case that either 'Greg is green' 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.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.042008401680336066,train,probably not,probable,It is probably not the case that either 'Greg is green' or 'Mary went to the kitchen' but not both.,It is probable that either 'Greg is green' or 'Mary went to the kitchen' but not both.,1,Either 'Greg is green' or 'Mary went to the kitchen' but not both. It is probable that Sandra got the milk. Chances are about even that Greg is a lion. We doubt that Mary put down the apple.,There is a very good chance that 'Sandra got 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.7::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.85,0.47609521904380875,train,very good chance,improbable,There is a very good chance that 'Sandra got the milk' or 'Greg is a lion' or both.,It is improbable that 'Sandra got the milk' or 'Greg is a lion' or both.,1,'Sandra got the milk' or 'Greg is a lion' or both. Chances are slight that John moved to the garden. There is a very good chance that Mary went to the office. It is probably the case that Julius is white.,It is certain that either 'Julius 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.8::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.46009201840368075,train,about even,certain,Chances are about even that either 'Julius is white' or 'Mary went to the office' but not both.,It is certain that either 'Julius is white' or 'Mary went to the office' but not both.,0,Either 'Julius is white' or 'Mary went to the office' but not both. It is certain that Greg is a rhino. There is a better than even chance that Julius is a swan. Chances are about even that Brian is a lion.,There is a very good 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 1.0::factA. 0.6::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.3130626125225045,train,very good chance,improbable,There is a very good 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. It is highly likely that Bernhard is yellow. It is impossible that Sandra got the milk. There is almost no chance that Sumit is hungry.,We doubt that 'Bernhard is yellow' 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.9::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.902,0.6657331466293259,train,highly likely,we doubt,It is highly likely that 'Bernhard is yellow' or 'Sumit is hungry' or both.,We doubt that 'Bernhard is yellow' or 'Sumit is hungry' or both.,0,'Bernhard is yellow' or 'Sumit is hungry' or both. There is almost no chance that Bernhard is yellow. It is likely that Lily is a rhino. There is a better than even chance that Julius is a frog.,There is almost no chance that 'Bernhard 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.02::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.011999999999999999,0.6073214642928586,train,almost no chance,we believe,There is almost no chance that 'Bernhard is yellow and Julius is a frog'.,We believe that 'Bernhard is yellow and Julius is a frog'.,1,'Bernhard is yellow and Julius is a frog'. It is highly unlikely that John dropped the apple. It is probably not the case that Brian is yellow. It is highly likely that Bernhard is white.,It is likely 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.05::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.4398879775955191,train,likely,chances are slight,It is likely that either 'Bernhard is white' or 'Brian is yellow' but not both.,Chances are slight 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 probably not the case that Fred dropped the milk. It is probably the case that Greg is a swan. It is likely that Mary went to the bedroom.,There is a better than even chance that either 'Greg 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.25::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.745749149829966,train,better than even,impossible,There is a better than even chance that either 'Greg is a swan' or 'Fred dropped the milk' but not both.,It is impossible that either 'Greg is a swan' or 'Fred dropped the milk' but not both.,1,Either 'Greg is a swan' or 'Fred dropped the milk' but not both. It is certain that Mary went to the hallway. There is a better than even chance that John dropped the milk. It is almost certain that Greg is a lion.,It is almost certain that 'Mary went to the hallway 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 1.0::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.95,0.3664732946589318,train,almost certain,improbable,It is almost certain that 'Mary went to the hallway and Greg is a lion'.,It is improbable that 'Mary went to the hallway and Greg is a lion'.,1,'Mary went to the hallway and Greg is a lion'. There is little chance that Winona is a sheep. It is almost certain that Sandra got the milk. It is probable that John dropped the apple.,We believe that 'John dropped the apple' or 'Winona is a sheep' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.3734746949389878,train,we believe,highly unlikely,We believe that 'John dropped the apple' or 'Winona is a sheep' or both.,It is highly unlikely that 'John dropped the apple' or 'Winona is a sheep' or both.,1,'John dropped the apple' or 'Winona is a sheep' or both. There is a very good chance that Mary went to the bedroom. It is highly likely that Brian is a rhino. It is probable that Julius is a swan.,It is almost certain that 'Julius 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.8::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.22024404880976195,train,almost certain,little chance,It is almost certain that 'Julius is a swan' or 'Brian is a rhino' or both.,There is little chance that 'Julius is a swan' or 'Brian is a rhino' or both.,1,'Julius is a swan' or 'Brian is a rhino' or both. It is highly likely that Mary picked up the milk. We doubt that John went to the kitchen. It is probable that Julius is yellow.,We believe that either 'Mary picked up the milk' 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.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.09501900380076016,train,we believe,improbable,We believe that either 'Mary picked up the milk' or 'John went to the kitchen' but not both.,It is improbable that either 'Mary picked up the milk' or 'John went to the kitchen' but not both.,1,Either 'Mary picked up the milk' or 'John went to the kitchen' but not both. It is improbable that Mary went to the office. It is almost certain that Sandra took the milk. It is probable that Brian is white.,It is highly likely that either 'Sandra took the milk' 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.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.86,0.16363272654530905,train,highly likely,little chance,It is highly likely that either 'Sandra took the milk' or 'Mary went to the office' but not both.,There is little chance that either 'Sandra took the milk' or 'Mary went to the office' but not both.,1,Either 'Sandra took the milk' or 'Mary went to the office' but not both. It is highly unlikely that Greg is a frog. It is unlikely that Julius is yellow. It is likely that Fred went to the garden.,It is probable that either 'Fred went to the garden' 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.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.6663332666533307,train,probable,impossible,It is probable that either 'Fred went to the garden' or 'Greg is a frog' but not both.,It is impossible that either 'Fred went to the garden' or 'Greg is a frog' but not both.,1,Either 'Fred went to the garden' or 'Greg is a frog' but not both. It is improbable that Gertrude is a sheep. There is almost no chance that Mary went to the office. It is almost certain that Brian is a frog.,It is almost certain that 'Gertrude is a sheep' 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.02::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.955,0.24624924984997,train,almost certain,improbable,It is almost certain that 'Gertrude is a sheep' or 'Brian is a frog' or both.,It is improbable that 'Gertrude is a sheep' or 'Brian is a frog' or both.,1,'Gertrude is a sheep' or 'Brian is a frog' or both. Chances are about even that John discarded the apple. It is unlikely that Julius is a rhino. There is a better than even chance that Bernhard is a swan.,We doubt that 'Julius is a rhino' 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.2::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.68,0.027805561112222446,train,probably,we doubt,It is probably the case that 'Julius is a rhino' or 'Bernhard is a swan' or both.,We doubt that 'Julius is a rhino' or 'Bernhard is a swan' or both.,0,'Julius is a rhino' or 'Bernhard is a swan' or both. There is little chance that John went to the kitchen. It is likely that Greg is white. Chances are slight that Mary moved to the garden.,It is unlikely that 'John went to the kitchen' 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.19000000000000006,0.4970994198839768,train,unlikely,certain,It is unlikely that 'John went to the kitchen' or 'Mary moved to the garden' or both.,It is certain that 'John went to the kitchen' or 'Mary moved to the garden' or both.,1,'John went to the kitchen' or 'Mary moved to the garden' or both. Chances are slight that Bernhard is a frog. We doubt that Brian is white. We doubt that Greg is a rhino.,It is probably not the case 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.33346669333866774,train,probably not,certain,It is probably not the case that 'Bernhard is a frog' or 'Brian is white' or both.,It is certain that 'Bernhard is a frog' or 'Brian is white' or both.,1,'Bernhard is a frog' or 'Brian is white' or both. It is likely that Jessica is a cat. We believe that Sandra took the apple. It is improbable that Greg is a rhino.,It is certain that 'Sandra took 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.16723344668933787,train,about even,certain,Chances are about even that 'Sandra took the apple and Jessica is a cat'.,It is certain that 'Sandra took the apple and Jessica is a cat'.,0,'Sandra took the apple and Jessica is a cat'. It is highly unlikely that Mary is in the school. It is unlikely that Brian is a swan. It is probably the case that Bernhard is a frog.,There is almost no chance that 'Mary is in the school 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.21824364872974594,train,almost no chance,better than even,There is almost no chance that 'Mary is in the school and Brian is a swan'.,There is a better than even chance that 'Mary is in the school and Brian is a swan'.,1,'Mary is in the school and Brian is a swan'. We doubt that Jessica is a mouse. It is almost certain that Lily is a rhino. It is probably not the case that Julius is a lion.,It is almost certain that 'Lily is a rhino' 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.95::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.5631126225245049,train,almost certain,impossible,It is almost certain that 'Lily is a rhino' or 'Jessica is a mouse' or both.,It is impossible that 'Lily is a rhino' or 'Jessica is a mouse' or both.,1,'Lily is a rhino' or 'Jessica is a mouse' or both. It is probably not the case that John put down the apple. It is probably the case that Brian is a lion. It is likely that Lily is gray.,We doubt that 'Lily is gray 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.25::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.175,0.5835167033406682,train,we doubt,probable,We doubt that 'Lily is gray and John put down the apple'.,It is probable that 'Lily is gray and John put down the apple'.,1,'Lily is gray and John put down the apple'. We doubt that Bernhard is white. It is certain that Brian is a frog. We doubt that Jeff discarded the milk.,There is a very good chance 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.2::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.8,0.5475095019003801,train,very good chance,we doubt,There is a very good chance that either 'Bernhard is white' or 'Brian is a frog' but not both.,We doubt 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 a better than even chance that John dropped the apple. It is impossible that Brian is yellow. It is improbable that Lily is a frog.,There is little chance that 'Brian is yellow' 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.6::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.5427085417083417,train,little chance,highly likely,There is little chance that 'Brian is yellow' or 'Lily is a frog' or both.,It is highly likely that 'Brian is yellow' or 'Lily is a frog' or both.,1,'Brian is yellow' or 'Lily is a frog' or both. We believe that Lily is a rhino. There is little chance that John discarded the milk. There is little chance that Bill moved to the office.,We believe that 'Lily is a rhino 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.75::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.22824564912982598,train,chances are slight,we believe,Chances are slight that 'Lily is a rhino and Bill moved to the office'.,We believe that 'Lily is a rhino and Bill moved to the office'.,0,'Lily is a rhino and Bill moved to the office'. Chances are about even that Greg is a rhino. It is likely that Julius is yellow. It is impossible that Bernhard is a swan.,It is certain 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.5::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.5,0.5213042608521704,train,about even,certain,Chances are about even that 'Bernhard is a swan' or 'Greg is a rhino' or both.,It is certain that 'Bernhard is a swan' or 'Greg is a rhino' or both.,0,'Bernhard is a swan' or 'Greg is a rhino' or both. It is impossible that Emily is a cat. It is probably the case that Lily is yellow. There is almost no chance that Greg is a rhino.,It is probably the case that 'Emily 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.0::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.10382076415283056,train,probably,almost no chance,It is probably the case that 'Emily is a cat' or 'Lily is yellow' or both.,There is almost no chance that 'Emily is a cat' or 'Lily is yellow' or both.,1,'Emily is a cat' or 'Lily is yellow' or both. It is impossible that Julius is a lion. It is almost certain that John left the milk. There is a better than even chance that Mary went to the office.,It is almost certain that 'John left 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.0::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.14522904580916182,train,impossible,almost certain,It is impossible that 'John left the milk and Julius is a lion'.,It is almost certain that 'John left the milk and Julius is a lion'.,0,'John left the milk and Julius is a lion'. We doubt that Daniel put down the milk. It is improbable that Mary is in the school. We believe that John went to the garden.,It is likely that either 'Mary is in the school' 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.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.17563512702540507,train,likely,unlikely,It is likely that either 'Mary is in the school' or 'John went to the garden' but not both.,It is unlikely that either 'Mary is in the school' or 'John went to the garden' but not both.,1,Either 'Mary is in the school' or 'John went to the garden' but not both. Chances are slight that Julius is a lion. It is probable that John moved to the garden. There is little chance that Bernhard is a swan.,It is highly likely that 'Bernhard 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.5307061412282457,train,highly unlikely,highly likely,It is highly unlikely that 'Bernhard is a swan and John moved to the garden'.,It is highly likely that 'Bernhard is a swan and John moved to the garden'.,0,'Bernhard is a swan and John moved to the garden'. It is highly unlikely that Sandra dropped the milk. Chances are slight that Bernhard is a frog. It is probably not the case that Mary went to the office.,We believe that either 'Mary went 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.05::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.20284056811362272,train,probably not,we believe,It is probably not the case that either 'Mary went to the office' or 'Bernhard is a frog' but not both.,We believe that either 'Mary went to the office' or 'Bernhard is a frog' but not both.,0,Either 'Mary went to the office' or 'Bernhard is a frog' but not both. It is probably the case that Brian is a frog. It is improbable that Julius is a rhino. It is probable that Fred dropped the apple.,It is likely that either 'Julius is a rhino' or 'Fred 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.4204840968193639,train,likely,we doubt,It is likely that either 'Julius is a rhino' or 'Fred dropped the apple' but not both.,We doubt that either 'Julius is a rhino' or 'Fred dropped the apple' but not both.,1,Either 'Julius is a rhino' or 'Fred dropped the apple' but not both. It is likely that Brian is a frog. There is little chance that Bernhard is yellow. It is highly likely that Jason is tired.,It is highly unlikely that 'Bernhard 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.7::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.5989197839567914,train,highly unlikely,certain,It is highly unlikely that 'Bernhard is yellow and Brian is a frog'.,It is certain that 'Bernhard is yellow and Brian is a frog'.,1,'Bernhard is yellow and Brian is a frog'. It is highly unlikely that John went to the garden. There is a very good chance that Greg is gray. It is likely that Bernhard is gray.,There is a very good chance that 'John went 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.05::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.81,0.619123824764953,train,very good chance,we doubt,There is a very good chance that 'John went to the garden' or 'Greg is gray' or both.,We doubt that 'John went to the garden' or 'Greg is gray' or both.,1,'John went to the garden' or 'Greg is gray' or both. We doubt that Greg is a rhino. Chances are about even that Lily is green. It is unlikely that Bernhard is white.,It is almost certain that either 'Greg 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.2::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.7227445489097819,train,about even,almost certain,Chances are about even that either 'Greg is a rhino' or 'Lily is green' but not both.,It is almost certain that either 'Greg is a rhino' or 'Lily is green' but not both.,0,Either 'Greg is a rhino' or 'Lily is green' but not both. It is probably not the case that John went to the hallway. There is little chance that Daniel got the apple. It is certain that Brian is green.,Chances are slight that 'John went to the hallway' 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.25::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.5255051010202041,train,certain,chances are slight,It is certain that 'John went to the hallway' or 'Brian is green' or both.,Chances are slight that 'John went to the hallway' or 'Brian is green' or both.,0,'John went to the hallway' or 'Brian is green' or both. It is probably the case that Bernhard is green. It is probable that Brian is a rhino. It is probable that Greg is a lion.,There is almost no chance that either 'Greg is a lion' 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.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.5061012202440488,train,about even,almost no chance,Chances are about even that either 'Greg is a lion' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Greg is a lion' or 'Brian is a rhino' but not both.,0,Either 'Greg is a lion' or 'Brian is a rhino' but not both. There is little chance that Lily is a swan. There is a very good chance that Brian is a rhino. It is impossible that John moved to the garden.,We believe 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.1::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.23044608921784357,train,impossible,we believe,It is impossible that 'John moved to the garden and Brian is a rhino'.,We believe that 'John moved to the garden and Brian is a rhino'.,0,'John moved to the garden and Brian is a rhino'. We believe that Lily is yellow. It is highly unlikely that Julius is a lion. It is unlikely that John went to the garden.,There is a very good chance that 'Julius is a lion' 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.75::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.24000000000000005,0.19103820764152832,train,probably not,very good chance,It is probably not the case that 'Julius is a lion' or 'John went to the garden' or both.,There is a very good chance that 'Julius is a lion' or 'John went to the garden' or both.,0,'Julius is a lion' or 'John went to the garden' or both. It is probably not the case that Brian is yellow. It is unlikely that Jessica is a cat. There is a very good chance that John moved to the office.,It is highly likely that 'Jessica is a cat 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.2::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.16000000000000003,0.38787757551510305,train,unlikely,highly likely,It is unlikely that 'Jessica is a cat and John moved to the office'.,It is highly likely that 'Jessica is a cat and John moved to the office'.,0,'Jessica is a cat and John moved to the office'. It is probable that Greg is a swan. It is highly likely that Gertrude is a sheep. Chances are slight that John moved to the garden.,We believe that 'John 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.0668133626725345,train,we believe,impossible,We believe that 'John moved to the garden' or 'Greg is a swan' or both.,It is impossible that 'John moved to the garden' or 'Greg is a swan' or both.,1,'John moved to the garden' or 'Greg is a swan' or both. It is probably not the case that Brian is white. It is highly unlikely that Lily is yellow. There is a very good chance that Sandra is in the kitchen.,It is improbable that either 'Sandra is in 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.25::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.5985197039407881,train,we believe,improbable,We believe that either 'Sandra is in the kitchen' or 'Lily is yellow' but not both.,It is improbable that either 'Sandra is in the kitchen' or 'Lily is yellow' but not both.,0,Either 'Sandra is in the kitchen' or 'Lily is yellow' but not both. Chances are about even that Mary moved to the office. It is probably the case that Greg is a swan. Chances are about even that Julius is white.,It is probably not the case 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.5::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.005601120224044809,train,probably not,probable,It is probably not the case that 'Greg is a swan and Mary moved to the office'.,It is probable that 'Greg is a swan and Mary moved to the office'.,1,'Greg is a swan and Mary moved to the office'. It is probably not the case that Julius is a rhino. We believe that Gertrude is a cat. There is little chance that John discarded the apple.,It is improbable that 'John discarded 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.25::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07500000000000002,0.44848969793958793,train,improbable,probable,It is improbable that 'John discarded the apple and Gertrude is a cat'.,It is probable that 'John discarded the apple and Gertrude is a cat'.,1,'John discarded the apple and Gertrude is a cat'. We believe that Bernhard is gray. It is highly unlikely that Mary went to the bedroom. It is unlikely that Brian is a frog.,Chances are slight that 'Brian 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.75::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.6457291458291659,train,chances are slight,highly likely,Chances are slight that 'Brian is a frog and Bernhard is gray'.,It is highly likely that 'Brian is a frog and Bernhard is gray'.,1,'Brian is a frog and Bernhard is gray'. It is likely that Mary went to the kitchen. There is almost no chance that Greg is a rhino. It is unlikely that Sandra dropped the milk.,There is almost no chance that either 'Mary went to the kitchen' 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.02::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.692,0.6815363072614523,train,probable,almost no chance,It is probable that either 'Mary went to the kitchen' or 'Greg is a rhino' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'Greg is a rhino' but not both.,0,Either 'Mary went to the kitchen' or 'Greg is a rhino' but not both. It is unlikely that Winona is a wolf. It is certain that Emily is a cat. It is likely that Lily is yellow.,It is probably not the case that 'Emily is a cat' 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.2::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.46289257851570315,train,certain,probably not,It is certain that 'Emily is a cat' or 'Winona is a wolf' or both.,It is probably not the case that 'Emily is a cat' or 'Winona is a wolf' or both.,0,'Emily is a cat' or 'Winona is a wolf' or both. It is highly unlikely that John went to the garden. It is impossible that Gertrude is a mouse. There is almost no chance that Sandra left the milk.,It is impossible 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 0.05::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.33846769353870776,train,impossible,certain,It is impossible that 'Gertrude is a mouse and John went to the garden'.,It is certain that 'Gertrude is a mouse and John went to the garden'.,1,'Gertrude is a mouse and John went to the garden'. It is unlikely that Brian is a rhino. It is probably the case that Fred dropped the milk. It is impossible that John moved to the office.,It is impossible that 'Fred 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.2::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.6197239447889578,train,impossible,almost certain,It is impossible that 'Fred dropped the milk and John moved to the office'.,It is almost certain that 'Fred dropped the milk and John moved to the office'.,1,'Fred dropped the milk and John moved to the office'. There is little chance that Jason is tired. It is probable that Brian is a swan. There is a very good chance that John picked up the apple.,It is highly unlikely that 'Jason 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.1::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.2816563312662532,train,highly unlikely,highly likely,It is highly unlikely that 'Jason is tired and Brian is a swan'.,It is highly likely that 'Jason is tired and Brian is a swan'.,1,'Jason is tired and Brian is a swan'. It is probably the case that Sandra left the apple. Chances are about even that Bernhard is a swan. It is almost certain that Brian is white.,Chances are slight that 'Brian is white' 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.5::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.985,0.7439487897579516,train,certain,chances are slight,It is certain that 'Brian is white' or 'Sandra left the apple' or both.,Chances are slight that 'Brian is white' or 'Sandra left the apple' or both.,0,'Brian is white' or 'Sandra left the apple' or both. Chances are slight that Bernhard is white. We doubt that Sumit is hungry. It is almost certain that Mary discarded the apple.,It is almost certain that 'Sumit is hungry' or 'Mary 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.2::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.44568913782756553,train,almost certain,unlikely,It is almost certain that 'Sumit is hungry' or 'Mary discarded the apple' or both.,It is unlikely that 'Sumit is hungry' or 'Mary discarded the apple' or both.,1,'Sumit is hungry' or 'Mary discarded the apple' or both. It is almost certain that Greg is green. There is little chance that Mary discarded the milk. It is probable that John put down the apple.,It is probably the case that either 'John put down 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.95::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.35087017403480697,train,probably,chances are slight,It is probably the case that either 'John put down the apple' or 'Mary discarded the milk' but not both.,Chances are slight that either 'John put down the apple' or 'Mary discarded the milk' but not both.,1,Either 'John put down the apple' or 'Mary discarded the milk' but not both. There is almost no chance that Julius is gray. It is improbable that John went to the bedroom. It is likely that Lily is a lion.,It is almost certain 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.02::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.34226845369073816,train,almost no chance,almost certain,There is almost no chance that 'Julius is gray and Lily is a lion'.,It is almost certain that 'Julius is gray and Lily is a lion'.,0,'Julius is gray and Lily is a lion'. It is certain that Daniel took the milk. We believe that Julius is yellow. It is highly likely that Mary went to the office.,We believe that 'Julius is yellow 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 1.0::factA. 0.75::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.75,0.7543508701740348,train,we believe,highly unlikely,We believe that 'Julius is yellow and Daniel took the milk'.,It is highly unlikely that 'Julius is yellow and Daniel took the milk'.,1,'Julius is yellow and Daniel took the milk'. There is a very good chance that Lily is gray. Chances are about even that Bernhard is a frog. There is a very good chance that John left the apple.,It is certain that 'Bernhard is a frog 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.8::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.4,0.5683136627325465,train,about even,certain,Chances are about even that 'Bernhard is a frog and John left the apple'.,It is certain that 'Bernhard is a frog and John left the apple'.,0,'Bernhard is a frog and John left the apple'. It is probably not the case that Bill left the milk. It is certain that Winona is a mouse. It is almost certain that Greg is a rhino.,It is highly unlikely that either 'Greg 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.25::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.05000000000000005,0.17863572714542908,train,highly unlikely,probably,It is highly unlikely that either 'Greg is a rhino' or 'Winona is a mouse' but not both.,It is probably the case that either 'Greg is a rhino' or 'Winona is a mouse' but not both.,1,Either 'Greg is a rhino' or 'Winona is a mouse' but not both. Chances are about even that Bernhard is a lion. Chances are slight that Jessica is a wolf. It is highly unlikely that John moved to the office.,It is highly unlikely that 'Jessica 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.1::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.28205641128225645,train,highly unlikely,almost certain,It is highly unlikely that 'Jessica is a wolf and Bernhard is a lion'.,It is almost certain that 'Jessica is a wolf and Bernhard is a lion'.,1,'Jessica is a wolf and Bernhard is a lion'. It is impossible that Mary went to the kitchen. Chances are slight that Jessica is a cat. Chances are slight that Daniel grabbed the apple.,It is highly likely that either 'Jessica is a cat' 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.0::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.10000000000000002,0.4110822164432887,train,little chance,highly likely,There is little chance that either 'Jessica is a cat' or 'Mary went to the kitchen' but not both.,It is highly likely that either 'Jessica is a cat' or 'Mary went to the kitchen' but not both.,0,Either 'Jessica is a cat' or 'Mary went to the kitchen' but not both. There is a very good chance that Jeff went to the garden. It is highly likely that Bill moved to the office. It is probably the case that John dropped the apple.,There is little chance that 'Jeff went 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.8::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9400000000000001,0.21484296859371874,train,almost certain,little chance,It is almost certain that 'Jeff went to the garden' or 'John dropped the apple' or both.,There is little chance that 'Jeff went to the garden' or 'John dropped the apple' or both.,0,'Jeff went to the garden' or 'John dropped the apple' or both. It is highly likely that Yann is tired. There is almost no chance that Greg is a frog. It is likely that John went to the garden.,There is a better than even chance that 'John went to the garden 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.02::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.63,0.7793558711742349,train,better than even,almost no chance,There is a better than even chance that 'John went to the garden and Yann is tired'.,There is almost no chance that 'John went to the garden and Yann is tired'.,1,'John went to the garden and Yann is tired'. It is almost certain that Bernhard is a rhino. It is impossible that Mary dropped the milk. It is highly unlikely that Brian is a lion.,There is a better than even 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.95::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.14982996599319864,train,impossible,better than even,It is impossible that 'Mary dropped the milk and Brian is a lion'.,There is a better than even chance that 'Mary dropped the milk and Brian is a lion'.,0,'Mary dropped the milk and Brian is a lion'. We doubt that John put down the milk. It is highly likely that Greg is a lion. There is a better than even chance that Lily is a rhino.,Chances are slight that 'Greg is a lion' 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.2::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.92,0.4492898579715943,train,highly likely,chances are slight,It is highly likely that 'Greg is a lion' or 'John put down the milk' or both.,Chances are slight that 'Greg is a lion' or 'John put down the milk' or both.,0,'Greg is a lion' or 'John put down the milk' or both. There is a better than even chance that Bernhard is green. It is certain that Brian is a rhino. There is little chance that Greg is a lion.,Chances are about even 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 0.6::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.5983196639327866,train,about even,certain,Chances are about even 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.,1,Either 'Brian is a rhino' or 'Bernhard is green' but not both. It is probably the case that Lily is a swan. Chances are about even that John went to the garden. There is a very good chance that Winona is a wolf.,It is impossible that either 'Winona is a wolf' 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.5::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.38,0.786757351470294,train,about even,impossible,Chances are about even that either 'Winona is a wolf' or 'Lily is a swan' but not both.,It is impossible that either 'Winona is a wolf' or 'Lily is a swan' but not both.,0,Either 'Winona is a wolf' or 'Lily is a swan' but not both. It is unlikely that Emily is a mouse. It is highly unlikely that Julius is a swan. There is a very good chance that John went to the office.,It is probably not the case 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.2::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.2966593318663733,train,probably not,probable,It is probably not the case that either 'Julius is a swan' or 'Emily is a mouse' but not both.,It is probable 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 Gertrude is a cat. It is certain that Sandra dropped the milk. We doubt that Greg is a rhino.,We doubt that 'Greg 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.5::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.2,0.04260852170434087,train,we doubt,probable,We doubt that 'Greg is a rhino and Sandra dropped the milk'.,It is probable that 'Greg is a rhino and Sandra dropped the milk'.,1,'Greg is a rhino and Sandra dropped the milk'. It is probably not the case that Lily is yellow. We doubt that Gertrude is a mouse. It is impossible that Bill went to the garden.,It is almost certain that 'Lily is yellow' 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.25::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.25,0.5239047809561912,train,probably not,almost certain,It is probably not the case that 'Lily is yellow' or 'Bill went to the garden' or both.,It is almost certain that 'Lily is yellow' or 'Bill went to the garden' or both.,0,'Lily is yellow' or 'Bill went to the garden' or both. We believe that Mary left the football. It is probably the case that Daniel put down the milk. We doubt that John dropped the apple.,It is almost certain that 'Mary left the football' or 'Daniel put down the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.925,0.16303260652130427,train,almost certain,improbable,It is almost certain that 'Mary left the football' or 'Daniel put down the milk' or both.,It is improbable that 'Mary left the football' or 'Daniel put down the milk' or both.,1,'Mary left the football' or 'Daniel put down the milk' or both. It is highly likely that Julius is a swan. Chances are about even that John took the apple. Chances are slight that Sandra got the milk.,Chances are about even that either 'John took 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.9::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.22984596919383876,train,about even,impossible,Chances are about even that either 'John took the apple' or 'Julius is a swan' but not both.,It is impossible that either 'John took the apple' or 'Julius is a swan' but not both.,1,Either 'John took the apple' or 'Julius is a swan' but not both. It is improbable that Brian is green. It is probably not the case that Greg is yellow. It is impossible that Bill got the milk there.,It is probable that 'Bill got the milk there 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.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.14662932586517302,train,impossible,probable,It is impossible that 'Bill got the milk there and Brian is green'.,It is probable that 'Bill got the milk there and Brian is green'.,0,'Bill got the milk there and Brian is green'. We believe that Mary moved to the garden. It is highly likely that Brian is green. It is improbable that Daniel took the milk.,Chances are slight that 'Brian is green 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.75::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.3200640128025605,train,chances are slight,better than even,Chances are slight that 'Brian is green and Daniel took the milk'.,There is a better than even chance that 'Brian is green and Daniel took the milk'.,1,'Brian is green and Daniel took the milk'. It is impossible that Brian is yellow. It is highly unlikely that Sandra left the milk. It is almost certain that Mary went to the bedroom.,It is impossible 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 0.0::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.2710542108421684,train,impossible,very good chance,It is impossible 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 certain that Sandra got the milk. There is a very good chance that Greg is gray. It is likely that Lily is a frog.,There is a very good chance that 'Greg is gray and Sandra got the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.8,0.6001200240048009,train,very good chance,we doubt,There is a very good chance that 'Greg is gray and Sandra got the milk'.,We doubt that 'Greg is gray and Sandra got the milk'.,1,'Greg is gray and Sandra got the milk'. It is highly unlikely that Julius is a swan. It is probably not the case that Brian is green. There is almost no chance that Bernhard is green.,It is probably not the case that either 'Julius 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.05::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.27499999999999997,0.38007601520304063,train,probably not,probable,It is probably not the case that either 'Julius is a swan' or 'Brian is green' but not both.,It is probable that either 'Julius is a swan' or 'Brian is green' but not both.,1,Either 'Julius is a swan' or 'Brian is green' but not both. It is improbable that Daniel got the football. It is certain that Mary went to the garden. It is certain that Bernhard is a swan.,It is certain that 'Bernhard 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.1::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.7119423884776955,train,certain,improbable,It is certain that 'Bernhard is a swan' or 'Mary went to the garden' or both.,It is improbable that 'Bernhard is a swan' or 'Mary went to the garden' or both.,1,'Bernhard is a swan' or 'Mary went to the garden' or both. There is little chance that Sandra got the milk. We believe that John put down the apple. There is a better than even chance that Greg is a frog.,It is probably the case 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.1::factA. 0.75::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.00640128025605121,train,probably,probably not,It is probably the case that either 'John put down the apple' or 'Sandra got the milk' but not both.,It is probably not the case that either 'John put down the apple' or 'Sandra got the milk' but not both.,1,Either 'John put down the apple' or 'Sandra got the milk' but not both. It is highly unlikely that Bernhard is a frog. We doubt that Jeff moved to the garden. There is a very good chance that John put down the milk.,There is a very good chance that 'John put down the milk' 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.05::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8400000000000001,0.39987997599519903,train,very good chance,impossible,There is a very good chance that 'John put down the milk' or 'Jeff moved to the garden' or both.,It is impossible that 'John put down the milk' or 'Jeff moved to the garden' or both.,1,'John put down the milk' or 'Jeff moved to the garden' or both. It is probably the case that Julius is a swan. It is unlikely that Fred left the football. Chances are about even that Lily is green.,There is a better than even chance 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.7::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.32786557311462294,train,better than even,almost no chance,There is a better than even chance that either 'Fred left the football' or 'Julius is a swan' but not both.,There is almost no chance that either 'Fred left the football' or 'Julius is a swan' but not both.,1,Either 'Fred left the football' or 'Julius is a swan' but not both. There is almost no chance that Antoine is bored. Chances are about even that John moved to the office. We believe that Bernhard is green.,It is improbable that 'Bernhard is green' 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.02::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.875,0.33986797359471893,train,highly likely,improbable,It is highly likely that 'Bernhard is green' or 'John moved to the office' or both.,It is improbable that 'Bernhard is green' or 'John moved to the office' or both.,0,'Bernhard is green' or 'John moved to the office' or both. It is improbable that Greg is a frog. It is probably the case that Jason is thirsty. It is highly likely that Julius is white.,It is unlikely that 'Julius 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.1::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.08401680336067213,train,highly likely,unlikely,It is highly likely that 'Julius is white' or 'Greg is a frog' or both.,It is unlikely that 'Julius is white' or 'Greg is a frog' or both.,0,'Julius is white' or 'Greg is a frog' or both. There is a better than even chance that Antoine is hungry. It is probable that John got the milk. Chances are slight that Julius is gray.,It is highly unlikely that 'Antoine is hungry 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.7573514702940588,train,highly unlikely,probable,It is highly unlikely that 'Antoine is hungry and Julius is gray'.,It is probable that 'Antoine is hungry and Julius is gray'.,1,'Antoine is hungry and Julius is gray'. It is impossible that Greg is gray. There is a better than even chance that Brian is a frog. It is highly unlikely that John moved to the office.,It is probable that 'Greg is gray 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.0::factA. 0.6::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.19343868773754752,train,impossible,probable,It is impossible that 'Greg is gray and John moved to the office'.,It is probable that 'Greg is gray and John moved to the office'.,0,'Greg is gray and John moved to the office'. There is a better than even chance that Sandra left the football. It is almost certain that Daniel got the apple. Chances are slight that Greg is a frog.,It is certain that 'Sandra left the football' 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.6::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.98,0.6859371874374875,train,certain,we doubt,It is certain that 'Sandra left the football' or 'Daniel got the apple' or both.,We doubt that 'Sandra left the football' or 'Daniel got the apple' or both.,1,'Sandra left the football' or 'Daniel got the apple' or both. It is probably the case that John moved to the office. It is impossible that Greg is a rhino. It is certain that Sandra got the milk.,It is certain that 'Sandra got 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.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.28585717143428685,train,certain,we doubt,It is certain that 'Sandra got the milk' or 'Greg is a rhino' or both.,We doubt that 'Sandra got the milk' or 'Greg is a rhino' or both.,1,'Sandra got the milk' or 'Greg is a rhino' or both. There is a better than even chance that Brian is a lion. We doubt that Sandra got the milk. There is almost no chance that John dropped the apple.,There is a better than even chance that 'John dropped 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 0.6::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.608,0.47029405881176234,train,better than even,little chance,There is a better than even chance that 'John dropped the apple' or 'Brian is a lion' or both.,There is little chance that 'John dropped the apple' or 'Brian is a lion' or both.,1,'John dropped the apple' or 'Brian is a lion' or both. There is almost no chance that Julius is a lion. There is little chance that Brian is a frog. It is probably not the case that Lily is a rhino.,It is probably not the case 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.02::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.24184836967393478,train,probably not,we believe,It is probably not the case that either 'Lily is a rhino' or 'Brian is a frog' but not both.,We believe 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. There is little chance that Mary left the football. It is probably the case that Julius is a frog. It is almost certain that Bernhard is yellow.,It is likely that either 'Julius 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 0.1::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.7699539907981596,train,likely,almost no chance,It is likely that either 'Julius is a frog' or 'Mary left the football' but not both.,There is almost no chance that either 'Julius is a frog' or 'Mary left the football' but not both.,1,Either 'Julius is a frog' or 'Mary left the football' but not both. It is likely that John took the apple. It is probably not the case that Mary moved to the garden. It is probably the case that Julius is yellow.,We doubt that 'Julius 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.25::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.4250850170034007,train,we doubt,highly likely,We doubt that 'Julius is yellow and Mary moved to the garden'.,It is highly likely that 'Julius is yellow and Mary moved to the garden'.,1,'Julius is yellow and Mary moved to the garden'. There is almost no chance that Fred is in the cinema. Chances are slight that Sandra got the football. Chances are about even that Greg is a swan.,It is impossible that either 'Fred is in the cinema' 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. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.0618123624724945,train,about even,impossible,Chances are about even that either 'Fred is in the cinema' or 'Greg is a swan' but not both.,It is impossible that either 'Fred is in the cinema' or 'Greg is a swan' but not both.,0,Either 'Fred is in the cinema' or 'Greg is a swan' but not both. Chances are about even that John went to the garden. Chances are about even that Julius is a frog. There is a very good chance that Lily is gray.,It is almost certain that either 'Lily is gray' 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.5::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.23704740948189637,train,about even,almost certain,Chances are about even that either 'Lily is gray' or 'Julius is a frog' but not both.,It is almost certain that either 'Lily is gray' or 'Julius is a frog' but not both.,0,Either 'Lily is gray' or 'Julius is a frog' but not both. It is probably the case that Brian is white. It is highly unlikely that Lily is a lion. It is probable that Mary left the apple.,It is highly unlikely that 'Mary left 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.035,0.2474494898979796,train,highly unlikely,we believe,It is highly unlikely that 'Mary left the apple and Lily is a lion'.,We believe that 'Mary left the apple and Lily is a lion'.,1,'Mary left the apple and Lily is a lion'. It is highly likely that Fred left the football. It is certain that Julius is gray. Chances are slight that John went to the garden.,It is certain that 'Julius is gray' 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.9::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.33946789357871576,train,certain,improbable,It is certain that 'Julius is gray' or 'Fred left the football' or both.,It is improbable that 'Julius is gray' or 'Fred left the football' or both.,1,'Julius is gray' or 'Fred left the football' or both. It is unlikely that Fred dropped the milk. There is almost no chance that John went to the hallway. Chances are about even that Julius is a rhino.,There is a better than even chance that 'Fred dropped the milk' 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.2::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.6,0.16903380676135227,train,better than even,highly unlikely,There is a better than even chance that 'Fred dropped the milk' or 'Julius is a rhino' or both.,It is highly unlikely that 'Fred dropped the milk' or 'Julius is a rhino' or both.,1,'Fred dropped the milk' or 'Julius is a rhino' or both. There is a very good chance that John went to the garden. It is probable that Lily is yellow. There is almost no chance that Julius is a rhino.,There is a better than even chance that 'Lily 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.8::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.0690138027605521,train,better than even,highly unlikely,There is a better than even chance that 'Lily is yellow and John went to the garden'.,It is highly unlikely that 'Lily is yellow and John went to the garden'.,1,'Lily is yellow and John went to the garden'. There is almost no chance that Julius is a swan. It is highly likely that Daniel put down the milk. It is probable that Mary took the football.,It is likely that either 'Mary took 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.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.3302660532106421,train,likely,little chance,It is likely that either 'Mary took the football' or 'Julius is a swan' but not both.,There is little chance that either 'Mary took the football' or 'Julius is a swan' but not both.,1,Either 'Mary took the football' or 'Julius is a swan' but not both. There is a very good chance that Bernhard is green. We believe that Brian is a swan. It is probably not the case that Emily is a wolf.,There is almost no chance that 'Brian 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.8::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9500000000000001,0.7983596719343868,train,almost certain,almost no chance,It is almost certain that 'Brian is a swan' or 'Bernhard is green' or both.,There is almost no chance that 'Brian is a swan' or 'Bernhard is green' or both.,0,'Brian is a swan' or 'Bernhard is green' or both. Chances are about even that Greg is a frog. It is unlikely that Bill went to the garden. There is almost no chance that Jeff put down the milk.,Chances are about even that either 'Greg is a frog' or 'Jeff 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.5::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.7871574314862972,train,about even,impossible,Chances are about even that either 'Greg is a frog' or 'Jeff put down the milk' but not both.,It is impossible that either 'Greg is a frog' or 'Jeff put down the milk' but not both.,1,Either 'Greg is a frog' or 'Jeff put down the milk' but not both. It is probable that Mary dropped the milk. It is probably not the case that Bernhard is a lion. It is almost certain that Jason is tired.,It is probably not the case that 'Bernhard 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.7::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.2375,0.0652130426085217,train,probably not,highly likely,It is probably not the case that 'Bernhard is a lion and Jason is tired'.,It is highly likely that 'Bernhard is a lion and Jason is tired'.,1,'Bernhard is a lion and Jason is tired'. It is certain that John left the football. It is highly unlikely that Julius is white. It is almost certain that Greg is gray.,We doubt that either 'John left 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 1.0::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.95,0.3158631726345269,train,almost certain,we doubt,It is almost certain that either 'John left the football' or 'Julius is white' but not both.,We doubt that either 'John left the football' or 'Julius is white' but not both.,0,Either 'John left the football' or 'Julius is white' but not both. Chances are slight that Greg is a swan. It is improbable that Lily is a frog. There is little chance that Sumit is thirsty.,It is certain 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.7451490298059612,train,unlikely,certain,It is unlikely that either 'Sumit is thirsty' or 'Greg is a swan' but not both.,It is certain 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 a very good chance that John put down the milk. It is highly unlikely that Lily is green. It is impossible that Mary went to the office.,It is certain that 'Lily 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.8::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.5003000600120024,train,impossible,certain,It is impossible that 'Lily is green and Mary went to the office'.,It is certain that 'Lily is green and Mary went to the office'.,0,'Lily is green and Mary went to the office'. It is probably the case that Brian is green. It is unlikely that Bernhard is a rhino. We believe that Jessica is a mouse.,It is highly unlikely 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.7::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.3614722944588918,train,almost certain,highly unlikely,It is almost certain that 'Jessica is a mouse' or 'Brian is green' or both.,It is highly unlikely that 'Jessica is a mouse' or 'Brian is green' or both.,0,'Jessica is a mouse' or 'Brian is green' or both. It is likely that Greg is a swan. It is improbable that Winona is a sheep. It is almost certain that John went to the garden.,It is highly unlikely that 'John went 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.7::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.5587117423484697,train,likely,highly unlikely,It is likely that 'John went to the garden and Greg is a swan'.,It is highly unlikely that 'John went to the garden and Greg is a swan'.,0,'John went to the garden and Greg is a swan'. It is impossible that Lily is gray. It is unlikely that Mary picked up the apple. It is impossible that Sandra dropped the milk.,It is impossible that 'Lily is gray' 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.0::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.0,0.03920784156831366,train,impossible,certain,It is impossible that 'Lily is gray' or 'Sandra dropped the milk' or both.,It is certain that 'Lily is gray' or 'Sandra dropped the milk' or both.,1,'Lily is gray' or 'Sandra dropped the milk' or both. It is improbable that John left the apple. It is probably not the case that Julius is a lion. It is almost certain that Jessica is a cat.,There is little chance that 'Jessica is a cat 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.1::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.6049209841968394,train,little chance,likely,There is little chance that 'Jessica is a cat and John left the apple'.,It is likely that 'Jessica is a cat and John left the apple'.,1,'Jessica is a cat and John left the apple'. We believe that John left the apple. It is probably the case that Mary put down the milk. It is impossible that Julius is white.,It is likely that 'Mary put down the milk' or 'Julius is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.22284456891378276,train,likely,impossible,It is likely that 'Mary put down the milk' or 'Julius is white' or both.,It is impossible that 'Mary put down the milk' or 'Julius is white' or both.,1,'Mary put down the milk' or 'Julius is white' or both. It is probably not the case that Lily is a frog. It is highly unlikely that Mary dropped the milk. Chances are slight that Julius is a swan.,It is certain that either 'Mary dropped the milk' 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.05::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.27499999999999997,0.2590518103620724,train,probably not,certain,It is probably not the case that either 'Mary dropped the milk' or 'Lily is a frog' but not both.,It is certain that either 'Mary dropped the milk' or 'Lily is a frog' but not both.,0,Either 'Mary dropped the milk' or 'Lily is a frog' but not both. It is probably not the case that Mary took the milk. It is certain that Julius is a frog. It is certain that Jessica is a wolf.,It is certain that 'Mary took the milk' or 'Jessica 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. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.17423484696939387,train,certain,probably not,It is certain that 'Mary took the milk' or 'Jessica is a wolf' or both.,It is probably not the case that 'Mary took the milk' or 'Jessica is a wolf' or both.,1,'Mary took the milk' or 'Jessica is a wolf' or both. It is highly likely that John dropped the milk. It is certain that Jason is tired. It is probably not the case that Greg is white.,It is certain that 'Jason is tired' 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. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.44008801760352073,train,certain,unlikely,It is certain that 'Jason is tired' or 'Greg is white' or both.,It is unlikely that 'Jason is tired' or 'Greg is white' or both.,1,'Jason is tired' or 'Greg is white' or both. There is a better than even chance that John went to the garden. It is improbable that Greg is gray. It is probable that Lily is a swan.,It is probably not the case that 'Lily is a swan' 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.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.6363272654530906,train,highly likely,probably not,It is highly likely that 'Lily is a swan' or 'John went to the garden' or both.,It is probably not the case that 'Lily is a swan' or 'John went to the garden' or both.,0,'Lily is a swan' or 'John went to the garden' or both. Chances are about even that Daniel got the football. It is unlikely that Jessica is a sheep. There is a better than even chance that Bernhard is a frog.,It is impossible that either 'Jessica is a sheep' 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.5::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5599999999999999,0.05441088217643529,train,better than even,impossible,There is a better than even chance that either 'Jessica is a sheep' or 'Bernhard is a frog' but not both.,It is impossible that either 'Jessica is a sheep' or 'Bernhard is a frog' but not both.,0,Either 'Jessica is a sheep' or 'Bernhard is a frog' but not both. There is almost no chance that John dropped the apple. Chances are slight that Julius is a swan. There is a better than even chance that Fred went to the garden.,It is certain that 'Fred went to the garden 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.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.4566913382676535,train,highly unlikely,certain,It is highly unlikely that 'Fred went to the garden and Julius is a swan'.,It is certain that 'Fred went to the garden and Julius is a swan'.,0,'Fred went to the garden and Julius is a swan'. It is probably not the case that Mary got the milk. It is certain that Bernhard is a frog. It is probably the case that Emily is a wolf.,It is unlikely 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.25::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.3492698539707942,train,certain,unlikely,It is certain that 'Mary got the milk' or 'Bernhard is a frog' or both.,It is unlikely that 'Mary got the milk' or 'Bernhard is a frog' or both.,0,'Mary got the milk' or 'Bernhard is a frog' or both. It is certain that John moved to the garden. It is probably not the case that Mary got the football. It is probably the case that Winona is a wolf.,It is unlikely that either 'Mary got the football' 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 1.0::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.75,0.20144028805761152,train,we believe,unlikely,We believe that either 'Mary got the football' or 'John moved to the garden' but not both.,It is unlikely that either 'Mary got the football' or 'John moved to the garden' but not both.,0,Either 'Mary got the football' or 'John moved to the garden' but not both. Chances are slight that Bernhard is white. There is almost no chance that Brian is green. There is a better than even chance that Jeff went to the hallway.,There is little chance that either 'Bernhard 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.1::factA. 0.02::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.58,0.46329265853170637,train,better than even,little chance,There is a better than even chance that either 'Bernhard is white' or 'Jeff went to the hallway' but not both.,There is little chance that either 'Bernhard is white' or 'Jeff went to the hallway' but not both.,0,Either 'Bernhard is white' or 'Jeff went to the hallway' but not both. It is probable that Mary is in the hallway. It is probably not the case that Lily is gray. There is little chance that Sandra got the milk.,We believe that 'Lily is gray' or 'Mary is in 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.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.6225245049009802,train,we believe,we doubt,We believe that 'Lily is gray' or 'Mary is in the hallway' or both.,We doubt that 'Lily is gray' or 'Mary is in the hallway' or both.,1,'Lily is gray' or 'Mary is in the hallway' or both. It is unlikely that Julius is a swan. There is almost no chance that John moved to the garden. It is improbable that Bernhard is yellow.,It is probably not the case that either 'Julius 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.2::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.6501300260052011,train,probably not,likely,It is probably not the case that either 'Julius is a swan' or 'Bernhard is yellow' but not both.,It is likely that either 'Julius is a swan' or 'Bernhard is yellow' but not both.,1,Either 'Julius is a swan' or 'Bernhard is yellow' but not both. It is almost certain that Sandra left the football. There is a very good chance that Lily is a frog. It is probable that Bill went to the garden.,It is probably not the case that either 'Sandra left the football' 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.8::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32000000000000006,0.34966993398679735,train,probably not,certain,It is probably not the case that either 'Sandra left the football' or 'Bill went to the garden' but not both.,It is certain that either 'Sandra left the football' or 'Bill went to the garden' but not both.,1,Either 'Sandra left the football' or 'Bill went to the garden' but not both. There is a very good chance that Sandra got the football. It is almost certain that Julius is a swan. It is probably the case that Sumit is thirsty.,We believe that 'Julius 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.8::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.76,0.5533106621324265,train,we believe,probably not,We believe that 'Julius is a swan and Sandra got the football'.,It is probably not the case that 'Julius is a swan and Sandra got the football'.,1,'Julius is a swan and Sandra got the football'. It is certain that Julius is green. It is highly unlikely that Brian is white. It is probable that John took the milk.,We doubt that 'Julius is green 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 1.0::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.3188637727545509,train,probable,we doubt,It is probable that 'Julius is green and John took the milk'.,We doubt that 'Julius is green and John took the milk'.,0,'Julius is green and John took the milk'. There is little chance that Jeff put down the milk. It is impossible that Antoine is hungry. It is improbable that Julius is gray.,We doubt that 'Julius is gray' or 'Jeff put down the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.19000000000000006,0.46929385877175434,train,we doubt,highly likely,We doubt that 'Julius is gray' or 'Jeff put down the milk' or both.,It is highly likely that 'Julius is gray' or 'Jeff put down the milk' or both.,1,'Julius is gray' or 'Jeff put down the milk' or both. There is a better than even chance that Bernhard is a swan. There is little chance that John went to the garden. We believe that Gertrude is a cat.,We believe 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.6::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.7185437087417483,train,we believe,impossible,We believe that 'John went to the garden' or 'Gertrude is a cat' or both.,It is impossible that 'John went to the garden' or 'Gertrude is a cat' or both.,1,'John went to the garden' or 'Gertrude is a cat' or both. There is a better than even chance that Mary took the football. There is almost no chance that Julius is white. It is improbable that Brian is green.,It is impossible that 'Julius is white' 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.6::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.608,0.638127625525105,train,better than even,impossible,There is a better than even chance that 'Julius is white' or 'Mary took the football' or both.,It is impossible that 'Julius is white' or 'Mary took the football' or both.,0,'Julius is white' or 'Mary took the football' or both. It is highly unlikely that John is in the garden. Chances are slight that Julius is a frog. It is almost certain that Greg is a rhino.,It is likely that 'Greg 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.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.09500000000000001,0.5697139427885577,train,little chance,likely,There is little chance that 'Greg is a rhino and Julius is a frog'.,It is likely that 'Greg is a rhino and Julius is a frog'.,0,'Greg is a rhino and Julius is a frog'. We believe that Brian is yellow. It is improbable that Sumit is thirsty. It is unlikely that Julius is a lion.,It is likely that either 'Sumit is thirsty' or 'Brian is yellow' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.4062812562512503,train,likely,unlikely,It is likely that either 'Sumit is thirsty' or 'Brian is yellow' but not both.,It is unlikely that either 'Sumit is thirsty' or 'Brian is yellow' but not both.,1,Either 'Sumit is thirsty' or 'Brian is yellow' but not both. It is probable that Greg is a lion. We doubt that Bernhard is a rhino. It is highly unlikely that Emily is a sheep.,It is certain that 'Greg is a lion 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.2::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.14602920584116824,train,highly unlikely,certain,It is highly unlikely that 'Greg is a lion and Emily is a sheep'.,It is certain that 'Greg is a lion and Emily is a sheep'.,0,'Greg is a lion and Emily is a sheep'. It is highly unlikely that Lily is green. There is almost no chance that John moved to the garden. It is probably not the case that Sandra dropped the milk.,It is probably not the case that either 'Sandra 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.05::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.47789557911582314,train,probably not,we believe,It is probably not the case that either 'Sandra dropped the milk' or 'John moved to the garden' but not both.,We believe that either 'Sandra dropped the milk' or 'John moved to the garden' but not both.,1,Either 'Sandra dropped the milk' or 'John moved to the garden' but not both. It is probably not the case that Jessica is a cat. It is probably the case that Gertrude is a sheep. It is certain that John went to the office.,It is improbable that 'Gertrude 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.25::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.4746949389877976,train,probable,improbable,It is probable that 'Gertrude is a sheep and John went to the office'.,It is improbable that 'Gertrude is a sheep and John went to the office'.,0,'Gertrude is a sheep and John went to the office'. It is impossible that Brian is a frog. It is almost certain that Daniel dropped the milk. We doubt that Bernhard is white.,It is certain that 'Daniel 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.0::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.31066213242648527,train,unlikely,certain,It is unlikely that 'Daniel dropped the milk and Bernhard is white'.,It is certain that 'Daniel dropped the milk and Bernhard is white'.,0,'Daniel dropped the milk and Bernhard is white'. It is highly unlikely that Julius is a frog. It is unlikely that Daniel left the football. It is probable that Mary grabbed the milk.,It is highly unlikely that 'Mary 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.05::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.7861572314462892,train,highly unlikely,we believe,It is highly unlikely that 'Mary grabbed the milk and Julius is a frog'.,We believe that 'Mary grabbed the milk and Julius is a frog'.,1,'Mary grabbed the milk and Julius is a frog'. Chances are slight that Greg is yellow. There is a very good chance that Winona is a mouse. There is a better than even chance that John took the football.,It is impossible that either 'Winona 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.1::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.44,0.5199039807961592,train,about even,impossible,Chances are about even that either 'Winona is a mouse' or 'John took the football' but not both.,It is impossible that either 'Winona is a mouse' or 'John took the football' but not both.,0,Either 'Winona is a mouse' or 'John took the football' but not both. It is impossible that Jeff discarded the milk. There is a very good chance that Greg is a swan. It is unlikely that Lily is white.,It is certain that 'Greg 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.0::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.16000000000000003,0.40048009601920387,train,unlikely,certain,It is unlikely that 'Greg is a swan and Lily is white'.,It is certain that 'Greg is a swan and Lily is white'.,0,'Greg is a swan and Lily is white'. It is likely that John went to the kitchen. It is improbable that Fred moved to the office. There is a very good chance that Daniel left the apple.,Chances are about even that either 'John went to the kitchen' 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.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.38,0.6951390278055611,train,about even,certain,Chances are about even that either 'John went to the kitchen' or 'Daniel left the apple' but not both.,It is certain that either 'John went to the kitchen' or 'Daniel left the apple' but not both.,1,Either 'John went to the kitchen' or 'Daniel left the apple' but not both. There is a better than even chance that Jessica is a cat. It is probably not the case that Julius is a swan. It is highly unlikely that Greg is a lion.,There is almost no chance that either 'Greg is a lion' 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.6::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.59,0.7539507901580316,train,better than even,almost no chance,There is a better than even chance that either 'Greg is a lion' or 'Jessica is a cat' but not both.,There is almost no chance that either 'Greg is a lion' or 'Jessica is a cat' but not both.,0,Either 'Greg is a lion' or 'Jessica is a cat' but not both. It is likely that Jeff went to the garden. It is certain that John discarded the apple. It is almost certain that Julius is a lion.,It is probable that 'Julius is a lion 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. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.6615323064612922,train,probable,we doubt,It is probable that 'Julius is a lion and Jeff went to the garden'.,We doubt that 'Julius is a lion and Jeff went to the garden'.,1,'Julius is a lion and Jeff went to the garden'. Chances are about even that John put down the apple. We believe that Greg is white. It is highly likely that Sandra got the football.,There is almost no chance that 'John put down 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.5::factA. 0.75::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9500000000000001,0.7569513902780556,train,almost certain,almost no chance,It is almost certain that 'John put down the apple' or 'Sandra got the football' or both.,There is almost no chance that 'John put down the apple' or 'Sandra got the football' or both.,0,'John put down the apple' or 'Sandra got the football' or both. It is highly likely that Bernhard is a swan. There is almost no chance that Julius is white. It is unlikely that Greg is a rhino.,It is unlikely 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.9::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.18000000000000002,0.353870774154831,train,unlikely,certain,It is unlikely that 'Bernhard is a swan and Greg is a rhino'.,It is certain that 'Bernhard is a swan and Greg is a rhino'.,1,'Bernhard is a swan and Greg is a rhino'. It is probably not the case that Mary went to the hallway. It is impossible that Greg is white. There is little chance that John left the football.,It is certain that 'Greg is white 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.25::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.25545109021804363,train,impossible,certain,It is impossible that 'Greg is white and John left the football'.,It is certain that 'Greg is white and John left the football'.,0,'Greg is white and John left the football'. Chances are slight that Lily is green. There is a better than even chance that Brian is green. It is certain that Bernhard is a rhino.,It is highly likely that 'Lily is green 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.6::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.06,0.3660732146429286,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is green and Brian is green'.,It is highly likely that 'Lily is green and Brian is green'.,0,'Lily is green and Brian is green'. There is little chance that Mary grabbed the milk. It is impossible that Julius is white. It is unlikely that Lily is green.,It is impossible that 'Lily is green 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.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.33426685337067413,train,impossible,probable,It is impossible that 'Lily is green and Julius is white'.,It is probable that 'Lily is green and Julius is white'.,1,'Lily is green and Julius is white'. There is little chance that Julius is a frog. It is probably the case that Gertrude is a sheep. It is improbable that Lily is a lion.,It is highly unlikely that 'Gertrude is a sheep 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.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.02440488097619524,train,highly unlikely,almost certain,It is highly unlikely that 'Gertrude is a sheep and Julius is a frog'.,It is almost certain that 'Gertrude is a sheep and Julius is a frog'.,1,'Gertrude is a sheep and Julius is a frog'. It is improbable that Jeff left the apple. It is certain that Julius is gray. It is highly likely that Lily is a swan.,It is certain that 'Julius 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.1::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.6163232646529306,train,certain,unlikely,It is certain that 'Julius is gray' or 'Jeff left the apple' or both.,It is unlikely that 'Julius is gray' or 'Jeff left the apple' or both.,1,'Julius is gray' or 'Jeff left the apple' or both. We doubt that Greg is white. There is almost no chance that Julius is gray. There is a better than even chance that Lily is a swan.,It is improbable 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.02::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.608,0.7209441888377676,train,better than even,improbable,There is a better than even chance that 'Lily is a swan' or 'Julius is gray' or both.,It is improbable that 'Lily is a swan' or 'Julius is gray' or both.,0,'Lily is a swan' or 'Julius is gray' or both. It is unlikely that John left the apple. There is a better than even chance that Greg is yellow. It is probably not the case that Lily is white.,There is a very good chance that either 'John left 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.2::factA. 0.6::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.35000000000000003,0.19583916783356672,train,probably not,very good chance,It is probably not the case that either 'John left the apple' or 'Lily is white' but not both.,There is a very good chance that either 'John left the apple' or 'Lily is white' but not both.,0,Either 'John left the apple' or 'Lily is white' but not both. It is probably not the case that Lily is a rhino. It is probably not the case that Mary dropped the milk. There is almost no chance that Daniel grabbed the milk.,It is almost certain that 'Mary dropped 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 0.25::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4375,0.6637327465493099,train,about even,almost certain,Chances are about even that 'Mary dropped the milk' or 'Lily is a rhino' or both.,It is almost certain that 'Mary dropped the milk' or 'Lily is a rhino' or both.,0,'Mary dropped the milk' or 'Lily is a rhino' or both. It is highly unlikely that Sandra took the milk. Chances are slight that Daniel grabbed the apple. There is little chance that John left the football.,It is unlikely that either 'Daniel grabbed the apple' 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.05::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.34306861372274455,train,unlikely,certain,It is unlikely that either 'Daniel grabbed the apple' or 'John left the football' but not both.,It is certain that either 'Daniel grabbed the apple' or 'John left the football' but not both.,1,Either 'Daniel grabbed the apple' or 'John left the football' but not both. It is impossible that Daniel dropped the apple. It is probably not the case that Bernhard is a swan. It is impossible that Winona is a wolf.,It is highly likely that either 'Daniel dropped the apple' 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.0::factA. 0.25::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.0,0.3110622124424885,train,impossible,highly likely,It is impossible that either 'Daniel dropped the apple' or 'Winona is a wolf' but not both.,It is highly likely that either 'Daniel dropped the apple' or 'Winona is a wolf' but not both.,0,Either 'Daniel dropped the apple' or 'Winona is a wolf' but not both. It is improbable that Bernhard is a swan. Chances are slight that John discarded the milk. There is little chance that Brian is green.,It is unlikely that 'Bernhard 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.19000000000000006,0.7783556711342269,train,unlikely,almost certain,It is unlikely that 'Bernhard is a swan' or 'John discarded the milk' or both.,It is almost certain that 'Bernhard is a swan' or 'John discarded the milk' or both.,1,'Bernhard is a swan' or 'John discarded the milk' or both. We believe that Jeff left the football. It is highly unlikely that Mary went to the garden. It is probably the case that John is in the garden.,It is impossible that 'Mary went to the garden' 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.05::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7625,0.0628125625125025,train,we believe,impossible,We believe that 'Mary went to the garden' or 'Jeff left the football' or both.,It is impossible that 'Mary went to the garden' or 'Jeff left the football' or both.,0,'Mary went to the garden' or 'Jeff left the football' or both. It is improbable that Mary discarded the milk. It is probably not the case that Julius is gray. We believe that Brian is white.,There is almost no chance that 'Mary discarded 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.1::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.6935387077415484,train,almost no chance,almost certain,There is almost no chance that 'Mary discarded the milk and Julius is gray'.,It is almost certain that 'Mary discarded the milk and Julius is gray'.,1,'Mary discarded the milk and Julius is gray'. It is likely that John went to the kitchen. It is impossible that Greg is white. It is improbable that Mary left the football.,Chances are slight 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.20744148829765954,train,probably,chances are slight,It is probably the case that 'Greg is white' or 'John went to the kitchen' or both.,Chances are slight that 'Greg is white' or 'John went to the kitchen' or both.,0,'Greg is white' or 'John went to the kitchen' or both. There is a better than even chance that Lily is yellow. It is probably not the case that Julius is gray. It is almost certain that Bernhard is a lion.,It is almost certain that 'Bernhard 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.6::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9625,0.4224844968993799,train,almost certain,about even,It is almost certain that 'Bernhard is a lion' or 'Julius is gray' or both.,Chances are about even that 'Bernhard is a lion' or 'Julius is gray' or both.,1,'Bernhard is a lion' or 'Julius is gray' or both. It is impossible that Mary got the apple. There is a very good chance that Brian is green. There is almost no chance that John left the football.,There is a very good chance that 'Mary got 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.0::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.02,0.28945789157831564,train,almost no chance,very good chance,There is almost no chance that 'Mary got the apple' or 'John left the football' or both.,There is a very good chance that 'Mary got the apple' or 'John left the football' or both.,0,'Mary got the apple' or 'John left the football' or both. It is improbable that Mary got the football. Chances are about even that Daniel left the apple. It is probably the case that Jeff went to the bedroom.,It is probably not the case that 'Daniel left 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.1::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8499999999999999,0.3482696539307862,train,very good chance,probably not,There is a very good chance that 'Daniel left the apple' or 'Jeff went to the bedroom' or both.,It is probably not the case that 'Daniel left the apple' or 'Jeff went to the bedroom' or both.,0,'Daniel left the apple' or 'Jeff went to the bedroom' or both. Chances are about even that John discarded the apple. It is probably not the case that Brian is white. There is a better than even chance that Julius is gray.,Chances are about even that either 'Brian 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.5::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.2960592118423685,train,about even,almost certain,Chances are about even that either 'Brian is white' or 'John discarded the apple' but not both.,It is almost certain that either 'Brian is white' or 'John discarded the apple' but not both.,1,Either 'Brian is white' or 'John discarded the apple' but not both. There is a very good chance that John went to the hallway. It is likely that Jeff left the apple. It is improbable that Brian is gray.,It is probable that either 'Brian is gray' or 'Jeff left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.6275255051010202,train,probable,we doubt,It is probable that either 'Brian is gray' or 'Jeff left the apple' but not both.,We doubt that either 'Brian is gray' or 'Jeff left the apple' but not both.,1,Either 'Brian is gray' or 'Jeff left the apple' but not both. It is highly likely that Mary went to the office. It is certain that Bernhard is a swan. Chances are slight that Julius is green.,There is almost no chance that 'Julius 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.41728345669133826,train,highly likely,almost no chance,It is highly likely that 'Julius is green' or 'Mary went to the office' or both.,There is almost no chance that 'Julius is green' or 'Mary went to the office' or both.,0,'Julius is green' or 'Mary went to the office' or both. There is almost no chance that Greg is a lion. It is likely that Lily is a frog. It is improbable that John dropped the apple.,It is impossible 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.02::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.6733346669333867,train,impossible,likely,It is impossible that 'Greg is a lion and John dropped the apple'.,It is likely that 'Greg is a lion and John dropped the apple'.,1,'Greg is a lion and John dropped the apple'. It is impossible that Julius is white. There is almost no chance that Mary dropped the apple. It is impossible that Lily is a swan.,It is probably the case that either 'Mary dropped 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.0::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.02,0.47349469893978796,train,almost no chance,probably,There is almost no chance that either 'Mary dropped the apple' or 'Lily is a swan' but not both.,It is probably the case that either 'Mary dropped the apple' or 'Lily is a swan' but not both.,0,Either 'Mary dropped the apple' or 'Lily is a swan' but not both. There is little chance that John moved to the office. It is certain that Sandra got the milk. There is little chance that Bernhard is gray.,It is improbable that 'Sandra got 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.17583516703340668,train,improbable,probable,It is improbable that 'Sandra got the milk and Bernhard is gray'.,It is probable that 'Sandra got the milk and Bernhard is gray'.,1,'Sandra got the milk and Bernhard is gray'. There is a very good chance that Greg is a swan. There is a very good chance that Bernhard is green. It is probably the case that Sandra left the apple.,There is a better than even chance that 'Greg is a swan 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.8::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5599999999999999,0.7633526705341068,train,better than even,almost no chance,There is a better than even chance that 'Greg is a swan and Sandra left the apple'.,There is almost no chance that 'Greg is a swan and Sandra left the apple'.,1,'Greg is a swan and Sandra left the apple'. It is highly likely that John took the football. It is impossible that Mary went to the kitchen. Chances are slight that Bernhard is green.,It is highly unlikely that either 'John took 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.9::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.13922784556911383,train,very good chance,highly unlikely,There is a very good chance that either 'John took the football' or 'Bernhard is green' but not both.,It is highly unlikely that either 'John took the football' or 'Bernhard is green' but not both.,0,Either 'John took the football' or 'Bernhard is green' but not both. It is unlikely that Bill went to the kitchen. There is little chance that John got the apple. It is impossible that Brian is white.,It is probably not the case that 'Bill went to the kitchen' 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.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.16743348669733946,train,probably not,probable,It is probably not the case that 'Bill went to the kitchen' or 'John got the apple' or both.,It is probable that 'Bill went to the kitchen' or 'John got the apple' or both.,1,'Bill went to the kitchen' or 'John got the apple' or both. We doubt that Sandra left the milk. It is probably not the case that Greg is a swan. There is almost no chance that Brian is a lion.,It is unlikely that 'Sandra left 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.2::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.21600000000000003,0.1322264452890578,train,unlikely,probable,It is unlikely that 'Sandra left the milk' or 'Brian is a lion' or both.,It is probable that 'Sandra left the milk' or 'Brian is a lion' or both.,1,'Sandra left the milk' or 'Brian is a lion' or both. It is highly unlikely that Bernhard is green. It is probably not the case that John went to the garden. It is impossible that Lily is a frog.,There is a very good chance that 'Lily is a frog 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.05::factA. 0.25::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.5123024604920984,train,impossible,very good chance,It is impossible that 'Lily is a frog and John went to the garden'.,There is a very good chance that 'Lily is a frog and John went to the garden'.,0,'Lily is a frog and John went to the garden'. There is little chance that Brian is yellow. We believe that Lily is green. It is probable that Julius is a swan.,It is probably the case 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.1::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.4832966593318664,train,probably,impossible,It is probably the case that either 'Brian is yellow' or 'Julius is a swan' but not both.,It is impossible that either 'Brian is yellow' or 'Julius is a swan' but not both.,1,Either 'Brian is yellow' or 'Julius is a swan' but not both. It is highly likely that Greg is yellow. It is almost certain that Jason is tired. It is probable that Sandra left the apple.,It is highly likely that 'Greg is yellow 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.9::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.855,0.6317263452690538,train,highly likely,highly unlikely,It is highly likely that 'Greg is yellow and Jason is tired'.,It is highly unlikely that 'Greg is yellow and Jason is tired'.,1,'Greg is yellow and Jason is tired'. Chances are about even that John dropped the milk. It is unlikely that Mary got the milk. It is certain that Brian is white.,There is almost no chance that 'Mary got the milk' 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.5::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6,0.4298859771954391,train,better than even,almost no chance,There is a better than even chance that 'Mary got the milk' or 'John dropped the milk' or both.,There is almost no chance that 'Mary got the milk' or 'John dropped the milk' or both.,0,'Mary got the milk' or 'John dropped the milk' or both. It is certain that Jeff put down the milk. Chances are about even that Lily is yellow. There is little chance that Mary left the football.,It is almost certain that 'Mary left the football 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 1.0::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.639127825565113,train,improbable,almost certain,It is improbable that 'Mary left the football and Jeff put down the milk'.,It is almost certain that 'Mary left the football and Jeff put down the milk'.,0,'Mary left the football and Jeff put down the milk'. It is probable that Daniel took the apple. It is highly unlikely that John moved to the garden. It is almost certain that Lily is a rhino.,We believe that either 'Lily is a rhino' 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.7::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.16023204640928185,train,probably not,we believe,It is probably not the case that either 'Lily is a rhino' or 'Daniel took the apple' but not both.,We believe that either 'Lily is a rhino' or 'Daniel took the apple' but not both.,0,Either 'Lily is a rhino' or 'Daniel took the apple' but not both. It is certain that Bernhard is a swan. It is almost certain that Julius is a lion. There is almost no chance that Mary went to the garden.,We believe that either 'Bernhard is a swan' 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.95::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.05000000000000005,0.30206041208241646,train,highly unlikely,we believe,It is highly unlikely that either 'Bernhard is a swan' or 'Julius is a lion' but not both.,We believe that either 'Bernhard is a swan' or 'Julius is a lion' but not both.,0,Either 'Bernhard is a swan' or 'Julius is a lion' but not both. It is almost certain that Sumit is tired. It is impossible that Greg is yellow. There is a very good chance that John moved to the office.,It is unlikely that 'John moved to the office' 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.95::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.040208041608321664,train,very good chance,unlikely,There is a very good chance that 'John moved to the office' or 'Greg is yellow' or both.,It is unlikely that 'John moved to the office' or 'Greg is yellow' or both.,0,'John moved to the office' or 'Greg is yellow' or both. There is little chance that Bernhard is yellow. It is certain that Julius is gray. There is little chance that John left the apple.,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.1::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.10000000000000002,0.1842368473694739,train,chances are slight,certain,Chances are slight 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 impossible that John put down the milk. It is probably not the case that Greg is white. It is likely that Mary is in the bathroom.,It is probably not the case that either 'Greg is white' 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.0::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.25,0.24324864972994598,train,probably not,we believe,It is probably not the case that either 'Greg is white' or 'John put down the milk' but not both.,We believe that either 'Greg is white' or 'John put down the milk' but not both.,1,Either 'Greg is white' or 'John put down the milk' but not both. It is probably the case that Brian is white. We believe that Jessica is a cat. There is little chance that Winona is a mouse.,It is almost certain that 'Brian 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.925,0.40408081616323266,train,almost certain,unlikely,It is almost certain that 'Brian is white' or 'Jessica is a cat' or both.,It is unlikely that 'Brian is white' or 'Jessica is a cat' or both.,1,'Brian is white' or 'Jessica is a cat' or both. It is almost certain that Lily is green. It is probably the case that Jeff left the football. There is a very good chance that Bill moved to the office.,It is impossible that either 'Jeff left 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.95::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.5693138627725545,train,about even,impossible,Chances are about even that either 'Jeff left the football' or 'Bill moved to the office' but not both.,It is impossible that either 'Jeff left the football' or 'Bill moved to the office' but not both.,0,Either 'Jeff left the football' or 'Bill moved to the office' but not both. Chances are about even that Jeff went to the bedroom. There is a very good chance that Sandra dropped the apple. It is probable that Mary moved to the garden.,It is highly likely that 'Jeff went to the bedroom' 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.5::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.5623124624924986,train,highly likely,almost no chance,It is highly likely that 'Jeff went to the bedroom' or 'Sandra dropped the apple' or both.,There is almost no chance that 'Jeff went to the bedroom' or 'Sandra dropped the apple' or both.,1,'Jeff went to the bedroom' or 'Sandra dropped the apple' or both. It is almost certain that John moved to the garden. It is probably the case that Greg is a swan. Chances are slight that Julius is gray.,It is probably not the case that 'Greg is a swan' 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.95::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.5903180636127225,train,certain,probably not,It is certain that 'Greg is a swan' or 'John moved to the garden' or both.,It is probably not the case that 'Greg is a swan' or 'John moved to the garden' or both.,0,'Greg is a swan' or 'John moved to the garden' or both. There is almost no chance that Daniel took the apple. There is almost no chance that Jeff put down the milk. Chances are about even that Mary moved to the garden.,Chances are about even that 'Mary moved to the garden' 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.02::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.51,0.4584916983396679,train,about even,almost certain,Chances are about even that 'Mary moved to the garden' or 'Daniel took the apple' or both.,It is almost certain that 'Mary moved to the garden' or 'Daniel took the apple' or both.,1,'Mary moved to the garden' or 'Daniel took the apple' or both. It is probably the case that Julius is a lion. There is a better than even chance that Sandra got the football. It is certain that Mary went to the garden.,There is a better than even chance that 'Sandra got the football 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.6::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.6,0.6177235447089418,train,better than even,almost no chance,There is a better than even chance that 'Sandra got the football and Mary went to the garden'.,There is almost no chance that 'Sandra got the football and Mary went to the garden'.,1,'Sandra got the football and Mary went to the garden'. It is unlikely that Emily is a mouse. There is a better than even chance that Bill left the football. There is a better than even chance that Julius is gray.,It is impossible 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.6::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5599999999999999,0.21104220844168833,train,better than even,impossible,There is a better than even chance that either 'Emily is a mouse' or 'Julius is gray' but not both.,It is impossible that either 'Emily is a mouse' or 'Julius is gray' but not both.,0,Either 'Emily is a mouse' or 'Julius is gray' but not both. It is improbable that Gertrude is a mouse. There is a better than even chance that Mary went to the kitchen. We believe that Fred put down the apple.,There is a better than even chance that 'Mary went to the kitchen' 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.6::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.16123224644928985,train,better than even,impossible,There is a better than even chance that 'Mary went to the kitchen' or 'Gertrude is a mouse' or both.,It is impossible that 'Mary went to the kitchen' or 'Gertrude is a mouse' or both.,1,'Mary went to the kitchen' or 'Gertrude is a mouse' or both. It is highly likely that Bernhard is a rhino. There is little chance that Julius is gray. We believe that Greg is gray.,It is probably not the case 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.9::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.3714742948589718,train,probably not,probable,It is probably not the case that either 'Bernhard is a rhino' or 'Greg is gray' but not both.,It is probable 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 almost certain that Julius is yellow. We believe that Bernhard is a frog. It is highly unlikely that Brian is green.,We believe that either 'Julius is yellow' 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.75::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.275,0.013202640528105622,train,probably not,we believe,It is probably not the case that either 'Julius is yellow' or 'Bernhard is a frog' but not both.,We believe that either 'Julius is yellow' or 'Bernhard is a frog' but not both.,0,Either 'Julius is yellow' or 'Bernhard is a frog' but not both. Chances are about even that Bernhard is a rhino. It is impossible that John took the apple. There is a better than even chance that Mary left the football.,It is probably the case that 'John took 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.5::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5033006601320265,train,impossible,probably,It is impossible that 'John took the apple and Bernhard is a rhino'.,It is probably the case that 'John took the apple and Bernhard is a rhino'.,0,'John took the apple and Bernhard is a rhino'. There is a very good chance that Bernhard is gray. It is probably the case that Gertrude is a mouse. There is a very good chance that Daniel grabbed the apple.,It is almost certain that 'Daniel grabbed 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.8::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9600000000000001,0.7297459491898379,train,almost certain,chances are slight,It is almost certain that 'Daniel grabbed the apple' or 'Bernhard is gray' or both.,Chances are slight that 'Daniel grabbed the apple' or 'Bernhard is gray' or both.,1,'Daniel grabbed the apple' or 'Bernhard is gray' or both. It is probably not the case that Mary went to the office. It is probably the case that Greg is a swan. We doubt that Bernhard is a frog.,It is probably the case that 'Greg 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.25::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.175,0.6905381076215243,train,we doubt,probably,We doubt that 'Greg is a swan and Mary went to the office'.,It is probably the case that 'Greg is a swan and Mary went to the office'.,0,'Greg is a swan and Mary went to the office'. We doubt that Lily is a frog. It is improbable that Mary moved to the office. It is probably the case that Winona is a sheep.,It is almost certain that either 'Lily is a frog' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.6147229445889177,train,probably not,almost certain,It is probably not the case that either 'Lily is a frog' or 'Mary moved to the office' but not both.,It is almost certain that either 'Lily is a frog' or 'Mary moved to the office' but not both.,0,Either 'Lily is a frog' or 'Mary moved to the office' but not both. There is a better than even chance that Lily is a frog. Chances are about even that Daniel dropped the milk. It is highly unlikely that Mary went to the kitchen.,There is almost no chance that 'Mary went to the kitchen 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.6::factA. 0.5::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.029999999999999995,0.08861772354470894,train,almost no chance,very good chance,There is almost no chance that 'Mary went to the kitchen and Lily is a frog'.,There is a very good chance that 'Mary went to the kitchen and Lily is a frog'.,1,'Mary went to the kitchen and Lily is a frog'. There is a better than even chance that Bernhard is gray. It is likely that Julius is a rhino. It is improbable that Lily is a lion.,It is highly likely that 'Julius 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.6::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.88,0.6175235047009402,train,highly likely,we doubt,It is highly likely that 'Julius is a rhino' or 'Bernhard is gray' or both.,We doubt that 'Julius is a rhino' or 'Bernhard is gray' or both.,1,'Julius is a rhino' or 'Bernhard is gray' or both. It is almost certain that Winona is a sheep. We doubt that John took the apple. It is probably not the case that Bernhard is a swan.,It is unlikely that 'Bernhard 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.95::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9625,0.07341468293658732,train,almost certain,unlikely,It is almost certain that 'Bernhard is a swan' or 'Winona is a sheep' or both.,It is unlikely that 'Bernhard is a swan' or 'Winona is a sheep' or both.,0,'Bernhard is a swan' or 'Winona is a sheep' or both. It is probably the case that John left the apple. It is impossible that Bernhard is gray. There is a very good chance that Daniel put down the milk.,There is almost no chance that either 'Daniel put down the milk' 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.0::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.38,0.7755551110222044,train,about even,almost no chance,Chances are about even that either 'Daniel put down the milk' or 'John left the apple' but not both.,There is almost no chance that either 'Daniel put down the milk' or 'John left the apple' but not both.,0,Either 'Daniel put down the milk' or 'John left the apple' but not both. It is certain that Brian is a swan. It is probable that Mary picked up the milk. We doubt that John went to the office.,It is probable that 'Brian is a swan 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 1.0::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.7715543108621724,train,probable,impossible,It is probable that 'Brian is a swan and Mary picked up the milk'.,It is impossible that 'Brian is a swan and Mary picked up the milk'.,1,'Brian is a swan and Mary picked up the milk'. There is a very good chance that Mary left the milk. It is unlikely that Lily is green. Chances are about even that Brian is a rhino.,It is highly unlikely 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.8::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.3120624124824965,train,about even,highly unlikely,Chances are about even that either 'Lily is green' or 'Brian is a rhino' but not both.,It is highly unlikely that either 'Lily is green' or 'Brian is a rhino' but not both.,0,Either 'Lily is green' or 'Brian is a rhino' but not both. It is almost certain that Sandra got the milk. It is highly likely that Jason is tired. It is impossible that Julius is gray.,It is probable that either 'Jason is tired' 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.9::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.14000000000000004,0.5313062612522504,train,chances are slight,probable,Chances are slight that either 'Jason is tired' or 'Sandra got the milk' but not both.,It is probable that either 'Jason is tired' or 'Sandra got the milk' but not both.,0,Either 'Jason is tired' or 'Sandra got the milk' but not both. It is highly unlikely that Julius is yellow. It is almost certain that Daniel dropped the apple. It is almost certain that Bernhard is gray.,It is almost certain that 'Daniel dropped 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.05::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0475,0.5601120224044809,train,highly unlikely,almost certain,It is highly unlikely that 'Daniel dropped the apple and Julius is yellow'.,It is almost certain that 'Daniel dropped the apple and Julius is yellow'.,0,'Daniel dropped the apple and Julius is yellow'. It is probably the case that Sandra took the milk. It is highly likely that Brian is a swan. It is likely that John went to the hallway.,It is likely that either 'Brian is a swan' 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.9::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.4334866973394679,train,probably not,likely,It is probably not the case that either 'Brian is a swan' or 'Sandra took the milk' but not both.,It is likely that either 'Brian is a swan' or 'Sandra took the milk' but not both.,0,Either 'Brian is a swan' or 'Sandra took the milk' but not both. It is probable that Winona is a sheep. It is impossible that Bernhard is a rhino. It is improbable that Julius is a lion.,It is probable that 'Winona is a sheep' 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.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.6981396279255851,train,probable,improbable,It is probable that 'Winona is a sheep' or 'Bernhard is a rhino' or both.,It is improbable that 'Winona is a sheep' or 'Bernhard is a rhino' or both.,1,'Winona is a sheep' or 'Bernhard is a rhino' or both. It is probably the case that Julius is a lion. There is little chance that Bill left the football. It is improbable that Greg is a swan.,It is highly unlikely that 'Greg is a swan and Julius is a lion'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.42488497699539907,train,highly unlikely,better than even,It is highly unlikely that 'Greg is a swan and Julius is a lion'.,There is a better than even chance that 'Greg is a swan and Julius is a lion'.,1,'Greg is a swan and Julius is a lion'. It is probable that Greg is gray. It is probable that John went to the office. It is impossible that Lily is yellow.,It is impossible 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.7::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.3038607721544309,train,probable,impossible,It is probable that 'John went to the office' or 'Lily is yellow' or both.,It is impossible that 'John went to the office' or 'Lily is yellow' or both.,0,'John went to the office' or 'Lily is yellow' or both. There is a very good chance that John took the apple. It is probable that Lily is yellow. It is improbable that Bernhard is a swan.,Chances are about even that either 'John took 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.8::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.38487697539507904,train,about even,almost no chance,Chances are about even that either 'John took the apple' or 'Lily is yellow' but not both.,There is almost no chance that either 'John took the apple' or 'Lily is yellow' but not both.,1,Either 'John took the apple' or 'Lily is yellow' but not both. It is likely that Lily is white. There is a very good chance that Jessica is a cat. It is probable that Sandra left the apple.,There is a better than even chance that 'Sandra left 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.7::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5599999999999999,0.4982996599319864,train,better than even,chances are slight,There is a better than even chance that 'Sandra left the apple and Jessica is a cat'.,Chances are slight that 'Sandra left the apple and Jessica is a cat'.,1,'Sandra left the apple and Jessica is a cat'. There is almost no chance that Brian is a frog. Chances are about even that Winona is a sheep. Chances are about even that Mary dropped the apple.,We believe that 'Winona is a sheep' 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.02::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.75,0.510502100420084,train,we believe,improbable,We believe that 'Winona is a sheep' or 'Mary dropped the apple' or both.,It is improbable that 'Winona is a sheep' or 'Mary dropped the apple' or both.,1,'Winona is a sheep' or 'Mary dropped the apple' or both. It is probably not the case that Mary discarded the milk. It is highly likely that Winona is a mouse. It is improbable that Bill went to the garden.,There is a better than even chance that 'Mary 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.25::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.7773554710942189,train,almost no chance,better than even,There is almost no chance that 'Mary discarded the milk and Bill went to the garden'.,There is a better than even chance that 'Mary discarded the milk and Bill went to the garden'.,0,'Mary discarded the milk and Bill went to the garden'. There is a very good chance that Sandra got the milk. There is almost no chance that Fred is in the school. It is probable that Lily is a lion.,It is unlikely that 'Lily is a lion' 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.8::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.94,0.5765153030606122,train,almost certain,unlikely,It is almost certain that 'Lily is a lion' or 'Sandra got the milk' or both.,It is unlikely that 'Lily is a lion' or 'Sandra got the milk' or both.,0,'Lily is a lion' or 'Sandra got the milk' or both. There is almost no chance that Bernhard is white. It is improbable that Julius is a lion. It is impossible that Emily is a mouse.,We believe that 'Emily is a mouse' 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.02::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.10000000000000002,0.025805161032206442,train,chances are slight,we believe,Chances are slight that 'Emily is a mouse' or 'Julius is a lion' or both.,We believe that 'Emily is a mouse' or 'Julius is a lion' or both.,0,'Emily is a mouse' or 'Julius is a lion' or both. It is certain that Lily is a frog. Chances are slight that Winona is a sheep. There is a very good chance that Greg is green.,It is impossible that 'Greg is green' 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.1::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.02020404080816163,train,certain,impossible,It is certain that 'Greg is green' or 'Lily is a frog' or both.,It is impossible that 'Greg is green' or 'Lily is a frog' or both.,0,'Greg is green' or 'Lily is a frog' or both. It is almost certain that John moved to the garden. We doubt that Bernhard is a rhino. It is improbable that Sandra took the apple.,We believe that either 'Bernhard 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.95::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.77,0.22764552910582117,train,we believe,we doubt,We believe that either 'Bernhard is a rhino' or 'John moved to the garden' but not both.,We doubt that either 'Bernhard is a rhino' or 'John moved to the garden' but not both.,1,Either 'Bernhard is a rhino' or 'John moved to the garden' but not both. It is highly likely that Julius is yellow. It is improbable that Mary got the milk. It is probably the case that Sandra left the milk.,It is probable that either 'Sandra left the milk' 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.04400880176035207,train,probable,highly unlikely,It is probable that either 'Sandra left the milk' or 'Mary got the milk' but not both.,It is highly unlikely that either 'Sandra left the milk' or 'Mary got the milk' but not both.,1,Either 'Sandra left the milk' or 'Mary got the milk' but not both. There is almost no chance that Jessica is a mouse. Chances are slight that Brian is a rhino. We doubt that John took the apple.,Chances are slight that 'Jessica 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.1::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.11800000000000002,0.4380876175235047,train,chances are slight,better than even,Chances are slight that 'Jessica is a mouse' or 'Brian is a rhino' or both.,There is a better than even chance that 'Jessica is a mouse' or 'Brian is a rhino' or both.,1,'Jessica is a mouse' or 'Brian is a rhino' or both. Chances are about even that Greg is a swan. We doubt that John dropped the apple. We believe that Julius is yellow.,There is a better than even chance that 'John dropped the apple' or 'Greg is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6,0.6613322664532907,train,better than even,chances are slight,There is a better than even chance that 'John dropped the apple' or 'Greg is a swan' or both.,Chances are slight that 'John dropped the apple' or 'Greg is a swan' or both.,1,'John dropped the apple' or 'Greg is a swan' or both. It is certain that John moved to the office. It is highly unlikely that Greg is yellow. It is probable that Brian is white.,It is highly unlikely that 'Brian is white 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 1.0::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.035,0.7757551510302061,train,highly unlikely,probably,It is highly unlikely that 'Brian is white and Greg is yellow'.,It is probably the case that 'Brian is white and Greg is yellow'.,1,'Brian is white and Greg is yellow'. It is probably not the case that Daniel took the apple. It is probably not the case that Lily is a swan. It is improbable that Bill went to the garden.,It is probably not the case that either 'Daniel took 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.25::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.375,0.27485497099419887,train,probably not,probable,It is probably not the case that either 'Daniel took the apple' or 'Lily is a swan' but not both.,It is probable that either 'Daniel took the apple' or 'Lily is a swan' but not both.,1,Either 'Daniel took the apple' or 'Lily is a swan' but not both. It is probably not the case that Brian is white. There is a very good chance that Julius is a rhino. It is improbable that Sandra dropped the milk.,It is certain 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.25::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.08000000000000002,0.18383676735347068,train,chances are slight,certain,Chances are slight that 'Sandra dropped the milk and Julius is a rhino'.,It is certain that 'Sandra dropped the milk and Julius is a rhino'.,0,'Sandra dropped the milk and Julius is a rhino'. It is probably the case that Lily is a rhino. It is certain that John got the apple. It is highly unlikely that Mary went to the office.,We believe 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.7::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.30006001200240046,train,probably not,we believe,It is probably not the case that either 'Lily is a rhino' or 'John got the apple' but not both.,We believe 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. Chances are slight that Greg is a rhino. We believe that Jessica is a mouse. Chances are about even that Brian is a lion.,Chances are about even 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.1::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5000000000000001,0.5701140228045609,train,about even,almost certain,Chances are about even that either 'Brian is a lion' or 'Jessica is a mouse' but not both.,It is almost certain that either 'Brian is a lion' or 'Jessica is a mouse' but not both.,1,Either 'Brian is a lion' or 'Jessica is a mouse' but not both. Chances are about even that Brian is white. There is little chance that Bernhard is a frog. It is highly unlikely that Mary moved to the garden.,Chances are about even that either 'Mary moved 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.5::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.1262252450490098,train,about even,almost certain,Chances are about even that either 'Mary moved to the garden' or 'Brian is white' but not both.,It is almost certain that either 'Mary moved to the garden' or 'Brian is white' but not both.,1,Either 'Mary moved to the garden' or 'Brian is white' but not both. It is probably the case that Emily is a cat. We doubt that Lily is a rhino. It is almost certain that Greg is a swan.,We doubt that 'Greg is a swan 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.2::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.2920584116823365,train,probable,we doubt,It is probable that 'Greg is a swan and Emily is a cat'.,We doubt that 'Greg is a swan and Emily is a cat'.,0,'Greg is a swan and Emily is a cat'. It is highly likely that Bernhard is gray. We believe that John went to the bedroom. It is unlikely that Julius is a frog.,It is probably the case that either 'Julius 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.9::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.65,0.6217243448689738,train,probably,improbable,It is probably the case that either 'Julius is a frog' or 'John went to the bedroom' but not both.,It is improbable that either 'Julius is a frog' or 'John went to the bedroom' but not both.,1,Either 'Julius is a frog' or 'John went to the bedroom' but not both. It is certain that Brian is green. It is almost certain that Mary dropped the milk. It is probably not the case that Greg is a swan.,We believe 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 1.0::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.725,0.11762352470494099,train,we believe,probably not,We believe that either 'Mary dropped the milk' or 'Greg is a swan' but not both.,It is probably not 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. There is almost no chance that Sandra left the football. It is probable that John picked up the apple. There is a very good chance that Mary went to the office.,Chances are about even 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 0.02::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.3650730146029206,train,about even,impossible,Chances are about even that either 'Mary went to the office' or 'John picked up the apple' but not both.,It is impossible 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 unlikely that Fred dropped the milk. It is unlikely that Bernhard is yellow. Chances are about even that Brian is a rhino.,It is likely that 'Fred 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 0.2::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.36000000000000004,0.7669533906781356,train,probably not,likely,It is probably not the case that 'Fred dropped the milk' or 'Bernhard is yellow' or both.,It is likely that 'Fred dropped the milk' or 'Bernhard is yellow' or both.,0,'Fred dropped the milk' or 'Bernhard is yellow' or both. It is probably the case that John got the milk. It is highly unlikely that Greg is a swan. It is unlikely that Sandra took the football.,There is a better than even chance that either 'Sandra took the football' 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.7::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.1928385677135427,train,better than even,almost no chance,There is a better than even chance that either 'Sandra took the football' or 'John got the milk' but not both.,There is almost no chance that either 'Sandra took the football' or 'John got the milk' but not both.,1,Either 'Sandra took the football' or 'John got the milk' but not both. Chances are slight that Mary dropped the apple. It is likely that Julius is a lion. It is likely that John put down the milk.,It is probably the case that either 'Mary dropped the apple' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.5495099019803961,train,probably,we doubt,It is probably the case that either 'Mary dropped the apple' or 'Julius is a lion' but not both.,We doubt that either 'Mary dropped the apple' or 'Julius is a lion' but not both.,1,Either 'Mary dropped the apple' or 'Julius is a lion' but not both. It is probably not the case that Lily is a rhino. It is highly unlikely that Mary discarded the milk. It is certain that Greg is a frog.,It is likely that 'Mary discarded 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 0.25::factA. 0.05::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.2875,0.7643528705741148,train,probably not,likely,It is probably not the case that 'Mary discarded the milk' or 'Lily is a rhino' or both.,It is likely that 'Mary discarded the milk' or 'Lily is a rhino' or both.,0,'Mary discarded the milk' or 'Lily is a rhino' or both. There is little chance that Brian is a frog. We doubt that John dropped the milk. There is a better than even chance that Fred discarded the apple.,It is highly unlikely that 'Fred discarded the apple 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.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.06,0.4488897779555911,train,highly unlikely,almost certain,It is highly unlikely that 'Fred discarded the apple and Brian is a frog'.,It is almost certain that 'Fred discarded the apple and Brian is a frog'.,1,'Fred discarded the apple and Brian is a frog'. It is highly unlikely that Sumit is thirsty. It is highly likely that Greg is a swan. It is highly unlikely that Emily is a wolf.,It is highly likely that 'Greg is a swan' or 'Sumit is thirsty' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.905,0.7581516303260653,train,highly likely,little chance,It is highly likely that 'Greg is a swan' or 'Sumit is thirsty' or both.,There is little chance that 'Greg is a swan' or 'Sumit is thirsty' or both.,1,'Greg is a swan' or 'Sumit is thirsty' or both. There is little chance that John left the football. We doubt that Bernhard is yellow. Chances are about even that Greg is gray.,It is probably not the case that either 'John left the football' 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.2::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.5889177835567113,train,probably not,certain,It is probably not the case that either 'John left the football' or 'Bernhard is yellow' but not both.,It is certain that either 'John left the football' or 'Bernhard is yellow' but not both.,1,Either 'John left the football' or 'Bernhard is yellow' but not both. We believe that Julius is green. It is likely that Bill moved to the office. There is a very good chance that Lily is a frog.,It is impossible that 'Lily is a frog 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.75::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5599999999999999,0.6751350270054011,train,better than even,impossible,There is a better than even chance that 'Lily is a frog and Bill moved to the office'.,It is impossible that 'Lily is a frog and Bill moved to the office'.,0,'Lily is a frog and Bill moved to the office'. It is almost certain that Mary grabbed the milk. It is improbable that Lily is gray. It is impossible that Daniel took the apple.,It is almost certain that either 'Lily is gray' 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.95::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.10000000000000002,0.05141028205641128,train,chances are slight,almost certain,Chances are slight that either 'Lily is gray' or 'Daniel took the apple' but not both.,It is almost certain that either 'Lily is gray' or 'Daniel took the apple' but not both.,0,Either 'Lily is gray' or 'Daniel took the apple' but not both. It is almost certain that Brian is yellow. It is probable that Julius is a lion. It is impossible that Gertrude is a sheep.,It is likely that either 'Julius 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.95::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.45629125825165034,train,likely,probably not,It is likely that either 'Julius is a lion' or 'Gertrude is a sheep' but not both.,It is probably not the case that either 'Julius is a lion' or 'Gertrude is a sheep' but not both.,1,Either 'Julius is a lion' or 'Gertrude is a sheep' but not both. Chances are about even that John grabbed the apple. It is probably the case that Yann is hungry. It is probable that Antoine is thirsty.,It is highly unlikely that either 'Antoine is thirsty' 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.6565313062612522,train,about even,highly unlikely,Chances are about even that either 'Antoine is thirsty' or 'Yann is hungry' but not both.,It is highly unlikely that either 'Antoine is thirsty' or 'Yann is hungry' but not both.,0,Either 'Antoine is thirsty' or 'Yann is hungry' but not both. It is likely that Greg is a rhino. It is probably the case that Lily is white. There is a better than even chance that Brian is a frog.,It is highly likely 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 0.7::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.88,0.1884376875375075,train,highly likely,probably not,It is highly likely that 'Brian is a frog' or 'Lily is white' or both.,It is probably not the case that 'Brian is a frog' or 'Lily is white' or both.,1,'Brian is a frog' or 'Lily is white' or both. It is highly likely that Daniel put down the milk. It is almost certain that John grabbed the apple. It is highly likely that Mary went to the office.,There is little chance that 'John grabbed the apple' 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.9::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.995,0.759751950390078,train,certain,little chance,It is certain that 'John grabbed the apple' or 'Daniel put down the milk' or both.,There is little chance that 'John grabbed the apple' or 'Daniel put down the milk' or both.,0,'John grabbed the apple' or 'Daniel put down the milk' or both. It is impossible that Lily is a frog. We believe that John went to the office. It is probably not the case that Mary dropped the milk.,There is a better than even chance that either 'John went 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.0::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.625,0.6847369473894779,train,better than even,little chance,There is a better than even chance that either 'John went to the office' or 'Mary dropped the milk' but not both.,There is little chance that either 'John went to the office' or 'Mary dropped the milk' but not both.,1,Either 'John went to the office' or 'Mary dropped the milk' but not both. It is certain that Lily is a frog. It is almost certain that Bernhard is white. There is almost no chance that John put down the apple.,It is almost certain that 'Lily 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 1.0::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.95,0.3784756951390278,train,almost certain,probably not,It is almost certain that 'Lily is a frog and Bernhard is white'.,It is probably not the case that 'Lily is a frog and Bernhard is white'.,1,'Lily is a frog and Bernhard is white'. We doubt that Mary grabbed the milk. Chances are about even that Bernhard is a frog. There is little chance that Jason is tired.,There is a better than even chance that 'Jason 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.2::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.7269453890778156,train,better than even,almost no chance,There is a better than even chance that 'Jason is tired' or 'Bernhard is a frog' or both.,There is almost no chance that 'Jason is tired' or 'Bernhard is a frog' or both.,1,'Jason is tired' or 'Bernhard is a frog' or both. It is almost certain that Yann is hungry. Chances are slight that Mary moved to the garden. There is a better than even chance that Greg is a rhino.,There is almost no chance that either 'Mary moved to the garden' 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.1::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.58,0.782756551310262,train,better than even,almost no chance,There is a better than even chance that either 'Mary moved to the garden' or 'Greg is a rhino' but not both.,There is almost no chance that either 'Mary moved to the garden' or 'Greg is a rhino' but not both.,0,Either 'Mary moved to the garden' or 'Greg is a rhino' but not both. It is probably not the case that Lily is white. It is probable that John picked up the apple. It is probably the case that Fred went to the garden.,Chances are about even that either 'Fred went to the garden' 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.25::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.611122224444889,train,about even,certain,Chances are about even that either 'Fred went to the garden' or 'John picked up the apple' but not both.,It is certain that either 'Fred went to the garden' or 'John picked up the apple' but not both.,1,Either 'Fred went to the garden' or 'John picked up the apple' but not both. There is a better than even chance that Lily is white. We believe that Greg is a swan. There is a very good chance that Bernhard is a lion.,It is certain that 'Lily is white 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.6::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48,0.01280256051210242,train,about even,certain,Chances are about even that 'Lily is white and Bernhard is a lion'.,It is certain that 'Lily is white and Bernhard is a lion'.,0,'Lily is white and Bernhard is a lion'. There is little chance that Lily is a rhino. There is a better than even chance that Julius is yellow. There is a very good chance that Bernhard is a frog.,There is a better than even chance 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 0.1::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.05761152230446089,train,better than even,impossible,There is a better than even chance that 'Julius is yellow' or 'Lily is a rhino' or both.,It is impossible that 'Julius is yellow' or 'Lily is a rhino' or both.,1,'Julius is yellow' or 'Lily is a rhino' or both. It is probable that John grabbed the apple. There is little chance that Lily is a swan. It is probable that Brian is a rhino.,It is probable that 'Brian is a rhino 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.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.28005601120224044,train,highly unlikely,probable,It is highly unlikely that 'Brian is a rhino and Lily is a swan'.,It is probable that 'Brian is a rhino and Lily is a swan'.,0,'Brian is a rhino and Lily is a swan'. It is highly unlikely that John went to the kitchen. It is impossible that Daniel got the football. It is impossible that Brian is a rhino.,It is impossible that 'Daniel 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.05::factA. 0.0::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.0,0.2604520904180836,train,impossible,certain,It is impossible that 'Daniel got the football' or 'Brian is a rhino' or both.,It is certain that 'Daniel got the football' or 'Brian is a rhino' or both.,1,'Daniel got the football' or 'Brian is a rhino' or both. It is probable that John went to the office. It is improbable that Sandra left the apple. It is improbable that Daniel put down the milk.,It is certain that 'Daniel put down 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.39347869573914784,train,highly unlikely,certain,It is highly unlikely that 'Daniel put down the milk and John went to the office'.,It is certain that 'Daniel put down the milk and John went to the office'.,0,'Daniel put down the milk and John went to the office'. There is almost no chance that Daniel took the apple. There is almost no chance that Gertrude is a cat. Chances are about even that Emily is a mouse.,There is almost no chance that 'Emily is a mouse 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.02::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.25265053010602123,train,almost no chance,certain,There is almost no chance that 'Emily is a mouse and Daniel took the apple'.,It is certain that 'Emily is a mouse and Daniel took the apple'.,1,'Emily is a mouse and Daniel took the apple'. We doubt that John went to the garden. It is likely that Mary left the football. There is a very good chance that Brian is white.,It is unlikely that 'John went 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.2::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.16000000000000003,0.21544308861772354,train,unlikely,certain,It is unlikely that 'John went to the garden and Brian is white'.,It is certain that 'John went to the garden and Brian is white'.,1,'John went to the garden and Brian is white'. It is almost certain that Bill moved to the office. There is almost no chance that John went to the hallway. We doubt that Bernhard is yellow.,It is likely that 'Bernhard is yellow and Bill moved to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.19,0.04740948189637927,train,unlikely,likely,It is unlikely that 'Bernhard is yellow and Bill moved to the office'.,It is likely that 'Bernhard is yellow and Bill moved to the office'.,0,'Bernhard is yellow and Bill moved to the office'. There is a better than even chance that Jessica is a cat. It is probably the case that John moved to the office. It is highly unlikely that Julius is a frog.,It is highly likely that 'Julius is a frog and Jessica is a cat'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.029999999999999995,0.6021204240848169,train,almost no chance,highly likely,There is almost no chance that 'Julius is a frog and Jessica is a cat'.,It is highly likely that 'Julius is a frog and Jessica is a cat'.,0,'Julius is a frog and Jessica is a cat'. It is impossible that Bernhard is yellow. Chances are about even that Jeff left the apple. There is a very good chance that Emily is a wolf.,It is highly likely that 'Emily is a wolf' 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.0::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9,0.3036607321464293,train,highly likely,impossible,It is highly likely that 'Emily is a wolf' or 'Jeff left the apple' or both.,It is impossible that 'Emily is a wolf' or 'Jeff left the apple' or both.,1,'Emily is a wolf' or 'Jeff left the apple' or both. It is improbable that Julius is yellow. We doubt that Brian is white. It is probably the case that Bernhard is a swan.,It is probably 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.1::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.6059211842368474,train,probably not,probably,It is probably not the case that 'Julius is yellow' or 'Brian is white' or both.,It is probably the case that 'Julius is yellow' or 'Brian is white' or both.,0,'Julius is yellow' or 'Brian is white' or both. It is probable that Lily is a swan. It is probably not the case that John moved to the office. It is certain that Bernhard is yellow.,It is impossible that 'Lily is a swan' 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.25::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.5727145429085817,train,very good chance,impossible,There is a very good chance that 'Lily is a swan' or 'John moved to the office' or both.,It is impossible that 'Lily is a swan' or 'John moved to the office' or both.,0,'Lily is a swan' or 'John moved to the office' or both. It is highly likely that Julius is gray. Chances are slight that John went to the garden. There is little chance that Brian is a rhino.,It is improbable that 'Julius is gray 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.1808361672334467,train,improbable,probable,It is improbable that 'Julius is gray and Brian is a rhino'.,It is probable that 'Julius is gray and Brian is a rhino'.,1,'Julius is gray and Brian is a rhino'. It is improbable that John went to the office. It is unlikely that Bernhard is a swan. It is highly likely that Julius is yellow.,We believe that 'Julius is yellow 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. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.18000000000000002,0.03320664132826565,train,we doubt,we believe,We doubt that 'Julius is yellow and Bernhard is a swan'.,We believe that 'Julius is yellow and Bernhard is a swan'.,0,'Julius is yellow and Bernhard is a swan'. Chances are about even that Jessica is a mouse. Chances are slight that Mary went to the garden. We believe that Julius is a swan.,There is little chance 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.5::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.4206841368273655,train,probably,little chance,It is probably the case that either 'Mary went to the garden' or 'Julius is a swan' but not both.,There is little chance 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 probably the case that Bernhard is white. It is impossible that John went to the garden. There is little chance that Greg is a frog.,It is highly unlikely 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.015603120624124825,train,highly unlikely,about even,It is highly unlikely that 'Greg is a frog and Bernhard is white'.,Chances are about even that 'Greg is a frog and Bernhard is white'.,1,'Greg is a frog and Bernhard is white'. There is little chance that Greg is green. There is almost no chance that John left the milk. There is a very good chance that Lily is white.,There is a very good chance 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.1::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.788,0.10442088417683537,train,very good chance,impossible,There is a very good chance that either 'Lily is white' or 'John left the milk' but not both.,It is impossible 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. Chances are about even that Sandra took the apple. It is almost certain that Lily is a lion. There is a better than even chance that Julius is a rhino.,There is little chance that 'Julius is a rhino' or 'Sandra 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.95::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8,0.7123424684936988,train,very good chance,little chance,There is a very good chance that 'Julius is a rhino' or 'Sandra took the apple' or both.,There is little chance that 'Julius is a rhino' or 'Sandra took the apple' or both.,0,'Julius is a rhino' or 'Sandra took the apple' or both. Chances are slight that Greg is a frog. We doubt that Brian is white. It is probably the case that Fred dropped the milk.,It is highly unlikely that 'Fred dropped the milk 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.6039207841568314,train,highly unlikely,better than even,It is highly unlikely that 'Fred dropped the milk and Greg is a frog'.,There is a better than even chance that 'Fred dropped the milk and Greg is a frog'.,1,'Fred dropped the milk and Greg is a frog'. It is highly likely that Julius is gray. It is probable that John dropped the apple. It is highly unlikely that Jessica is a mouse.,There is little chance that 'John dropped the apple' 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.7::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.715,0.16783356671334268,train,probable,little chance,It is probable that 'John dropped the apple' or 'Jessica is a mouse' or both.,There is little chance that 'John dropped the apple' or 'Jessica is a mouse' or both.,0,'John dropped the apple' or 'Jessica is a mouse' or both. There is a very good chance that Julius is yellow. It is probably not the case that Mary went to the garden. It is likely that Bernhard is white.,There is almost no chance 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.8::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5599999999999999,0.12962592518503702,train,better than even,almost no chance,There is a better than even chance that 'Julius is yellow and Bernhard is white'.,There is almost no chance that 'Julius is yellow and Bernhard is white'.,0,'Julius is yellow and Bernhard is white'. We believe that Bernhard is a swan. It is improbable that Mary went to the bedroom. It is impossible that Daniel got the milk.,It is impossible that 'Bernhard is a swan' 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.75::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.75,0.3274654930986197,train,we believe,impossible,We believe that 'Bernhard is a swan' or 'Daniel got the milk' or both.,It is impossible that 'Bernhard is a swan' or 'Daniel got the milk' or both.,0,'Bernhard is a swan' or 'Daniel got the milk' or both. There is little chance that Mary got the apple. Chances are about even that Bernhard is a swan. We doubt that Greg is a lion.,We believe that either 'Mary got 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.1::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.5545109021804361,train,probably not,we believe,It is probably not the case that either 'Mary got the apple' or 'Greg is a lion' but not both.,We believe that either 'Mary got the apple' or 'Greg is a lion' but not both.,0,Either 'Mary got the apple' or 'Greg is a lion' but not both. Chances are about even that Fred put down the apple. It is certain that Brian is green. It is highly unlikely that Mary went to the bedroom.,Chances are about even that 'Mary went to the bedroom' 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. 1.0::factB. 0.05::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.525,0.29325865173034604,train,about even,impossible,Chances are about even that 'Mary went to the bedroom' or 'Fred put down the apple' or both.,It is impossible that 'Mary went to the bedroom' or 'Fred put down the apple' or both.,1,'Mary went to the bedroom' or 'Fred put down the apple' or both. It is likely that Yann is tired. There is almost no chance that Brian is a frog. It is almost certain that Jeff went to the hallway.,It is impossible that 'Brian is a frog' 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.7::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.951,0.39547909581916385,train,almost certain,impossible,It is almost certain that 'Brian is a frog' or 'Jeff went to the hallway' or both.,It is impossible that 'Brian is a frog' or 'Jeff went to the hallway' or both.,0,'Brian is a frog' or 'Jeff went to the hallway' or both. It is unlikely that Mary left the football. Chances are slight that Bernhard is a lion. It is highly likely that Bill moved to the office.,We believe that either 'Mary left 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.1274254850970194,train,we believe,chances are slight,We believe that either 'Mary left the football' or 'Bill moved to the office' but not both.,Chances are slight that either 'Mary left the football' or 'Bill moved to the office' but not both.,1,Either 'Mary left the football' or 'Bill moved to the office' but not both. There is a very good chance that Bernhard is green. It is highly unlikely that John discarded the milk. It is almost certain that Brian is white.,There is little chance that 'Bernhard 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.8::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.81,0.2654530906181236,train,very good chance,little chance,There is a very good chance that 'Bernhard is green' or 'John discarded the milk' or both.,There is little chance that 'Bernhard is green' or 'John discarded the milk' or both.,0,'Bernhard is green' or 'John discarded the milk' or both. It is probable that Brian is a frog. It is probably the case that Mary left the apple. We believe that Lily is a rhino.,It is highly unlikely that 'Brian 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.7::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.925,0.71374274854971,train,almost certain,highly unlikely,It is almost certain that 'Brian is a frog' or 'Lily is a rhino' or both.,It is highly unlikely that 'Brian is a frog' or 'Lily is a rhino' or both.,0,'Brian is a frog' or 'Lily is a rhino' or both. It is unlikely that Emily is a sheep. It is probably the case that Bernhard is a swan. Chances are about even that Mary moved to the office.,Chances are slight that either 'Emily is a sheep' 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.7::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.16263252650530105,train,better than even,chances are slight,There is a better than even chance that either 'Emily is a sheep' or 'Bernhard is a swan' but not both.,Chances are slight that either 'Emily is a sheep' or 'Bernhard is a swan' but not both.,0,Either 'Emily is a sheep' or 'Bernhard is a swan' but not both. It is certain that Greg is a rhino. It is probably the case that Julius is a swan. It is probably not the case that Gertrude is a mouse.,There is a very good chance that 'Julius is a swan 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.7::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.175,0.6399279855971194,train,unlikely,very good chance,It is unlikely that 'Julius is a swan and Gertrude is a mouse'.,There is a very good chance that 'Julius is a swan and Gertrude is a mouse'.,0,'Julius is a swan and Gertrude is a mouse'. It is unlikely that Mary dropped the milk. We believe that Jessica is a cat. Chances are about even that John put down the apple.,It is probably the case that 'Mary dropped the milk 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.2::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.01260252050410082,train,little chance,probably,There is little chance that 'Mary dropped the milk and John put down the apple'.,It is probably the case that 'Mary dropped the milk and John put down the apple'.,0,'Mary dropped the milk and John put down the apple'. Chances are about even that Julius is a lion. There is almost no chance that Mary went to the office. It is unlikely that Emily is a wolf.,Chances are about even that either 'Julius 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.5::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.04380876175235047,train,about even,certain,Chances are about even that either 'Julius is a lion' or 'Mary went to the office' but not both.,It is certain that either 'Julius is a lion' or 'Mary went to the office' but not both.,1,Either 'Julius is a lion' or 'Mary went to the office' but not both. It is probably the case that Bernhard is green. It is probable that John grabbed the apple. It is certain that Julius is gray.,It is probable that 'Julius 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.7::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7,0.3662732546509302,train,probable,unlikely,It is probable that 'Julius is gray and Bernhard is green'.,It is unlikely that 'Julius is gray and Bernhard is green'.,1,'Julius is gray and Bernhard is green'. It is impossible that John went to the office. It is improbable that Lily is yellow. There is almost no chance that Daniel got the milk.,It is improbable that 'Lily 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.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.11800000000000002,0.32126425285057014,train,improbable,better than even,It is improbable that 'Lily is yellow' or 'Daniel got the milk' or both.,There is a better than even chance that 'Lily is yellow' or 'Daniel got the milk' or both.,1,'Lily is yellow' or 'Daniel got the milk' or both. It is likely that Greg is yellow. Chances are slight that Mary went to the office. There is a very good chance that Bernhard is gray.,It is highly unlikely that 'Mary went to the office 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.1::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.6649329865973195,train,highly unlikely,better than even,It is highly unlikely that 'Mary went to the office and Greg is yellow'.,There is a better than even chance that 'Mary went to the office and Greg is yellow'.,1,'Mary went to the office and Greg is yellow'. There is a better than even chance that Mary moved to the garden. Chances are slight that Daniel got the football. There is almost no chance that Julius is green.,There is a better than even chance that 'Julius is green' 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.6::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.608,0.6639327865573115,train,better than even,almost no chance,There is a better than even chance that 'Julius is green' or 'Mary moved to the garden' or both.,There is almost no chance that 'Julius is green' or 'Mary moved to the garden' or both.,1,'Julius is green' or 'Mary moved to the garden' or both. It is highly unlikely that John moved to the office. It is likely that Brian is white. We doubt that Greg is yellow.,We believe that either 'John moved to the office' 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.05::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.23,0.21164232846569314,train,probably not,we believe,It is probably not the case that either 'John moved to the office' or 'Greg is yellow' but not both.,We believe that either 'John moved to the office' or 'Greg is yellow' but not both.,0,Either 'John moved to the office' or 'Greg is yellow' but not both. There is a better than even chance that Lily is a rhino. It is improbable that Sandra took the milk. It is likely that Brian is a lion.,It is impossible that either 'Sandra took 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. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.58,0.02600520104020804,train,better than even,impossible,There is a better than even chance that either 'Sandra took the milk' or 'Lily is a rhino' but not both.,It is impossible that either 'Sandra took the milk' or 'Lily is a rhino' but not both.,0,Either 'Sandra took the milk' or 'Lily is a rhino' but not both. Chances are about even that Bernhard is a swan. There is a very good chance that Brian is green. We doubt that Julius is white.,Chances are about even 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.5::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.6445289057811562,train,about even,highly unlikely,Chances are about even 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.,1,Either 'Bernhard is a swan' or 'Brian is green' but not both. There is a very good chance that John moved to the garden. It is impossible that Sandra is in the kitchen. It is probably not the case that Julius is a frog.,Chances are slight 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.8::factA. 0.0::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8500000000000001,0.22364472894578916,train,highly likely,chances are slight,It is highly likely that 'Julius is a frog' or 'John moved to the garden' or both.,Chances are slight 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. Chances are about even that John went to the bedroom. There is a better than even chance that Greg is a rhino. There is a very good chance that Bernhard is a lion.,It is impossible that 'Bernhard 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.5::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48,0.26985397079415885,train,about even,impossible,Chances are about even that 'Bernhard is a lion and Greg is a rhino'.,It is impossible that 'Bernhard is a lion and Greg is a rhino'.,0,'Bernhard is a lion and Greg is a rhino'. It is impossible that John moved to the garden. There is a very good chance that Sandra dropped the apple. It is likely that Bernhard is a swan.,Chances are about even that either 'Sandra 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.0::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.41348269653930786,train,about even,impossible,Chances are about even that either 'Sandra dropped the apple' or 'Bernhard is a swan' but not both.,It is impossible that either 'Sandra dropped the apple' or 'Bernhard is a swan' but not both.,1,Either 'Sandra dropped the apple' or 'Bernhard is a swan' but not both. It is highly unlikely that Greg is a frog. It is highly likely that Mary took the milk. It is unlikely that Brian is white.,It is highly likely that 'Mary took 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.05::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.92,0.48849769953990796,train,highly likely,improbable,It is highly likely that 'Mary took the milk' or 'Brian is white' or both.,It is improbable that 'Mary took the milk' or 'Brian is white' or both.,1,'Mary took the milk' or 'Brian is white' or both. There is almost no chance that Sandra got the football. It is likely that Lily is a lion. We believe that Jessica is a cat.,There is a better than even chance that 'Lily is a lion and Sandra got the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.014000000000000007,0.6729345869173835,train,almost no chance,better than even,There is almost no chance that 'Lily is a lion and Sandra got the football'.,There is a better than even chance that 'Lily is a lion and Sandra got the football'.,0,'Lily is a lion and Sandra got the football'. It is probably not the case that Mary went to the bedroom. Chances are slight that Greg is a swan. It is probably the case that Bernhard is white.,We believe that 'Greg is a swan' 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.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.47729545909181836,train,we believe,unlikely,We believe that 'Greg is a swan' or 'Bernhard is white' or both.,It is unlikely that 'Greg is a swan' or 'Bernhard is white' or both.,1,'Greg is a swan' or 'Bernhard is white' or both. We doubt that John grabbed the apple. It is probably not the case that Julius is a rhino. We believe that Lily is a swan.,It is unlikely that 'John grabbed 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.2::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.3892778555711142,train,very good chance,unlikely,There is a very good chance that 'John grabbed the apple' or 'Lily is a swan' or both.,It is unlikely that 'John grabbed the apple' or 'Lily is a swan' or both.,0,'John grabbed the apple' or 'Lily is a swan' or both. Chances are slight that Mary moved to the office. There is a better than even chance that Emily is a sheep. We believe that Julius is gray.,It is almost certain that 'Julius is gray 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.6::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.46469293858771754,train,chances are slight,almost certain,Chances are slight that 'Julius is gray and Mary moved to the office'.,It is almost certain that 'Julius is gray and Mary moved to the office'.,0,'Julius is gray and Mary moved to the office'. It is probably the case that Mary picked up the milk. There is a better than even chance that Bernhard is a rhino. It is certain that Greg is a lion.,Chances are about even that 'Bernhard is a rhino 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.7::factA. 0.6::factB. 1.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.6249249849969994,train,about even,almost no chance,Chances are about even that 'Bernhard is a rhino and Mary picked up the milk'.,There is almost no chance that 'Bernhard is a rhino and Mary picked up the milk'.,1,'Bernhard is a rhino and Mary picked up the milk'. It is highly likely that Brian is a rhino. It is unlikely that Daniel grabbed the apple. It is unlikely that Gertrude is a sheep.,We doubt that 'Brian 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.9::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.18000000000000002,0.21944388877775556,train,we doubt,we believe,We doubt that 'Brian is a rhino and Gertrude is a sheep'.,We believe that 'Brian is a rhino and Gertrude is a sheep'.,1,'Brian is a rhino and Gertrude is a sheep'. It is certain that Bernhard is a frog. Chances are slight that Greg is yellow. It is certain that Mary left the football.,It is certain that 'Greg 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 1.0::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.030006001200240048,train,certain,probably not,It is certain that 'Greg is yellow' or 'Mary left the football' or both.,It is probably not the case that 'Greg is yellow' or 'Mary left the football' or both.,1,'Greg is yellow' or 'Mary left the football' or both. Chances are about even that Mary left the apple. It is probably not the case that Julius is a rhino. We believe that Lily is a rhino.,It is probable that 'Julius is a rhino 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.5::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.12500000000000003,0.5373074614922985,train,chances are slight,probable,Chances are slight that 'Julius is a rhino and Mary left the apple'.,It is probable that 'Julius is a rhino and Mary left the apple'.,0,'Julius is a rhino and Mary left the apple'. We believe that Mary went to the kitchen. It is highly unlikely that Jeff left the apple. It is certain that Jason is tired.,It is certain that 'Mary went to the kitchen' 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.05::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.7891578315663133,train,certain,highly unlikely,It is certain that 'Mary went to the kitchen' or 'Jason is tired' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Jason is tired' or both.,1,'Mary went to the kitchen' or 'Jason is tired' or both. Chances are about even that Greg is a frog. It is highly likely that Jeff moved to the office. It is highly unlikely that Bill went to the kitchen.,It is highly likely that 'Bill went to the kitchen' 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.5::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.905,0.6359271854370874,train,highly likely,almost no chance,It is highly likely that 'Bill went to the kitchen' or 'Jeff moved to the office' or both.,There is almost no chance that 'Bill went to the kitchen' or 'Jeff moved to the office' or both.,1,'Bill went to the kitchen' or 'Jeff moved to the office' or both. It is probably not the case that Lily is a lion. Chances are slight that Sandra left the milk. Chances are slight that Jessica is a mouse.,It is unlikely that 'Sandra left 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.25::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.6299259851970395,train,unlikely,almost certain,It is unlikely that 'Sandra left the milk' or 'Jessica is a mouse' or both.,It is almost certain that 'Sandra left the milk' or 'Jessica is a mouse' or both.,1,'Sandra left the milk' or 'Jessica is a mouse' or both. It is impossible that Mary went to the kitchen. There is almost no chance that John took the apple. Chances are slight that Brian is a frog.,Chances are slight that either 'Brian is a frog' 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.02::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.3088617723544709,train,chances are slight,almost certain,Chances are slight that either 'Brian is a frog' or 'John took the apple' but not both.,It is almost certain that either 'Brian is a frog' or 'John took the apple' but not both.,1,Either 'Brian is a frog' or 'John took the apple' but not both. It is unlikely that Mary went to the office. It is likely that Lily is a swan. There is almost no chance that Brian is white.,It is improbable that 'Lily 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.2::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.5457091418283657,train,improbable,we believe,It is improbable that 'Lily is a swan and Mary went to the office'.,We believe that 'Lily is a swan and Mary went to the office'.,1,'Lily is a swan and Mary went to the office'. It is probably the case that Lily is a rhino. There is almost no chance that Julius is yellow. There is a very good chance that Daniel took the football.,There is little chance that 'Lily is a rhino' 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.02::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.706,0.4896979395879176,train,probably,little chance,It is probably the case that 'Lily is a rhino' or 'Julius is yellow' or both.,There is little chance that 'Lily is a rhino' or 'Julius is yellow' or both.,0,'Lily is a rhino' or 'Julius is yellow' or both. We doubt that Mary went to the kitchen. Chances are slight that Jessica is a cat. It is probably not the case that Bernhard is white.,Chances are about even that 'Mary went to the kitchen' or 'Bernhard is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.4,0.4908981796359272,train,about even,highly unlikely,Chances are about even that 'Mary went to the kitchen' or 'Bernhard is white' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Bernhard is white' or both.,1,'Mary went to the kitchen' or 'Bernhard is white' or both. There is little chance that Bernhard is green. It is certain that Antoine is hungry. There is a better than even chance that Mary left the football.,It is almost certain that either 'Antoine is hungry' 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. 1.0::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.4,0.20604120824164834,train,about even,almost certain,Chances are about even that either 'Antoine is hungry' or 'Mary left the football' but not both.,It is almost certain that either 'Antoine is hungry' or 'Mary left the football' but not both.,0,Either 'Antoine is hungry' or 'Mary left the football' but not both. It is probably not the case that John moved to the office. It is improbable that Brian is a frog. There is a better than even chance that Mary went to the bedroom.,It is likely that 'Mary went to the bedroom' or 'John moved to the office' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7,0.513502700540108,train,likely,we doubt,It is likely that 'Mary went to the bedroom' or 'John moved to the office' or both.,We doubt that 'Mary went to the bedroom' or 'John moved to the office' or both.,1,'Mary went to the bedroom' or 'John moved to the office' or both. Chances are slight that Sandra put down the milk. Chances are slight that Lily is a rhino. It is improbable that Bernhard is yellow.,It is highly likely that 'Lily is a rhino 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.5935187037407481,train,almost no chance,highly likely,There is almost no chance that 'Lily is a rhino and Bernhard is yellow'.,It is highly likely that 'Lily is a rhino and Bernhard is yellow'.,0,'Lily is a rhino and Bernhard is yellow'. Chances are slight that Bernhard is a swan. It is improbable that John discarded the apple. There is little chance that Lily is yellow.,It is likely that 'John discarded 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.1240248049609922,train,almost no chance,likely,There is almost no chance that 'John discarded the apple and Lily is yellow'.,It is likely that 'John discarded the apple and Lily is yellow'.,0,'John discarded the apple and Lily is yellow'. It is improbable that Emily is a wolf. Chances are about even that Julius is yellow. There is a very good chance that Greg is white.,It is certain that either 'Emily 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.1::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.3126625325065013,train,about even,certain,Chances are about even that either 'Emily is a wolf' or 'Julius is yellow' but not both.,It is certain that either 'Emily is a wolf' or 'Julius is yellow' but not both.,0,Either 'Emily is a wolf' or 'Julius is yellow' but not both. It is probable that Yann is thirsty. It is probably the case that Brian is a rhino. It is certain that Julius is gray.,It is almost certain that 'Yann is thirsty 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.7::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.7335467093418684,train,about even,almost certain,Chances are about even that 'Yann is thirsty and Brian is a rhino'.,It is almost certain that 'Yann is thirsty and Brian is a rhino'.,0,'Yann is thirsty and Brian is a rhino'. It is probable that Mary left the football. There is a very good chance that Greg is a rhino. It is likely that John picked up the apple.,Chances are about even that either 'Greg is a rhino' 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.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.46649329865973194,train,about even,certain,Chances are about even that either 'Greg is a rhino' or 'John picked up the apple' but not both.,It is certain that either 'Greg is a rhino' or 'John picked up the apple' but not both.,1,Either 'Greg is a rhino' or 'John picked up the apple' but not both. It is highly unlikely that Jeff moved to the garden. It is certain that Bernhard is a lion. It is highly unlikely that John dropped the milk.,It is almost certain that either 'Bernhard 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.05::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.95,0.08181636327265453,train,almost certain,chances are slight,It is almost certain that either 'Bernhard is a lion' or 'John dropped the milk' but not both.,Chances are slight that either 'Bernhard is a lion' or 'John dropped the milk' but not both.,1,Either 'Bernhard is a lion' or 'John dropped the milk' but not both. It is certain that Sandra grabbed the milk. It is highly unlikely that Brian is a rhino. It is highly unlikely that Lily is yellow.,We doubt that either 'Sandra grabbed the milk' 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.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.95,0.4634926985397079,train,almost certain,we doubt,It is almost certain that either 'Sandra grabbed the milk' or 'Brian is a rhino' but not both.,We doubt that either 'Sandra grabbed the milk' or 'Brian is a rhino' but not both.,0,Either 'Sandra grabbed the milk' or 'Brian is a rhino' but not both. There is almost no chance that Julius is white. There is little chance that Gertrude is a cat. It is highly unlikely that Bernhard is a frog.,It is impossible that 'Bernhard 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.02::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0010000000000000002,0.7431486297259452,train,impossible,about even,It is impossible that 'Bernhard is a frog and Julius is white'.,Chances are about even that 'Bernhard is a frog and Julius is white'.,1,'Bernhard is a frog and Julius is white'. There is a better than even chance that Winona is a sheep. It is certain that Julius is gray. It is unlikely that Sandra left the football.,There is almost no chance that 'Sandra 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.6::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.68,0.3680736147229446,train,probably,almost no chance,It is probably the case that 'Sandra left the football' or 'Winona is a sheep' or both.,There is almost no chance that 'Sandra left the football' or 'Winona is a sheep' or both.,0,'Sandra left the football' or 'Winona is a sheep' or both. Chances are about even that Fred dropped the milk. It is highly likely that Mary went to the kitchen. There is almost no chance that John put down the apple.,There is almost no chance that either 'Mary went to the kitchen' 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.9::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.884,0.668133626725345,train,highly likely,almost no chance,It is highly likely that either 'Mary went to the kitchen' or 'John put down the apple' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'John put down the apple' but not both.,0,Either 'Mary went to the kitchen' or 'John put down the apple' but not both. It is likely that Sumit is thirsty. It is almost certain that John moved to the office. There is a very good chance that Mary left the apple.,It is probably the case that 'John moved 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.7::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.7371474294858972,train,probably,chances are slight,It is probably the case that 'John moved to the office and Sumit is thirsty'.,Chances are slight that 'John moved to the office and Sumit is thirsty'.,1,'John moved to the office and Sumit is thirsty'. There is little chance that Fred went to the garden. It is improbable that Greg is a rhino. There is a very good chance that Mary left the milk.,There is almost no chance that 'Fred 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.1::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8200000000000001,0.020604120824164834,train,very good chance,almost no chance,There is a very good chance that 'Fred went to the garden' or 'Mary left the milk' or both.,There is almost no chance that 'Fred went to the garden' or 'Mary left the milk' or both.,0,'Fred went to the garden' or 'Mary left the milk' or both. It is highly likely that Jeff dropped the apple. It is certain that Emily is a wolf. It is likely that Brian is a rhino.,It is likely that either 'Jeff dropped 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.9::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.33999999999999997,0.5887177435487098,train,probably not,likely,It is probably not the case that either 'Jeff dropped the apple' or 'Brian is a rhino' but not both.,It is likely that either 'Jeff dropped the apple' or 'Brian is a rhino' but not both.,0,Either 'Jeff dropped the apple' or 'Brian is a rhino' but not both. There is little chance that Julius is gray. It is highly unlikely that Greg is a rhino. We believe that Sandra put down the milk.,It is probable that either 'Julius is gray' 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.1::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.2864572914582917,train,probable,almost no chance,It is probable that either 'Julius is gray' or 'Sandra put down the milk' but not both.,There is almost no chance that either 'Julius is gray' or 'Sandra put down the milk' but not both.,1,Either 'Julius is gray' or 'Sandra put down the milk' but not both. Chances are about even that Bernhard is yellow. It is certain that Julius is a frog. It is almost certain that Brian is white.,Chances are about even that 'Bernhard is yellow' or 'Brian is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.975,0.42208441688337667,train,almost certain,about even,It is almost certain that 'Bernhard is yellow' or 'Brian is white' or both.,Chances are about even that 'Bernhard is yellow' or 'Brian is white' or both.,0,'Bernhard is yellow' or 'Brian is white' or both. We doubt that Mary left the football. Chances are slight that Brian is a swan. It is certain that Julius is yellow.,It is certain that 'Julius 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.2::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.6627325465093019,train,certain,chances are slight,It is certain that 'Julius is yellow' or 'Brian is a swan' or both.,Chances are slight that 'Julius is yellow' or 'Brian is a swan' or both.,1,'Julius is yellow' or 'Brian is a swan' or both. Chances are about even that John grabbed the apple. We doubt that Mary went to the office. It is highly unlikely that Jason is tired.,There is little chance that 'John grabbed the apple and Mary went to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.10000000000000002,0.6777355471094219,train,little chance,likely,There is little chance that 'John grabbed the apple and Mary went to the office'.,It is likely that 'John grabbed the apple and Mary went to the office'.,1,'John grabbed the apple and Mary went to the office'. Chances are about even that Mary is in the hallway. There is a better than even chance that John discarded the milk. We believe that Greg is gray.,It is almost certain that either 'Mary is in the hallway' 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.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5000000000000001,0.5501100220044008,train,about even,almost certain,Chances are about even that either 'Mary is in the hallway' or 'John discarded the milk' but not both.,It is almost certain that either 'Mary is in the hallway' or 'John discarded the milk' but not both.,0,Either 'Mary is in the hallway' or 'John discarded the milk' but not both. Chances are slight that Lily is white. It is probably the case that Julius is yellow. It is probably the case that Mary picked up the milk.,It is highly unlikely that 'Lily is white 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.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.4364872974594919,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is white and Julius is yellow'.,It is almost certain that 'Lily is white and Julius is yellow'.,1,'Lily is white and Julius is yellow'. It is almost certain that Greg is a lion. It is almost certain that Lily is a frog. There is little chance that Mary dropped the milk.,It is almost certain 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.95::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.08961792358471694,train,almost certain,chances are slight,It is almost certain that 'Mary dropped the milk' or 'Lily is a frog' or both.,Chances are slight that 'Mary dropped the milk' or 'Lily is a frog' or both.,1,'Mary dropped the milk' or 'Lily is a frog' or both. Chances are slight that John got the milk. It is probably not the case that Brian is a swan. It is unlikely that Bernhard is gray.,There is almost no chance that 'John got 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.1::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.706741348269654,train,almost no chance,probable,There is almost no chance that 'John got the milk and Brian is a swan'.,It is probable that 'John got the milk and Brian is a swan'.,1,'John got the milk and Brian is a swan'. It is probable that Brian is a lion. It is probable that John took the football. We doubt that Mary left the football.,There is little chance that 'Mary left the football 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.6823364672934586,train,little chance,better than even,There is little chance that 'Mary left the football and Brian is a lion'.,There is a better than even chance that 'Mary left the football and Brian is a lion'.,1,'Mary left the football and Brian is a lion'. There is a better than even chance that Greg is a rhino. We doubt that Mary went to the office. There is little chance that Brian is a frog.,It is almost certain 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.6::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.6165233046609322,train,probably not,almost certain,It is probably not the case that 'Mary went to the office' or 'Brian is a frog' or both.,It is almost certain 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 John went to the garden. It is probably not the case that Lily is yellow. It is almost certain that Bill moved to the office.,It is almost certain that 'Bill moved to the office' 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.25::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.955,0.5251050210042009,train,almost certain,about even,It is almost certain that 'Bill moved to the office' or 'John went to the garden' or both.,Chances are about even that 'Bill moved to the office' or 'John went to the garden' or both.,1,'Bill moved to the office' or 'John went to the garden' or both. There is a very good chance that Sandra took the milk. There is a very good chance that John got the apple. Chances are about even that Brian is a lion.,It is highly unlikely that 'Sandra 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.8::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9600000000000001,0.1384276855371074,train,almost certain,highly unlikely,It is almost certain that 'Sandra took the milk' or 'John got the apple' or both.,It is highly unlikely that 'Sandra took the milk' or 'John got the apple' or both.,0,'Sandra took the milk' or 'John got the apple' or both. There is almost no chance that Mary moved to the office. We believe that Greg is a frog. We doubt that Bernhard is yellow.,We believe that 'Mary moved to the office 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.75::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.004000000000000002,0.3786757351470294,train,impossible,we believe,It is impossible that 'Mary moved to the office and Bernhard is yellow'.,We believe that 'Mary moved to the office and Bernhard is yellow'.,0,'Mary moved to the office and Bernhard is yellow'. It is highly unlikely that John picked up the apple. There is almost no chance that Bernhard is a frog. It is probable that Fred dropped the milk.,It is impossible 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.05::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0010000000000000002,0.04340868173634727,train,impossible,almost certain,It is impossible that 'John picked up the apple and Bernhard is a frog'.,It is almost certain that 'John picked up the apple and Bernhard is a frog'.,1,'John picked up the apple and Bernhard is a frog'. There is almost no chance that Bernhard is a swan. It is probably the case that Sandra left the apple. It is almost certain that Greg is a frog.,There is almost no 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.02::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.019,0.24764952990598119,train,almost no chance,highly likely,There is almost no chance that 'Greg is a frog and Bernhard is a swan'.,It is highly likely that 'Greg is a frog and Bernhard is a swan'.,1,'Greg is a frog and Bernhard is a swan'. There is little chance that Fred left the football. Chances are about even that Mary went to the office. There is little chance that Lily is white.,It is certain that either 'Lily is white' 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.1::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.40868173634726945,train,unlikely,certain,It is unlikely that either 'Lily is white' or 'Fred left the football' but not both.,It is certain that either 'Lily is white' or 'Fred left the football' but not both.,0,Either 'Lily is white' or 'Fred left the football' but not both. It is highly unlikely that Brian is green. There is a better than even chance that Lily is a frog. There is little chance that Julius is white.,It is highly unlikely that either 'Julius 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.05::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.58,0.7677535507101421,train,better than even,highly unlikely,There is a better than even chance that either 'Julius is white' or 'Lily is a frog' but not both.,It is highly unlikely that either 'Julius is white' or 'Lily is a frog' but not both.,0,Either 'Julius is white' or 'Lily is a frog' but not both. It is highly unlikely that Greg is white. It is unlikely that Lily is a frog. There is little chance that Julius is a swan.,We believe that either 'Julius 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.05::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.14000000000000004,0.6257251450290058,train,improbable,we believe,It is improbable that either 'Julius is a swan' or 'Greg is white' but not both.,We believe that either 'Julius is a swan' or 'Greg is white' but not both.,0,Either 'Julius is a swan' or 'Greg is white' but not both. There is almost no chance that Bernhard is a frog. It is probably not the case that Julius is a lion. It is unlikely that Brian is white.,We believe that 'Julius 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.02::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.2022404480896179,train,highly unlikely,we believe,It is highly unlikely that 'Julius is a lion and Brian is white'.,We believe that 'Julius is a lion and Brian is white'.,0,'Julius is a lion and Brian is white'. It is highly likely that Brian is a rhino. Chances are about even that John left the milk. It is probably not the case that Sandra got the football.,It is impossible that either 'John left the milk' 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.5::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5000000000000001,0.035007001400280055,train,about even,impossible,Chances are about even that either 'John left the milk' or 'Sandra got the football' but not both.,It is impossible that either 'John left the milk' or 'Sandra got the football' but not both.,0,Either 'John left the milk' or 'Sandra got the football' but not both. It is probably not the case that Brian is yellow. It is probably the case that Greg is gray. There is little chance that John moved to the garden.,We believe 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.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.6497299459891979,train,we believe,chances are slight,We believe that 'Greg is gray' or 'Brian is yellow' or both.,Chances are slight that 'Greg is gray' or 'Brian is yellow' or both.,1,'Greg is gray' or 'Brian is yellow' or both. It is unlikely that Greg is white. Chances are slight that John moved to the office. We believe that Mary went to the bedroom.,It is almost certain 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.2::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.5467093418683737,train,probably not,almost certain,It is probably not the case that 'Greg is white' or 'John moved to the office' or both.,It is almost certain 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 certain that Sandra took the milk. It is certain that Greg is yellow. There is almost no chance that John is in the garden.,It is impossible that 'Sandra took 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 1.0::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",1.0,0.6821364272854571,train,certain,impossible,It is certain that 'Sandra took the milk and Greg is yellow'.,It is impossible that 'Sandra took the milk and Greg is yellow'.,0,'Sandra took the milk and Greg is yellow'. It is likely that Bernhard is a swan. It is unlikely that Mary went to the office. It is almost certain that Sumit is thirsty.,There is a very good chance 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.7::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.4902980596119224,train,unlikely,very good chance,It is unlikely that 'Mary went to the office and Sumit is thirsty'.,There is a very good chance that 'Mary went to the office and Sumit is thirsty'.,0,'Mary went to the office and Sumit is thirsty'. It is certain that Lily is green. It is almost certain that Sandra left the apple. It is improbable that Greg is yellow.,We doubt that 'Lily is green 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 1.0::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.95,0.27665533106621326,train,almost certain,we doubt,It is almost certain that 'Lily is green and Sandra left the apple'.,We doubt that 'Lily is green and Sandra left the apple'.,0,'Lily is green and Sandra left the apple'. There is almost no chance that Julius is white. It is improbable that John took the football. We believe that Sandra grabbed the apple.,Chances are slight that either 'John took 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.02::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.116,0.16603320664132826,train,chances are slight,we believe,Chances are slight that either 'John took the football' or 'Julius is white' but not both.,We believe that either 'John took the football' or 'Julius is white' but not both.,1,Either 'John took the football' or 'Julius is white' but not both. Chances are slight that Greg is a rhino. It is probable that Brian is a lion. It is probably not the case that Mary moved to the office.,It is probable that 'Mary moved to the office' or 'Greg is a rhino' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.325,0.27345469093818764,train,probably not,probable,It is probably not the case that 'Mary moved to the office' or 'Greg is a rhino' or both.,It is probable that 'Mary moved to the office' or 'Greg is a rhino' or both.,0,'Mary moved to the office' or 'Greg is a rhino' or both. It is probably the case that Julius is gray. It is probably the case that Bill left the milk. There is almost no chance that Mary went to the office.,It is certain that either 'Bill left 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.10902180436087218,train,about even,certain,Chances are about even that either 'Bill left the milk' or 'Julius is gray' but not both.,It is certain that either 'Bill left the milk' or 'Julius is gray' but not both.,0,Either 'Bill left the milk' or 'Julius is gray' but not both. There is a very good chance that Greg is a lion. It is certain that Bernhard is gray. We doubt that Lily is yellow.,It is certain 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.8::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.04860972194438888,train,certain,we doubt,It is certain that 'Bernhard is gray' or 'Greg is a lion' or both.,We doubt that 'Bernhard is gray' or 'Greg is a lion' or both.,1,'Bernhard is gray' or 'Greg is a lion' or both. It is highly likely that Sandra grabbed the apple. There is a very good chance that Fred left the football. It is probably the case that Mary went to the bedroom.,There is almost no chance that either 'Fred left 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.9::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.07121424284856971,train,about even,almost no chance,Chances are about even that either 'Fred left the football' or 'Mary went to the bedroom' but not both.,There is almost no chance that either 'Fred left the football' or 'Mary went to the bedroom' but not both.,0,Either 'Fred left the football' or 'Mary went to the bedroom' but not both. It is probably not the case that Bernhard is gray. It is almost certain that John dropped the milk. It is certain that Antoine is hungry.,It is probably not the case that 'John dropped 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.25::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9625,0.4214842968593719,train,almost certain,probably not,It is almost certain that 'John dropped the milk' or 'Bernhard is gray' or both.,It is probably not the case that 'John dropped the milk' or 'Bernhard is gray' or both.,0,'John dropped the milk' or 'Bernhard is gray' or both. It is improbable that John moved to the garden. Chances are about even that Greg is a lion. It is certain that Sumit is thirsty.,There is a better than even chance that 'John moved 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.1::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.55,0.07941588317663532,train,better than even,almost no chance,There is a better than even chance that 'John moved to the garden' or 'Greg is a lion' or both.,There is almost no chance that 'John moved to the garden' or 'Greg is a lion' or both.,1,'John moved to the garden' or 'Greg is a lion' or both. It is likely that John dropped the milk. We doubt that Mary went to the hallway. It is probably the case that Brian is green.,Chances are about even that either 'Brian is green' 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.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.053610722144428885,train,about even,almost certain,Chances are about even that either 'Brian is green' or 'John dropped the milk' but not both.,It is almost certain that either 'Brian is green' or 'John dropped the milk' but not both.,1,Either 'Brian is green' or 'John dropped the milk' but not both. It is highly likely that Bernhard is gray. We believe that Lily is a swan. There is little chance that Julius is green.,It is likely that 'Bernhard is gray 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.75::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.675,0.4236847369473895,train,likely,unlikely,It is likely that 'Bernhard is gray and Lily is a swan'.,It is unlikely that 'Bernhard is gray and Lily is a swan'.,1,'Bernhard is gray and Lily is a swan'. It is probably the case that Mary left the apple. There is a very good chance that Gertrude is a sheep. It is probable that Greg is a frog.,Chances are about even that either 'Gertrude is a sheep' 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.7::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.7247449489897979,train,about even,highly unlikely,Chances are about even that either 'Gertrude is a sheep' or 'Mary left the apple' but not both.,It is highly unlikely that either 'Gertrude is a sheep' or 'Mary left the apple' but not both.,1,Either 'Gertrude is a sheep' or 'Mary left the apple' but not both. It is highly likely that Bernhard is a swan. It is highly likely that Emily is a mouse. It is impossible that Daniel took the apple.,It is highly likely that either 'Daniel took the apple' 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. 0.9::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9,0.5553110622124425,train,highly likely,unlikely,It is highly likely that either 'Daniel took the apple' or 'Emily is a mouse' but not both.,It is unlikely that either 'Daniel took the apple' or 'Emily is a mouse' but not both.,1,Either 'Daniel took the apple' or 'Emily is a mouse' but not both. Chances are slight that Jeff went to the hallway. There is little chance that Jason is tired. It is highly likely that Julius is white.,It is highly likely that 'Julius 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.1::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.6343268653730746,train,highly likely,chances are slight,It is highly likely that 'Julius is white' or 'Jeff went to the hallway' or both.,Chances are slight that 'Julius is white' or 'Jeff went to the hallway' or both.,1,'Julius is white' or 'Jeff went to the hallway' or both. It is probably not the case that Sandra grabbed the apple. We believe that John went to the kitchen. It is certain that Lily is a rhino.,It is certain that 'Lily is a rhino' 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.25::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.7159431886377275,train,certain,highly unlikely,It is certain that 'Lily is a rhino' or 'Sandra grabbed the apple' or both.,It is highly unlikely that 'Lily is a rhino' or 'Sandra grabbed the apple' or both.,1,'Lily is a rhino' or 'Sandra grabbed the apple' or both. There is little chance that John took the football. Chances are about even that Mary went to the office. We believe that Brian is a frog.,It is highly unlikely that 'John took 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.1::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.55,0.6369273854770954,train,better than even,highly unlikely,There is a better than even chance that 'John took the football' or 'Mary went to the office' or both.,It is highly unlikely that 'John took the football' or 'Mary went to the office' or both.,0,'John took the football' or 'Mary went to the office' or both. It is probably not the case that Bernhard is white. We believe that Lily is a lion. It is highly unlikely that Julius is white.,It is highly unlikely that 'Julius 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.25::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.03750000000000001,0.4052810562112423,train,highly unlikely,certain,It is highly unlikely that 'Julius is white and Lily is a lion'.,It is certain that 'Julius is white and Lily is a lion'.,1,'Julius is white and Lily is a lion'. It is likely that Bernhard is gray. It is almost certain that Julius is yellow. It is probably the case that Greg is a frog.,Chances are about even 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. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.22864572914582917,train,about even,highly unlikely,Chances are about even that 'Bernhard is gray and Greg is a frog'.,It is highly unlikely that 'Bernhard is gray and Greg is a frog'.,1,'Bernhard is gray and Greg is a frog'. It is unlikely that Brian is a lion. It is certain that Mary went to the garden. Chances are about even that Greg is a frog.,Chances are slight that 'Greg 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.2::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6000000000000001,0.7203440688137628,train,better than even,chances are slight,There is a better than even chance that 'Greg is a frog' or 'Brian is a lion' or both.,Chances are slight that 'Greg is a frog' or 'Brian is a lion' or both.,0,'Greg is a frog' or 'Brian is a lion' or both. It is certain that Emily is a sheep. There is a better than even chance that Jessica is a cat. It is unlikely that Mary discarded the milk.,There is a better than even chance that 'Jessica is a cat 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.6::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6,0.015003000600120024,train,better than even,almost no chance,There is a better than even chance that 'Jessica is a cat and Emily is a sheep'.,There is almost no chance that 'Jessica is a cat and Emily is a sheep'.,1,'Jessica is a cat and Emily is a sheep'. It is highly unlikely that Brian is white. We believe that Mary left the football. It is probably not the case that Bernhard is yellow.,It is probably not the case that 'Bernhard is yellow' or 'Brian is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.2875,0.7495499099819964,train,probably not,almost certain,It is probably not the case that 'Bernhard is yellow' or 'Brian is white' or both.,It is almost certain that 'Bernhard is yellow' or 'Brian is white' or both.,1,'Bernhard is yellow' or 'Brian is white' or both. It is almost certain that Emily is a mouse. There is almost no chance that John put down the apple. It is unlikely that Julius is white.,We believe that either 'Julius 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.95::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.77,0.6005201040208041,train,we believe,impossible,We believe that either 'Julius is white' or 'Emily is a mouse' but not both.,It is impossible that either 'Julius is white' or 'Emily is a mouse' but not both.,1,Either 'Julius is white' or 'Emily is a mouse' but not both. There is little chance that Winona is a mouse. It is probably the case that John left the football. It is probably the case that Julius is yellow.,It is probable that either 'Julius is yellow' or 'Winona is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.15943188637727546,train,probable,chances are slight,It is probable that either 'Julius is yellow' or 'Winona is a mouse' but not both.,Chances are slight that either 'Julius is yellow' or 'Winona is a mouse' but not both.,1,Either 'Julius is yellow' or 'Winona is a mouse' but not both. Chances are slight that John moved to the garden. There is a very good chance that Gertrude is a sheep. It is likely that Bernhard is a swan.,It is improbable that 'Gertrude is a sheep 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.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5599999999999999,0.20004000800160032,train,better than even,improbable,There is a better than even chance that 'Gertrude is a sheep and Bernhard is a swan'.,It is improbable that 'Gertrude is a sheep and Bernhard is a swan'.,0,'Gertrude is a sheep and Bernhard is a swan'. There is almost no chance that Julius is a swan. It is certain that Gertrude is a wolf. Chances are slight that Daniel grabbed the milk.,There is a very good chance that 'Julius is a swan 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.02::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02,0.7919583916783357,train,almost no chance,very good chance,There is almost no chance that 'Julius is a swan and Gertrude is a wolf'.,There is a very good chance that 'Julius is a swan and Gertrude is a wolf'.,0,'Julius is a swan and Gertrude is a wolf'. It is highly unlikely that John got the apple. We believe that Jeff left the football. It is impossible that Greg is gray.,It is probably the case that either 'John 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.05::factA. 0.75::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.05000000000000001,0.2556511302260452,train,highly unlikely,probably,It is highly unlikely that either 'John got the apple' or 'Greg is gray' but not both.,It is probably the case that either 'John got the apple' or 'Greg is gray' but not both.,0,Either 'John got the apple' or 'Greg is gray' but not both. It is probably the case that Lily is white. We doubt that Sandra dropped the milk. It is improbable that Julius is yellow.,We believe that 'Sandra dropped 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.7725545109021804,train,we believe,almost no chance,We believe that 'Sandra dropped the milk' or 'Lily is white' or both.,There is almost no chance that 'Sandra dropped the milk' or 'Lily is white' or both.,1,'Sandra dropped the milk' or 'Lily is white' or both. It is unlikely that Antoine is hungry. There is a very good chance that Julius is a lion. We doubt that Brian is yellow.,It is likely that 'Antoine is hungry 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.8::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.16000000000000003,0.007401480296059212,train,unlikely,likely,It is unlikely that 'Antoine is hungry and Julius is a lion'.,It is likely that 'Antoine is hungry and Julius is a lion'.,0,'Antoine is hungry and Julius is a lion'. It is impossible that Brian is a swan. It is unlikely that Julius is yellow. It is highly likely that Emily is a wolf.,It is highly likely that 'Emily is a wolf' 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.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.92,0.5247049409881976,train,highly likely,almost no chance,It is highly likely that 'Emily is a wolf' or 'Julius is yellow' or both.,There is almost no chance that 'Emily is a wolf' or 'Julius is yellow' or both.,1,'Emily is a wolf' or 'Julius is yellow' or both. It is highly likely that Bernhard is green. It is probable that Mary went to the bedroom. There is a very good chance that John discarded the milk.,There is almost no chance that 'John discarded 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.9::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7200000000000001,0.16323264652930586,train,likely,almost no chance,It is likely that 'John discarded the milk and Bernhard is green'.,There is almost no chance that 'John discarded the milk and Bernhard is green'.,0,'John discarded the milk and Bernhard is green'. It is highly likely that Lily is a lion. We doubt that Mary went to the bedroom. It is highly likely that Brian is a rhino.,There is little chance that 'Lily is a lion' 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.9::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.7605521104220844,train,highly likely,little chance,It is highly likely that 'Lily is a lion' or 'Mary went to the bedroom' or both.,There is little chance that 'Lily is a lion' or 'Mary went to the bedroom' or both.,0,'Lily is a lion' or 'Mary went to the bedroom' or both. It is improbable that Greg is white. There is almost no chance that Brian is a swan. It is improbable that Mary went to the kitchen.,It is almost certain that either 'Brian 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.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.116,0.5461092218443688,train,chances are slight,almost certain,Chances are slight that either 'Brian is a swan' or 'Greg is white' but not both.,It is almost certain that either 'Brian is a swan' or 'Greg is white' but not both.,0,Either 'Brian is a swan' or 'Greg is white' but not both. There is a very good chance that Julius is a rhino. We doubt that Bernhard is a swan. It is highly likely that Mary went to the bedroom.,Chances are slight that 'Julius is a rhino' or 'Bernhard is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8400000000000001,0.22964592918583718,train,very good chance,chances are slight,There is a very good chance that 'Julius is a rhino' or 'Bernhard is a swan' or both.,Chances are slight that 'Julius is a rhino' or 'Bernhard is a swan' or both.,0,'Julius is a rhino' or 'Bernhard is a swan' or both. It is improbable that Brian is white. It is almost certain that John left the milk. It is probable that Greg is a frog.,There is little chance that either 'Brian 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.1::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.6057211442288458,train,highly likely,little chance,It is highly likely that either 'Brian is white' or 'John left the milk' but not both.,There is little chance that either 'Brian is white' or 'John left the milk' but not both.,0,Either 'Brian is white' or 'John left the milk' but not both. There is a very good chance that Julius is gray. We doubt that Brian is green. It is probably not the case that John went to the kitchen.,It is unlikely that 'Julius is gray 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.8::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.7109421884376875,train,unlikely,probable,It is unlikely that 'Julius is gray and John went to the kitchen'.,It is probable that 'Julius is gray and John went to the kitchen'.,1,'Julius is gray and John went to the kitchen'. It is probably not the case that John moved to the garden. It is almost certain that Greg is a lion. It is improbable that Bernhard is green.,It is likely that 'Greg is a lion 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2375,0.7649529905981196,train,probably not,likely,It is probably not the case that 'Greg is a lion and John moved to the garden'.,It is likely that 'Greg is a lion and John moved to the garden'.,0,'Greg is a lion and John moved to the garden'. It is probably not the case that Bernhard is yellow. It is impossible that Greg is a lion. It is likely that Sandra left the milk.,It is impossible that 'Sandra left the milk and Greg is a lion'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.742748549709942,train,impossible,we believe,It is impossible that 'Sandra left the milk and Greg is a lion'.,We believe that 'Sandra left the milk and Greg is a lion'.,1,'Sandra left the milk and Greg is a lion'. It is highly unlikely that Brian is a lion. It is highly likely that Mary went to the office. We doubt that John took the football.,It is unlikely that 'Brian is a lion' 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.9::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.905,0.6913382676535307,train,highly likely,unlikely,It is highly likely that 'Brian is a lion' or 'Mary went to the office' or both.,It is unlikely that 'Brian is a lion' or 'Mary went to the office' or both.,0,'Brian is a lion' or 'Mary went to the office' or both. Chances are slight that John went to the office. It is impossible that Brian is gray. It is improbable that Lily is gray.,It is probably the case that either 'John 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.7707541508301661,train,unlikely,probably,It is unlikely that either 'John went to the office' or 'Lily is gray' but not both.,It is probably the case that either 'John went to the office' or 'Lily is gray' but not both.,0,Either 'John went to the office' or 'Lily is gray' but not both. It is certain that Brian is a lion. There is a very good chance that Mary got the football. Chances are about even that John discarded the apple.,It is impossible 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 1.0::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.4,0.135627125425085,train,about even,impossible,Chances are about even that 'Mary got the football and John discarded the apple'.,It is impossible that 'Mary got the football and John discarded the apple'.,0,'Mary got the football and John discarded the apple'. It is almost certain that Bernhard is yellow. It is probably the case that Sandra dropped the milk. There is a very good chance that Sumit is bored.,It is certain that 'Bernhard is yellow' 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.95::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.99,0.20784156831366274,train,certain,about even,It is certain that 'Bernhard is yellow' or 'Sumit is bored' or both.,Chances are about even that 'Bernhard is yellow' or 'Sumit is bored' or both.,1,'Bernhard is yellow' or 'Sumit is bored' or both. It is unlikely that Julius is a rhino. There is a better than even chance that Jessica is a cat. It is impossible that Mary went to the garden.,It is impossible that 'Mary went to the garden 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.6::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.2768553710742148,train,impossible,very good chance,It is impossible that 'Mary went to the garden and Jessica is a cat'.,There is a very good chance that 'Mary went to the garden and Jessica is a cat'.,1,'Mary went to the garden and Jessica is a cat'. It is impossible that Julius is a swan. There is a very good chance that Sandra left the milk. It is impossible that John grabbed the apple.,It is impossible that 'John grabbed 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.8::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.7155431086217243,train,impossible,we believe,It is impossible that 'John grabbed the apple and Julius is a swan'.,We believe that 'John grabbed the apple and Julius is a swan'.,1,'John grabbed the apple and Julius is a swan'. It is certain that Lily is a rhino. There is almost no chance that Julius is white. It is highly likely that Bernhard is a frog.,It is highly likely that 'Julius 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 1.0::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.902,0.7279455891178236,train,highly likely,highly unlikely,It is highly likely that 'Julius is white' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Julius is white' or 'Bernhard is a frog' or both.,1,'Julius is white' or 'Bernhard is a frog' or both. There is a better than even chance that Mary moved to the garden. We doubt that Bill went to the office. It is impossible that Sandra put down the milk.,It is probably not the case that 'Bill went to the office' 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.6::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.68,0.009801960392078415,train,probable,probably not,It is probable that 'Bill went to the office' or 'Mary moved to the garden' or both.,It is probably not the case that 'Bill went to the office' or 'Mary moved to the garden' or both.,0,'Bill went to the office' or 'Mary moved to the garden' or both. It is improbable that Greg is a frog. It is impossible that John put down the apple. We believe that Bill moved to the office.,We believe that 'Bill moved to the office' 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.0::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.75,0.6085217043408682,train,we believe,chances are slight,We believe that 'Bill moved to the office' or 'John put down the apple' or both.,Chances are slight that 'Bill moved to the office' or 'John put down the apple' or both.,1,'Bill moved to the office' or 'John put down the apple' or both. Chances are about even that Lily is a swan. It is unlikely that Mary picked up the milk. It is probably the case that Julius is yellow.,There is a very good chance that 'Julius 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. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.85,0.34006801360272054,train,very good chance,improbable,There is a very good chance that 'Julius is yellow' or 'Lily is a swan' or both.,It is improbable that 'Julius is yellow' or 'Lily is a swan' or both.,1,'Julius is yellow' or 'Lily is a swan' or both. There is a very good chance that Brian is white. There is almost no chance that John got the milk. There is little chance that Mary went to the office.,It is highly likely that 'Mary went to the office' 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.8::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.11800000000000002,0.3348669733946789,train,improbable,highly likely,It is improbable that 'Mary went to the office' or 'John got the milk' or both.,It is highly likely that 'Mary went to the office' or 'John got the milk' or both.,0,'Mary went to the office' or 'John got the milk' or both. It is almost certain that Mary put down the milk. It is certain that Sandra got the milk. It is likely that John went to the garden.,It is probable that 'John 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.95::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7,0.08941788357671535,train,probable,little chance,It is probable that 'John went to the garden and Sandra got the milk'.,There is little chance that 'John went to the garden and Sandra got the milk'.,1,'John went to the garden and Sandra got the milk'. We doubt that Sumit is thirsty. It is highly likely that Mary went to the office. It is highly likely that Brian is a rhino.,It is highly likely that 'Sumit is thirsty' 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.9::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.23344668933786758,train,highly likely,we doubt,It is highly likely that 'Sumit is thirsty' or 'Mary went to the office' or both.,We doubt that 'Sumit is thirsty' or 'Mary went to the office' or both.,1,'Sumit is thirsty' or 'Mary went to the office' or both. It is impossible that Mary picked up the milk. It is impossible that Brian is yellow. We doubt that Greg is a swan.,It is likely 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.0::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.2,0.2548509701940388,train,unlikely,likely,It is unlikely that either 'Greg is a swan' or 'Brian is yellow' but not both.,It is likely that either 'Greg is a swan' or 'Brian is yellow' but not both.,0,Either 'Greg is a swan' or 'Brian is yellow' but not both. There is almost no chance that John went to the hallway. There is a very good chance that Greg is a frog. It is improbable that Brian is a rhino.,There is a very good chance that 'Greg is a frog' 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.02::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.804,0.7523504700940188,train,very good chance,improbable,There is a very good chance that 'Greg is a frog' or 'John went to the hallway' or both.,It is improbable that 'Greg is a frog' or 'John went to the hallway' or both.,1,'Greg is a frog' or 'John went to the hallway' or both. It is probable that Gertrude is a mouse. It is almost certain that Lily is a lion. Chances are about even that John went to the office.,It is certain that either 'Gertrude is a mouse' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.7083416683336667,train,about even,certain,Chances are about even that either 'Gertrude is a mouse' or 'John went to the office' but not both.,It is certain that either 'Gertrude is a mouse' or 'John went to the office' but not both.,0,Either 'Gertrude is a mouse' or 'John went to the office' but not both. It is impossible that Sumit is thirsty. We doubt that Lily is a frog. It is highly unlikely that Mary is in the hallway.,There is a very good chance that 'Mary is in the hallway 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.2::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.010000000000000004,0.020004000800160033,train,almost no chance,very good chance,There is almost no chance that 'Mary is in the hallway and Lily is a frog'.,There is a very good chance that 'Mary is in the hallway and Lily is a frog'.,0,'Mary is in the hallway and Lily is a frog'. It is unlikely that Bernhard is green. It is probably not the case that Daniel left the football. It is highly unlikely that Mary dropped the apple.,There is a very good chance that 'Mary dropped the apple' 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.25::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.2875,0.7061412282456492,train,probably not,very good chance,It is probably not the case that 'Mary dropped the apple' or 'Daniel left the football' or both.,There is a very good chance that 'Mary dropped the apple' or 'Daniel left the football' or both.,0,'Mary dropped the apple' or 'Daniel left the football' or both. There is little chance that Greg is gray. It is probably not the case that John grabbed the milk. It is certain that Brian is green.,It is certain that 'Greg 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.1::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.4462892578515703,train,certain,improbable,It is certain that 'Greg is gray' or 'Brian is green' or both.,It is improbable that 'Greg is gray' or 'Brian is green' or both.,1,'Greg is gray' or 'Brian is green' or both. We believe that Greg is a rhino. It is improbable that Julius is green. Chances are about even that Bernhard is a swan.,It is certain that either 'Greg is a rhino' 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.1::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.5913182636527305,train,about even,certain,Chances are about even that either 'Greg is a rhino' or 'Bernhard is a swan' but not both.,It is certain that either 'Greg is a rhino' or 'Bernhard is a swan' but not both.,0,Either 'Greg is a rhino' or 'Bernhard is a swan' but not both. There is little chance that Brian is a frog. It is probably the case that Lily is a rhino. It is probably the case that Mary dropped the apple.,It is certain that either 'Mary 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.11402280456091218,train,about even,certain,Chances are about even that either 'Mary dropped the apple' or 'Lily is a rhino' but not both.,It is certain that either 'Mary dropped the apple' or 'Lily is a rhino' but not both.,0,Either 'Mary dropped the apple' or 'Lily is a rhino' but not both. Chances are slight that John picked up the apple. It is improbable that Julius is a rhino. There is almost no chance that Jessica is a mouse.,There is a very good chance that 'Julius 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.1::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0020000000000000005,0.04440888177635527,train,impossible,very good chance,It is impossible that 'Julius is a rhino and Jessica is a mouse'.,There is a very good chance that 'Julius is a rhino and Jessica is a mouse'.,0,'Julius is a rhino and Jessica is a mouse'. It is unlikely that John took the football. It is almost certain that Brian is a rhino. It is highly likely that Mary dropped the milk.,It is certain that 'Brian is a rhino' 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.95::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.995,0.2388477695539108,train,certain,impossible,It is certain that 'Brian is a rhino' or 'Mary dropped the milk' or both.,It is impossible that 'Brian is a rhino' or 'Mary dropped the milk' or both.,1,'Brian is a rhino' or 'Mary dropped the milk' or both. There is almost no chance that Bernhard is yellow. There is almost no chance that John got the apple. We believe that Lily is a swan.,There is almost no chance that 'Lily 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.02::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014999999999999998,0.7775555111022204,train,almost no chance,we believe,There is almost no chance that 'Lily is a swan and Bernhard is yellow'.,We believe that 'Lily is a swan and Bernhard is yellow'.,1,'Lily is a swan and Bernhard is yellow'. It is impossible that Bill left the milk. We believe that Greg is yellow. There is almost no chance that Bernhard is yellow.,We doubt that 'Greg is yellow' 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.0::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.5689137827565514,train,we believe,we doubt,We believe that 'Greg is yellow' or 'Bernhard is yellow' or both.,We doubt that 'Greg is yellow' or 'Bernhard is yellow' or both.,0,'Greg is yellow' or 'Bernhard is yellow' or both. It is impossible that Daniel dropped the apple. It is likely that Jeff went to the bedroom. There is a very good chance that Bernhard is a lion.,It is highly unlikely that 'Jeff went to the bedroom' 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.7::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.5651130226045209,train,probable,highly unlikely,It is probable that 'Jeff went to the bedroom' or 'Daniel dropped the apple' or both.,It is highly unlikely that 'Jeff went to the bedroom' or 'Daniel dropped the apple' or both.,0,'Jeff went to the bedroom' or 'Daniel dropped the apple' or both. It is certain that Gertrude is a mouse. It is probably not the case that Brian is a lion. It is almost certain that Bernhard is green.,It is certain that either 'Bernhard is green' 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 1.0::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.05000000000000005,0.15203040608121624,train,highly unlikely,certain,It is highly unlikely that either 'Bernhard is green' or 'Gertrude is a mouse' but not both.,It is certain that either 'Bernhard is green' or 'Gertrude is a mouse' but not both.,0,Either 'Bernhard is green' or 'Gertrude is a mouse' but not both. We believe that Greg is yellow. Chances are about even that John moved to the office. It is probable that Bernhard is a frog.,Chances are about even that 'Greg is yellow 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.375,0.33146629325865173,train,about even,impossible,Chances are about even that 'Greg is yellow and John moved to the office'.,It is impossible that 'Greg is yellow and John moved to the office'.,1,'Greg is yellow and John moved to the office'. We believe that Brian is a rhino. There is a very good chance that John discarded the apple. It is probable that Greg is a frog.,It is highly unlikely that 'Greg 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.75::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.525,0.34146829365873177,train,about even,highly unlikely,Chances are about even that 'Greg is a frog and Brian is a rhino'.,It is highly unlikely that 'Greg is a frog and Brian is a rhino'.,0,'Greg is a frog and Brian is a rhino'. We believe that John went to the office. We believe that Julius is yellow. It is unlikely that Bernhard is a frog.,It is likely that either 'Bernhard 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.75::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.65,0.4196839367873575,train,likely,almost no chance,It is likely that either 'Bernhard is a frog' or 'Julius is yellow' but not both.,There is almost no chance that either 'Bernhard is a frog' or 'Julius is yellow' but not both.,1,Either 'Bernhard is a frog' or 'Julius is yellow' but not both. It is probably not the case that Jessica is a cat. We doubt that Julius is a rhino. It is probably the case that Mary moved to the garden.,There is a very good chance that 'Mary moved 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.25::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.5047009401880376,train,very good chance,highly unlikely,There is a very good chance that 'Mary moved to the garden' or 'Jessica is a cat' or both.,It is highly unlikely that 'Mary moved to the garden' or 'Jessica is a cat' or both.,1,'Mary moved to the garden' or 'Jessica is a cat' or both. It is improbable that Bernhard is a swan. It is highly unlikely that Mary put down the apple. It is highly likely that Julius is a lion.,There is a very good chance that either 'Julius is a lion' or 'Bernhard is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.82,0.3776755351070214,train,very good chance,improbable,There is a very good chance that either 'Julius is a lion' or 'Bernhard is a swan' but not both.,It is improbable that either 'Julius is a lion' or 'Bernhard is a swan' but not both.,1,Either 'Julius is a lion' or 'Bernhard is a swan' but not both. We believe that Sandra grabbed the apple. There is almost no chance that Julius is a swan. Chances are about even that Bernhard is a frog.,We believe that either 'Sandra grabbed 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.75::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.6753350670134027,train,we believe,chances are slight,We believe that either 'Sandra grabbed the apple' or 'Julius is a swan' but not both.,Chances are slight that either 'Sandra grabbed the apple' or 'Julius is a swan' but not both.,1,Either 'Sandra grabbed the apple' or 'Julius is a swan' but not both. It is highly likely that Mary got the milk. It is impossible that John went to the kitchen. It is certain that Brian is a frog.,It is impossible that 'Brian is a frog and John went to the kitchen'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.7743548709741949,train,impossible,certain,It is impossible that 'Brian is a frog and John went to the kitchen'.,It is certain that 'Brian is a frog and John went to the kitchen'.,1,'Brian is a frog and John went to the kitchen'. There is little chance that Antoine is hungry. It is likely that Brian is a lion. It is probably the case that Greg is a rhino.,It is unlikely that either 'Greg is a rhino' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.6173234646929386,train,likely,unlikely,It is likely that either 'Greg is a rhino' or 'Antoine is hungry' but not both.,It is unlikely that either 'Greg is a rhino' or 'Antoine is hungry' but not both.,0,Either 'Greg is a rhino' or 'Antoine is hungry' but not both. It is impossible that Jeff left the apple. It is probably not the case that Mary grabbed the milk. There is a very good chance that Brian is a rhino.,It is probably not the case that 'Mary grabbed the milk' 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.0::factA. 0.25::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.25,0.6323264652930586,train,probably not,we believe,It is probably not the case that 'Mary grabbed the milk' or 'Jeff left the apple' or both.,We believe that 'Mary grabbed the milk' or 'Jeff left the apple' or both.,1,'Mary grabbed the milk' or 'Jeff left the apple' or both. There is almost no chance that Mary went to the garden. It is likely that Winona is a cat. It is probable that Greg is a swan.,It is probable that 'Mary went 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.02::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.706,0.47989597919583915,train,probable,unlikely,It is probable that 'Mary went to the garden' or 'Greg is a swan' or both.,It is unlikely that 'Mary went to the garden' or 'Greg is a swan' or both.,1,'Mary went to the garden' or 'Greg is a swan' or both. It is unlikely that Bernhard is a lion. Chances are slight that Julius is a frog. There is almost no chance that Brian is white.,It is impossible that 'Bernhard 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.2::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.004000000000000002,0.7433486697339468,train,impossible,we believe,It is impossible that 'Bernhard is a lion and Brian is white'.,We believe that 'Bernhard is a lion and Brian is white'.,1,'Bernhard is a lion and Brian is white'. It is improbable that Greg is a rhino. We believe that Mary went to the garden. Chances are slight that Lily is a swan.,We believe that 'Lily 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.1::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07500000000000002,0.5559111822364473,train,little chance,we believe,There is little chance that 'Lily is a swan and Mary went to the garden'.,We believe that 'Lily is a swan and Mary went to the garden'.,0,'Lily is a swan and Mary went to the garden'. We believe that Mary got the milk. Chances are about even that Yann is thirsty. There is almost no chance that John dropped the apple.,Chances are about even that either 'Mary got the milk' or 'Yann 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.75::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5000000000000001,0.10822164432886577,train,about even,almost certain,Chances are about even that either 'Mary got the milk' or 'Yann is thirsty' but not both.,It is almost certain that either 'Mary got the milk' or 'Yann is thirsty' but not both.,1,Either 'Mary got the milk' or 'Yann is thirsty' but not both. It is probable that Greg is white. It is impossible that Jeff moved to the office. There is a better than even chance that Sandra left the football.,It is highly unlikely that 'Sandra left the football 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.0::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.41999999999999993,0.27965593118623727,train,about even,highly unlikely,Chances are about even that 'Sandra left the football and Greg is white'.,It is highly unlikely that 'Sandra left the football and Greg is white'.,0,'Sandra left the football and Greg is white'. It is likely that Mary moved to the office. It is improbable that Brian is a lion. There is a better than even chance that Jason is tired.,We believe that 'Brian is a lion' 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.1::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.26125225045009004,train,we believe,impossible,We believe that 'Brian is a lion' or 'Mary moved to the office' or both.,It is impossible that 'Brian is a lion' or 'Mary moved to the office' or both.,1,'Brian is a lion' or 'Mary moved to the office' or both. It is highly unlikely that Sandra put down the milk. There is almost no chance that Mary went to the hallway. Chances are about even that Greg is white.,It is highly unlikely that 'Sandra put down 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.05::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.525,0.7175435087017403,train,about even,highly unlikely,Chances are about even that 'Sandra put down the milk' or 'Greg is white' or both.,It is highly unlikely that 'Sandra put down the milk' or 'Greg is white' or both.,0,'Sandra put down the milk' or 'Greg is white' or both. It is probably the case that Bernhard is a rhino. It is probably the case that John moved to the garden. There is a very good chance that Sandra left the milk.,Chances are about even that 'Bernhard 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.7::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.5185037007401481,train,about even,almost no chance,Chances are about even that 'Bernhard is a rhino and John moved to the garden'.,There is almost no chance that 'Bernhard is a rhino and John moved to the garden'.,1,'Bernhard is a rhino and John moved to the garden'. It is probably not the case that Jeff discarded the milk. It is highly likely that Bernhard is gray. It is probably the case that John got the apple.,There is almost no chance that 'Bernhard is gray' 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.9::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.97,0.3764752950590118,train,almost certain,almost no chance,It is almost certain that 'Bernhard is gray' or 'John got the apple' or both.,There is almost no chance that 'Bernhard is gray' or 'John got the apple' or both.,0,'Bernhard is gray' or 'John got the apple' or both. Chances are slight that Mary put down the milk. It is probably the case that Brian is a swan. There is little chance that John discarded the milk.,There is a better than even chance that 'John discarded the milk and Mary put down the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.7321464292858572,train,almost no chance,better than even,There is almost no chance that 'John discarded the milk and Mary put down the milk'.,There is a better than even chance that 'John discarded the milk and Mary put down the milk'.,0,'John discarded the milk and Mary put down the milk'. We doubt that John grabbed the apple. There is a better than even chance that Greg is a lion. Chances are slight that Brian is a frog.,It is probably not the case that 'Brian is a frog' 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.2::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.3744748949789958,train,probably not,very good chance,It is probably not the case that 'Brian is a frog' or 'John grabbed the apple' or both.,There is a very good chance that 'Brian is a frog' or 'John grabbed the apple' or both.,1,'Brian is a frog' or 'John grabbed the apple' or both. Chances are about even that Bernhard is a rhino. It is certain that Greg is yellow. Chances are slight that Fred moved to the office.,It is highly unlikely that either 'Fred 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.5::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.7261452290458091,train,about even,highly unlikely,Chances are about even that either 'Fred moved to the office' or 'Bernhard is a rhino' but not both.,It is highly unlikely that either 'Fred moved to the office' or 'Bernhard is a rhino' but not both.,0,Either 'Fred moved to the office' or 'Bernhard is a rhino' but not both. It is certain that John went to the kitchen. It is highly likely that Lily is gray. It is probably not the case that Greg is a rhino.,It is unlikely that either 'John went to the kitchen' 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.9::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.75,0.7727545509101821,train,we believe,unlikely,We believe that either 'John went to the kitchen' or 'Greg is a rhino' but not both.,It is unlikely that either 'John went to the kitchen' or 'Greg is a rhino' but not both.,0,Either 'John went to the kitchen' or 'Greg is a rhino' but not both. It is improbable that Mary took the football. There is a very good chance that Greg is green. It is unlikely that Julius is a lion.,There is little chance that 'Greg is green 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.8::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.15683136627325464,train,little chance,very good chance,There is little chance that 'Greg is green and Mary took the football'.,There is a very good chance that 'Greg is green and Mary took the football'.,1,'Greg is green and Mary took the football'. It is probably the case that Brian is a frog. There is a better than even chance that John dropped the apple. There is little chance that Bernhard is a swan.,There is a better than even chance that 'Bernhard 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.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.64,0.014802960592118424,train,better than even,little chance,There is a better than even chance that 'Bernhard is a swan' or 'John dropped the apple' or both.,There is little chance that 'Bernhard is a swan' or 'John dropped the apple' or both.,1,'Bernhard is a swan' or 'John dropped the apple' or both. It is almost certain that Bernhard is white. It is certain that Daniel got the milk. It is highly unlikely that Julius is a frog.,It is almost certain 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.95::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.16883376675335068,train,almost certain,probably not,It is almost certain that either 'Julius is a frog' or 'Daniel got the milk' but not both.,It is probably not the case that either 'Julius is a frog' or 'Daniel got the milk' but not both.,1,Either 'Julius is a frog' or 'Daniel got the milk' but not both. It is probably the case that Mary grabbed the milk. Chances are about even that Lily is a rhino. Chances are about even that Julius is a swan.,It is probably not the case that 'Julius is a swan 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.5::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.25,0.0622124424884977,train,probably not,we believe,It is probably not the case that 'Julius is a swan and Lily is a rhino'.,We believe that 'Julius is a swan and Lily is a rhino'.,1,'Julius is a swan and Lily is a rhino'. It is likely that Bernhard is a rhino. It is impossible that Julius is yellow. There is little chance that Greg is a swan.,It is likely that either 'Bernhard 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.22804560912182437,train,likely,unlikely,It is likely that either 'Bernhard is a rhino' or 'Greg is a swan' but not both.,It is unlikely that either 'Bernhard is a rhino' or 'Greg is a swan' but not both.,1,Either 'Bernhard is a rhino' or 'Greg is a swan' but not both. It is probably not the case that John took the apple. There is a better than even chance that Sandra got the milk. There is little chance that Gertrude is a sheep.,There is a better than even chance 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.25::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.58,0.20844168833766755,train,better than even,impossible,There is a better than even chance that either 'Sandra got the milk' or 'Gertrude is a sheep' but not both.,It is impossible 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 a very good chance that Mary went to the office. There is almost no chance that Brian is a swan. There is a very good chance that Greg is yellow.,There is a better than even chance that 'Greg 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.8::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.64,0.2518503700740148,train,better than even,almost no chance,There is a better than even chance that 'Greg is yellow and Mary went to the office'.,There is almost no chance that 'Greg is yellow and Mary went to the office'.,1,'Greg is yellow and Mary went to the office'. It is highly unlikely that Daniel took the milk. There is almost no chance that Mary went to the office. It is likely that Emily is a sheep.,It is probable 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.05::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.706,0.5909181836367273,train,probable,impossible,It is probable that 'Emily is a sheep' or 'Mary went to the office' or both.,It is impossible that 'Emily is a sheep' or 'Mary went to the office' or both.,1,'Emily is a sheep' or 'Mary went to the office' or both. It is certain that Greg is a frog. It is highly unlikely that Julius is a lion. It is probably not the case that Emily is a cat.,Chances are slight that 'Emily is a cat' 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 1.0::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.17443488697739548,train,certain,chances are slight,It is certain that 'Emily is a cat' or 'Greg is a frog' or both.,Chances are slight that 'Emily is a cat' or 'Greg is a frog' or both.,0,'Emily is a cat' or 'Greg is a frog' or both. Chances are slight that Bernhard is a swan. It is certain that John went to the hallway. We doubt that Lily is a rhino.,It is highly unlikely that 'Bernhard is a swan' 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.5739147829565914,train,certain,highly unlikely,It is certain that 'Bernhard is a swan' or 'John went to the hallway' or both.,It is highly unlikely that 'Bernhard is a swan' or 'John went to the hallway' or both.,0,'Bernhard is a swan' or 'John went to the hallway' or both. Chances are slight that Brian is white. It is certain that Julius is gray. It is highly likely that Sandra dropped the apple.,It is certain that 'Sandra dropped the apple 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. 1.0::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09000000000000001,0.017003400680136026,train,little chance,certain,There is little chance that 'Sandra dropped the apple and Brian is white'.,It is certain that 'Sandra dropped the apple and Brian is white'.,0,'Sandra dropped the apple and Brian is white'. It is probable that Sandra took the milk. It is improbable that Julius is a frog. It is probable that John went to the kitchen.,Chances are about even that either 'John went to the kitchen' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.6907381476295259,train,about even,impossible,Chances are about even that either 'John went to the kitchen' or 'Sandra took the milk' but not both.,It is impossible that either 'John went to the kitchen' or 'Sandra took the milk' but not both.,1,Either 'John went to the kitchen' or 'Sandra took the milk' but not both. It is probably not the case that Jeff moved to the office. There is a very good chance that Julius is gray. It is probable that Fred went to the garden.,It is unlikely that 'Fred went 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.25::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.94,0.6687337467493498,train,almost certain,unlikely,It is almost certain that 'Fred went to the garden' or 'Julius is gray' or both.,It is unlikely that 'Fred went to the garden' or 'Julius is gray' or both.,0,'Fred went to the garden' or 'Julius is gray' or both. Chances are about even that Mary picked up the apple. It is certain that Julius is a rhino. Chances are slight that Sandra left the football.,Chances are slight that 'Mary picked up the apple' or 'Julius is a rhino' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.4356871374274855,train,certain,chances are slight,It is certain that 'Mary picked up the apple' or 'Julius is a rhino' or both.,Chances are slight that 'Mary picked up the apple' or 'Julius is a rhino' or both.,0,'Mary picked up the apple' or 'Julius is a rhino' or both. It is probable that John discarded the milk. There is little chance that Gertrude is a cat. It is unlikely that Antoine is hungry.,Chances are slight that 'Antoine is hungry' 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. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.16443288657731547,train,we believe,chances are slight,We believe that 'Antoine is hungry' or 'John discarded the milk' or both.,Chances are slight that 'Antoine is hungry' or 'John discarded the milk' or both.,0,'Antoine is hungry' or 'John discarded the milk' or both. It is impossible that Bernhard is a swan. It is likely that John moved to the office. There is little chance that Lily is a frog.,We doubt that either 'Lily 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.0::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.7963592718543708,train,probably,we doubt,It is probably the case that either 'Lily is a frog' or 'John moved to the office' but not both.,We doubt that either 'Lily is a frog' or 'John moved to the office' but not both.,0,Either 'Lily is a frog' or 'John moved to the office' but not both. Chances are about even that Julius is yellow. It is likely that Bernhard is a swan. It is probable that Fred dropped the milk.,It is highly likely that 'Fred dropped 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.021004200840168033,train,highly likely,improbable,It is highly likely that 'Fred dropped the milk' or 'Bernhard is a swan' or both.,It is improbable that 'Fred dropped the milk' or 'Bernhard is a swan' or both.,1,'Fred dropped the milk' or 'Bernhard is a swan' or both. It is highly unlikely that John took the apple. It is almost certain that Sumit is hungry. We believe that Bill left the milk.,It is highly likely that either 'Sumit is hungry' 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.05::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.275,0.6521304260852171,train,probably not,highly likely,It is probably not the case that either 'Sumit is hungry' or 'Bill left the milk' but not both.,It is highly likely that either 'Sumit is hungry' or 'Bill left the milk' but not both.,0,Either 'Sumit is hungry' or 'Bill left the milk' but not both. There is almost no chance that Brian is gray. We doubt that Gertrude is a mouse. It is probably the case that Bill went to the office.,It is probably the case that 'Brian is gray' 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.02::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.706,0.14762952590518102,train,probably,impossible,It is probably the case that 'Brian is gray' or 'Bill went to the office' or both.,It is impossible that 'Brian is gray' or 'Bill went to the office' or both.,1,'Brian is gray' or 'Bill went to the office' or both. It is probably not the case that Bernhard is a frog. Chances are about even that Mary left the football. It is probably not the case that Brian is a swan.,Chances are about even that either 'Brian 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.25::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.375,0.6817363472694539,train,about even,certain,Chances are about even that either 'Brian is a swan' or 'Bernhard is a frog' but not both.,It is certain that either 'Brian is a swan' or 'Bernhard is a frog' but not both.,1,Either 'Brian is a swan' or 'Bernhard is a frog' but not both. We doubt that Bernhard is a swan. There is almost no chance that Lily is yellow. There is almost no chance that Julius is a rhino.,We believe that either 'Julius 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.2::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.039200000000000006,0.03660732146429286,train,highly unlikely,we believe,It is highly unlikely that either 'Julius is a rhino' or 'Lily is yellow' but not both.,We believe that either 'Julius is a rhino' or 'Lily is yellow' but not both.,0,Either 'Julius is a rhino' or 'Lily is yellow' but not both. It is probably not the case that Sandra got the milk. There is almost no chance that Greg is a rhino. It is probably the case that John went to the garden.,It is likely that 'Greg 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. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.706,0.6083216643328666,train,likely,chances are slight,It is likely that 'Greg is a rhino' or 'John went to the garden' or both.,Chances are slight that 'Greg is a rhino' or 'John went to the garden' or both.,1,'Greg is a rhino' or 'John went to the garden' or both. There is a better than even chance that Sumit is thirsty. We doubt that Daniel took the milk. We doubt that John got the apple.,It is highly likely that either 'Daniel took the milk' 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.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.7283456691338268,train,probably not,highly likely,It is probably not the case that either 'Daniel took the milk' or 'John got the apple' but not both.,It is highly likely that either 'Daniel took the milk' or 'John got the apple' but not both.,0,Either 'Daniel took the milk' or 'John got the apple' but not both. It is highly likely that Gertrude is a sheep. There is little chance that Mary took the football. It is improbable that John dropped the apple.,There is a very good chance that either 'Gertrude is a sheep' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.5169033806761353,train,very good chance,impossible,There is a very good chance that either 'Gertrude is a sheep' or 'John dropped the apple' but not both.,It is impossible that either 'Gertrude is a sheep' or 'John dropped the apple' but not both.,1,Either 'Gertrude is a sheep' or 'John dropped the apple' but not both. It is almost certain that Lily is white. Chances are slight that Bernhard is green. There is little chance that Greg is yellow.,It is unlikely that 'Lily is white' 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.95::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.955,0.33566713342668536,train,almost certain,unlikely,It is almost certain that 'Lily is white' or 'Bernhard is green' or both.,It is unlikely that 'Lily is white' or 'Bernhard is green' or both.,0,'Lily is white' or 'Bernhard is green' or both. There is almost no chance that Emily is a sheep. There is a very good chance that Mary got the apple. It is highly unlikely that Lily is green.,It is highly unlikely that 'Lily is green' 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.8::factB. 0.05::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.069,0.45069013802760555,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is green' or 'Emily is a sheep' or both.,It is highly likely that 'Lily is green' or 'Emily is a sheep' or both.,1,'Lily is green' or 'Emily is a sheep' or both. We doubt that Bernhard is a swan. It is certain that John went to the office. It is probably the case that Mary is in the school.,It is certain that 'John 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.2::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.09161832366473295,train,certain,about even,It is certain that 'John went to the office' or 'Bernhard is a swan' or both.,Chances are about even that 'John went to the office' or 'Bernhard is a swan' or both.,1,'John went to the office' or 'Bernhard is a swan' or both. It is unlikely that Greg is gray. We doubt that John got the football. It is improbable that Mary picked up the apple.,There is a very good chance that 'John got the football' 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.2::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.26405281056211244,train,probably not,very good chance,It is probably not the case that 'John got the football' or 'Mary picked up the apple' or both.,There is a very good chance that 'John got the football' or 'Mary picked up the apple' or both.,0,'John got the football' or 'Mary picked up the apple' or both. There is a better than even chance that Daniel got the football. There is a better than even chance that Greg is a lion. There is almost no chance that Brian is yellow.,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.6::factA. 0.6::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.011999999999999999,0.21364272854570915,train,almost no chance,highly likely,There is almost no chance that 'Brian is yellow and Greg is a lion'.,It is highly likely that 'Brian is yellow and Greg is a lion'.,1,'Brian is yellow and Greg is a lion'. It is probably not the case that Greg is a frog. It is improbable that Mary left the milk. It is impossible that Jeff discarded the milk.,It is probably not the case that 'Greg is a frog' or 'Mary left the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.325,0.21744348869773955,train,probably not,probably,It is probably not the case that 'Greg is a frog' or 'Mary left the milk' or both.,It is probably the case that 'Greg is a frog' or 'Mary left the milk' or both.,1,'Greg is a frog' or 'Mary left the milk' or both. It is improbable that Julius is a lion. There is little chance that Jeff dropped the apple. There is little chance that Gertrude is a wolf.,It is probably the case that either 'Gertrude is a wolf' 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.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.5599119823964793,train,unlikely,probably,It is unlikely that either 'Gertrude is a wolf' or 'Julius is a lion' but not both.,It is probably the case that either 'Gertrude is a wolf' or 'Julius is a lion' but not both.,0,Either 'Gertrude is a wolf' or 'Julius is a lion' but not both. We believe that Bernhard is yellow. We doubt that Greg is a frog. There is almost no chance that Bill left the milk.,It is highly unlikely that either 'Bill left 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.75::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.5735147029405882,train,we believe,highly unlikely,We believe that either 'Bill left the milk' or 'Bernhard is yellow' but not both.,It is highly unlikely that either 'Bill left the milk' or 'Bernhard is yellow' but not both.,0,Either 'Bill left the milk' or 'Bernhard is yellow' but not both. It is almost certain that Mary left the football. There is a very good chance that Sandra dropped the milk. There is a better than even chance that Bernhard is a swan.,Chances are slight that 'Bernhard 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.95::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.98,0.7473494698939788,train,certain,chances are slight,It is certain that 'Bernhard is a swan' or 'Mary left the football' or both.,Chances are slight that 'Bernhard is a swan' or 'Mary left the football' or both.,0,'Bernhard is a swan' or 'Mary left the football' or both. It is almost certain that Mary grabbed the milk. It is probably the case that Brian is green. There is almost no chance that Bernhard is a rhino.,Chances are slight that 'Brian is green' 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.95::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.706,0.3216643328665733,train,likely,chances are slight,It is likely that 'Brian is green' or 'Bernhard is a rhino' or both.,Chances are slight that 'Brian is green' or 'Bernhard is a rhino' or both.,0,'Brian is green' or 'Bernhard is a rhino' or both. It is probable that John took the apple. It is highly likely that Brian is a swan. It is improbable that Bernhard is gray.,It is almost certain that 'Brian 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.03120624124824965,train,almost certain,we doubt,It is almost certain that 'Brian is a swan' or 'John took the apple' or both.,We doubt that 'Brian is a swan' or 'John took the apple' or both.,1,'Brian is a swan' or 'John took the apple' or both. There is a very good chance that Mary moved to the office. It is likely that John went to the bedroom. It is probably not the case that Greg is a lion.,Chances are about even that either 'Mary 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.8::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.5459091818363673,train,about even,almost certain,Chances are about even that either 'Mary moved to the office' or 'John went to the bedroom' but not both.,It is almost certain that either 'Mary moved to the office' or 'John went to the bedroom' but not both.,1,Either 'Mary moved to the office' or 'John went to the bedroom' but not both. It is almost certain that Lily is a rhino. Chances are about even that Julius is green. It is unlikely that John discarded the milk.,It is almost certain that either 'John discarded 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.95::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.7503500700140028,train,about even,almost certain,Chances are about even that either 'John discarded the milk' or 'Julius is green' but not both.,It is almost certain that either 'John discarded the milk' or 'Julius is green' but not both.,0,Either 'John discarded the milk' or 'Julius is green' but not both. There is a very good chance that Bernhard is a swan. It is likely that Greg is a lion. It is almost certain that Brian is a frog.,It is certain that either 'Brian is a frog' 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.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.23,0.6269253850770155,train,probably not,certain,It is probably not the case that either 'Brian is a frog' or 'Bernhard is a swan' but not both.,It is certain that either 'Brian is a frog' or 'Bernhard is a swan' but not both.,0,Either 'Brian is a frog' or 'Bernhard is a swan' but not both. It is certain that Lily is a lion. Chances are about even that Sandra dropped the apple. There is little chance that Gertrude is a cat.,Chances are about even that 'Lily is a lion 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 1.0::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5,0.17283456691338267,train,about even,impossible,Chances are about even that 'Lily is a lion and Sandra dropped the apple'.,It is impossible that 'Lily is a lion and Sandra dropped the apple'.,1,'Lily is a lion and Sandra dropped the apple'. It is highly unlikely that Mary went to the office. There is little chance that Brian is yellow. There is a better than even chance that John put down the apple.,It is almost certain that 'Brian 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.05::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.7987597519503901,train,impossible,almost certain,It is impossible that 'Brian is yellow and Mary went to the office'.,It is almost certain that 'Brian is yellow and Mary went to the office'.,0,'Brian is yellow and Mary went to the office'. There is a very good chance that Julius is a frog. It is highly unlikely that Mary got the football. We believe that Greg is a swan.,We believe that either 'Julius is a frog' 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.8::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.77,0.1940388077615523,train,we believe,probably not,We believe that either 'Julius is a frog' or 'Mary got the football' but not both.,It is probably not the case that either 'Julius is a frog' or 'Mary got the football' but not both.,1,Either 'Julius is a frog' or 'Mary got the football' but not both. There is a very good chance that Bernhard is a swan. We doubt that Greg is a lion. It is probably not the case that John went to the office.,There is almost no chance that 'John 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.8::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8500000000000001,0.06021204240848169,train,highly likely,almost no chance,It is highly likely that 'John went to the office' or 'Bernhard is a swan' or both.,There is almost no chance that 'John went to the office' or 'Bernhard is a swan' or both.,0,'John went to the office' or 'Bernhard is a swan' or both. It is highly likely that John took the football. It is unlikely that Greg is gray. It is almost certain that Fred left the apple.,It is unlikely that 'Greg is gray 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.9::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.18000000000000002,0.6607321464292859,train,unlikely,very good chance,It is unlikely that 'Greg is gray and John took the football'.,There is a very good chance that 'Greg is gray and John took the football'.,1,'Greg is gray and John took the football'. It is probably the case that Daniel left the milk. There is a very good chance that John went to the kitchen. It is almost certain that Brian is yellow.,There is a better than even chance that 'Daniel left 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.8::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.5539107821564313,train,better than even,improbable,There is a better than even chance that 'Daniel left the milk and John went to the kitchen'.,It is improbable that 'Daniel left the milk and John went to the kitchen'.,1,'Daniel left the milk and John went to the kitchen'. It is highly unlikely that Lily is white. It is highly likely that John went to the kitchen. It is improbable that Greg is a swan.,It is unlikely that either 'Lily is white' 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.05::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.41888377675535104,train,highly likely,unlikely,It is highly likely that either 'Lily is white' or 'John went to the kitchen' but not both.,It is unlikely that either 'Lily is white' or 'John went to the kitchen' but not both.,0,Either 'Lily is white' or 'John went to the kitchen' but not both. There is a better than even chance that Fred dropped the milk. It is unlikely that Mary left the football. It is unlikely that Brian is white.,It is probably not the case that 'Mary left the football' 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.36000000000000004,0.25745149029805964,train,probably not,likely,It is probably not the case that 'Mary left the football' or 'Brian is white' or both.,It is likely that 'Mary left the football' or 'Brian is white' or both.,1,'Mary left the football' or 'Brian is white' or both. Chances are slight that Bill went to the office. It is highly unlikely that Mary left the football. There is a better than even chance that Brian is a frog.,There is a better than even chance that either 'Bill went 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.1::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.58,0.43048609721944386,train,better than even,little chance,There is a better than even chance that either 'Bill went to the office' or 'Brian is a frog' but not both.,There is little chance that either 'Bill went to the office' or 'Brian is a frog' but not both.,1,Either 'Bill went to the office' or 'Brian is a frog' but not both. It is highly unlikely that Mary dropped the apple. It is unlikely that Greg is a lion. It is highly likely that Sandra grabbed the milk.,It is highly likely that 'Greg is a lion' or 'Sandra 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.05::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.92,0.3042608521704341,train,highly likely,we doubt,It is highly likely that 'Greg is a lion' or 'Sandra grabbed the milk' or both.,We doubt that 'Greg is a lion' or 'Sandra grabbed the milk' or both.,1,'Greg is a lion' or 'Sandra grabbed the milk' or both. It is probably the case that John left the apple. It is likely that Greg is white. There is a better than even chance that Bernhard is gray.,It is highly likely that 'Bernhard 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.7::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.46849369873974794,train,highly likely,we doubt,It is highly likely that 'Bernhard is gray' or 'John left the apple' or both.,We doubt that 'Bernhard is gray' or 'John left the apple' or both.,1,'Bernhard is gray' or 'John left the apple' or both. It is unlikely that Lily is a rhino. It is improbable that Greg is a swan. There is almost no chance that Mary went to the garden.,There is almost no chance that 'Greg is a swan 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.7225445089017803,train,almost no chance,probably,There is almost no chance that 'Greg is a swan and Lily is a rhino'.,It is probably the case that 'Greg is a swan and Lily is a rhino'.,1,'Greg is a swan and Lily is a rhino'. There is almost no chance that John moved to the garden. There is little chance that Greg is a rhino. We doubt that Brian is white.,It is unlikely that 'Brian is white' or 'John moved to the garden' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.4998999799959992,train,unlikely,certain,It is unlikely that 'Brian is white' or 'John moved to the garden' or both.,It is certain that 'Brian is white' or 'John moved to the garden' or both.,1,'Brian is white' or 'John moved to the garden' or both. There is almost no chance that Daniel took the apple. Chances are slight that Greg is green. It is probable that Bernhard is a frog.,It is improbable that either 'Bernhard is a frog' 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.02::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.30686137227445487,train,probable,improbable,It is probable that either 'Bernhard is a frog' or 'Daniel took the apple' but not both.,It is improbable that either 'Bernhard is a frog' or 'Daniel took the apple' but not both.,0,Either 'Bernhard is a frog' or 'Daniel took the apple' but not both. It is highly likely that Julius is a swan. There is a very good chance that Emily is a sheep. Chances are about even that Mary discarded the apple.,It is highly unlikely that either 'Julius is a swan' 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.9::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.06481296259251851,train,about even,highly unlikely,Chances are about even that either 'Julius is a swan' or 'Mary discarded the apple' but not both.,It is highly unlikely that either 'Julius is a swan' or 'Mary discarded the apple' but not both.,0,Either 'Julius is a swan' or 'Mary discarded the apple' but not both. We believe that Mary moved to the garden. Chances are slight that Julius is gray. It is probably not the case that Bernhard is gray.,There is almost no chance that 'Bernhard is gray 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.75::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.29265853170634126,train,almost no chance,probable,There is almost no chance that 'Bernhard is gray and Julius is gray'.,It is probable that 'Bernhard is gray and Julius is gray'.,1,'Bernhard is gray and Julius is gray'. It is highly unlikely that Brian is a rhino. It is improbable that Julius is a lion. It is highly likely that Mary got the milk.,It is unlikely that either 'Brian is a rhino' 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.05::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.5159031806361273,train,highly likely,unlikely,It is highly likely that either 'Brian is a rhino' or 'Mary got the milk' but not both.,It is unlikely that either 'Brian is a rhino' or 'Mary got the milk' but not both.,0,Either 'Brian is a rhino' or 'Mary got the milk' but not both. We believe that Bill went to the garden. It is probable that Sandra dropped the milk. It is impossible that Greg is white.,It is impossible that 'Bill went 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.75::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.27865573114622927,train,impossible,certain,It is impossible that 'Bill went to the garden and Greg is white'.,It is certain that 'Bill went to the garden and Greg is white'.,1,'Bill went to the garden and Greg is white'. It is probably not the case that Greg is white. It is probable that Bernhard is a rhino. There is a better than even chance that Mary took the football.,It is probably not the case that 'Bernhard is a rhino' 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.25::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.30306061212242447,train,highly likely,probably not,It is highly likely that 'Bernhard is a rhino' or 'Mary took the football' or both.,It is probably not the case that 'Bernhard is a rhino' or 'Mary took the football' or both.,0,'Bernhard is a rhino' or 'Mary took the football' or both. There is almost no chance that Lily is gray. There is a very good chance that John put down the milk. It is impossible that Greg is a lion.,There is almost no chance that either 'Lily is gray' 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.02::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.02,0.589117823564713,train,almost no chance,probably,There is almost no chance that either 'Lily is gray' or 'Greg is a lion' but not both.,It is probably the case that either 'Lily is gray' or 'Greg is a lion' but not both.,1,Either 'Lily is gray' or 'Greg is a lion' but not both. It is highly unlikely that Bernhard is yellow. We doubt that Brian is green. It is likely that Jessica is a mouse.,There is little chance that 'Jessica is a mouse' 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.2::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.5439087817563513,train,probable,little chance,It is probable that 'Jessica is a mouse' or 'Bernhard is yellow' or both.,There is little chance that 'Jessica is a mouse' or 'Bernhard is yellow' or both.,0,'Jessica is a mouse' or 'Bernhard is yellow' or both. It is likely that Julius is white. There is a better than even chance that Lily is a rhino. There is little chance that Daniel got the milk.,There is little chance that 'Lily is a rhino' or 'Daniel got the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.64,0.6305261052210442,train,better than even,little chance,There is a better than even chance that 'Lily is a rhino' or 'Daniel got the milk' or both.,There is little chance that 'Lily is a rhino' or 'Daniel got the milk' or both.,0,'Lily is a rhino' or 'Daniel got the milk' or both. There is little chance that Brian is yellow. It is highly likely that Julius is white. There is little chance that Lily is a lion.,It is improbable that 'Brian is yellow 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.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09000000000000001,0.5265053010602121,train,improbable,probably,It is improbable that 'Brian is yellow and Julius is white'.,It is probably the case that 'Brian is yellow and Julius is white'.,1,'Brian is yellow and Julius is white'. We believe that Julius is a lion. It is almost certain that Brian is white. We believe that Mary went to the hallway.,It is certain that 'Mary went to the hallway' 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.95::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9875,0.5719143828765754,train,certain,highly unlikely,It is certain that 'Mary went to the hallway' or 'Brian is white' or both.,It is highly unlikely that 'Mary went to the hallway' or 'Brian is white' or both.,1,'Mary went to the hallway' or 'Brian is white' or both. It is improbable that Daniel left the milk. Chances are about even that Lily is a lion. There is almost no chance that Mary moved to the garden.,It is highly unlikely that 'Lily 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.1::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.6065213042608522,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a lion and Daniel left the milk'.,There is a better than even chance that 'Lily is a lion and Daniel left the milk'.,1,'Lily is a lion and Daniel left the milk'. Chances are about even that John picked up the apple. It is impossible that Mary went to the office. There is a very good chance that Greg is green.,Chances are about even that either 'John picked up 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.5::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.25845169033806764,train,about even,highly unlikely,Chances are about even that either 'John picked up the apple' or 'Mary went to the office' but not both.,It is highly unlikely that either 'John picked up the apple' or 'Mary went to the office' but not both.,1,Either 'John picked up the apple' or 'Mary went to the office' but not both. There is almost no chance that Bernhard is a swan. It is probably the case that John got the milk. There is little chance that Greg is a lion.,It is certain that 'Bernhard is a swan 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.02::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.46729345869173833,train,almost no chance,certain,There is almost no chance that 'Bernhard is a swan and John got the milk'.,It is certain that 'Bernhard is a swan and John got the milk'.,0,'Bernhard is a swan and John got the milk'. We doubt that Jessica is a wolf. It is improbable that Mary got the apple. It is improbable that John is in the garden.,It is probably not the case that 'John is in the garden' or 'Jessica is a wolf' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.5225045009001801,train,probably not,almost certain,It is probably not the case that 'John is in the garden' or 'Jessica is a wolf' or both.,It is almost certain that 'John is in the garden' or 'Jessica is a wolf' or both.,1,'John is in the garden' or 'Jessica is a wolf' or both. It is unlikely that Bernhard is a frog. We believe that Daniel dropped the milk. It is unlikely that John took the apple.,There is a very good chance that 'Daniel 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.2::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.15103020604120823,train,very good chance,little chance,There is a very good chance that 'Daniel dropped the milk' or 'John took the apple' or both.,There is little chance that 'Daniel dropped the milk' or 'John took the apple' or both.,1,'Daniel dropped the milk' or 'John took the apple' or both. There is almost no chance that John went to the kitchen. There is a better than even chance that Bernhard is white. It is highly unlikely that Brian is a rhino.,It is improbable that 'John went to the kitchen' 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.02::factA. 0.6::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.608,0.4472894578915783,train,better than even,improbable,There is a better than even chance that 'John went to the kitchen' or 'Bernhard is white' or both.,It is improbable that 'John went to the kitchen' or 'Bernhard is white' or both.,0,'John went to the kitchen' or 'Bernhard is white' or both. Chances are about even that Fred left the football. It is probably the case that Lily is green. There is almost no chance that Mary got the apple.,There is little chance that either 'Lily is green' 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.5::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.692,0.2998599719943989,train,probably,little chance,It is probably the case that either 'Lily is green' or 'Mary got the apple' but not both.,There is little chance that either 'Lily is green' or 'Mary got the apple' but not both.,0,Either 'Lily is green' or 'Mary got the apple' but not both. We doubt that Winona is a sheep. We doubt that Bernhard is a frog. It is unlikely that Julius is gray.,It is certain that 'Julius is gray' 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.2::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.36000000000000004,0.14042808561712342,train,probably not,certain,It is probably not the case that 'Julius is gray' or 'Winona is a sheep' or both.,It is certain that 'Julius is gray' or 'Winona is a sheep' or both.,0,'Julius is gray' or 'Winona is a sheep' or both. We doubt that Mary left the football. It is certain that Julius is white. We believe that Emily is a mouse.,We doubt that 'Julius is white 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. 1.0::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.20924184836967394,train,we doubt,very good chance,We doubt that 'Julius is white and Mary left the football'.,There is a very good chance that 'Julius is white and Mary left the football'.,1,'Julius is white and Mary left the football'. We doubt that Yann is hungry. There is a very good chance that Jason is tired. It is probable that Brian is white.,There is a very good chance that 'Yann is hungry' 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8400000000000001,0.5267053410682137,train,very good chance,almost no chance,There is a very good chance that 'Yann is hungry' or 'Jason is tired' or both.,There is almost no chance that 'Yann is hungry' or 'Jason is tired' or both.,1,'Yann is hungry' or 'Jason is tired' or both. It is improbable that Bernhard is a frog. It is improbable that Julius is yellow. We doubt that Greg is white.,There is almost no chance that 'Bernhard is a frog 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.2684536907381476,train,almost no chance,better than even,There is almost no chance that 'Bernhard is a frog and Greg is white'.,There is a better than even chance that 'Bernhard is a frog and Greg is white'.,1,'Bernhard is a frog and Greg is white'. Chances are slight that Greg is a swan. Chances are slight that Jeff moved to the garden. It is probably not the case that Lily is a frog.,It is probably the case that 'Lily 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.1::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.325,0.20244048809761953,train,probably not,probably,It is probably not the case that 'Lily is a frog' or 'Jeff moved to the garden' or both.,It is probably the case that 'Lily is a frog' or 'Jeff moved to the garden' or both.,0,'Lily is a frog' or 'Jeff moved to the garden' or both. It is probably not the case that John left the apple. We believe that Bernhard is a swan. We doubt that Julius is a lion.,We believe that 'Bernhard is a swan 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.25::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.1875,0.1984396879375875,train,we doubt,we believe,We doubt that 'Bernhard is a swan and John left the apple'.,We believe that 'Bernhard is a swan and John left the apple'.,0,'Bernhard is a swan and John left the apple'. It is probable that Greg is gray. Chances are about even that Julius is white. It is certain that John went to the garden.,It is probably not the case that 'Greg 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.5::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.6199239847969594,train,certain,probably not,It is certain that 'Greg is gray' or 'John went to the garden' or both.,It is probably not the case that 'Greg is gray' or 'John went to the garden' or both.,0,'Greg is gray' or 'John went to the garden' or both. Chances are about even that Bernhard is a swan. There is little chance that Lily is white. It is probably not the case that Greg is a lion.,We believe 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.5::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.0626125225045009,train,highly unlikely,we believe,It is highly unlikely that 'Bernhard is a swan and Lily is white'.,We believe that 'Bernhard is a swan and Lily is white'.,0,'Bernhard is a swan and Lily is white'. It is probable that Mary went to the hallway. It is improbable that Brian is white. There is almost no chance that Greg is a frog.,There is almost no chance that 'Mary went to the hallway 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.5521104220844169,train,almost no chance,likely,There is almost no chance that 'Mary went to the hallway and Greg is a frog'.,It is likely that 'Mary went to the hallway and Greg is a frog'.,1,'Mary went to the hallway and Greg is a frog'. It is highly unlikely that Bernhard is a swan. Chances are slight that Jessica is a mouse. Chances are about even that Julius is a swan.,There is almost no chance that 'Julius 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.05::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.270254050810162,train,better than even,almost no chance,There is a better than even chance that 'Julius is a swan' or 'Jessica is a mouse' or both.,There is almost no chance that 'Julius is a swan' or 'Jessica is a mouse' or both.,0,'Julius is a swan' or 'Jessica is a mouse' or both. It is probable that Jeff went to the garden. It is certain that Bernhard is gray. It is likely that Lily is yellow.,It is certain that 'Bernhard is gray' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.6219243848769754,train,certain,impossible,It is certain that 'Bernhard is gray' or 'Lily is yellow' or both.,It is impossible that 'Bernhard is gray' or 'Lily is yellow' or both.,1,'Bernhard is gray' or 'Lily is yellow' or both. It is probably the case that Lily is white. It is unlikely that Julius is gray. It is highly unlikely that Bernhard is a lion.,There is a very good chance that either 'Bernhard is a lion' 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.2::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.23,0.7075415083016603,train,probably not,very good chance,It is probably not the case that either 'Bernhard is a lion' or 'Julius is gray' but not both.,There is a very good chance that either 'Bernhard is a lion' or 'Julius is gray' but not both.,0,Either 'Bernhard is a lion' or 'Julius is gray' but not both. There is a very good chance that Sumit is thirsty. It is probably the case that Emily is a sheep. It is highly unlikely that Jessica is a mouse.,It is highly unlikely that 'Sumit is thirsty 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.8::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.14342868573714743,train,better than even,highly unlikely,There is a better than even chance that 'Sumit is thirsty and Emily is a sheep'.,It is highly unlikely that 'Sumit is thirsty and Emily is a sheep'.,0,'Sumit is thirsty and Emily is a sheep'. It is certain that Julius is a frog. We believe that John got the apple. It is almost certain that Brian is a lion.,It is highly unlikely that 'Brian 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 1.0::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7125,0.6417283456691338,train,likely,highly unlikely,It is likely that 'Brian is a lion and John got the apple'.,It is highly unlikely that 'Brian is a lion and John got the apple'.,0,'Brian is a lion and John got the apple'. It is highly likely that Brian is a lion. It is impossible that Emily is a cat. There is a better than even chance that Mary left the apple.,Chances are slight that 'Emily is a cat' 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.9::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6,0.5925185037007401,train,better than even,chances are slight,There is a better than even chance that 'Emily is a cat' or 'Mary left the apple' or both.,Chances are slight that 'Emily is a cat' or 'Mary left the apple' or both.,0,'Emily is a cat' or 'Mary left the apple' or both. There is almost no chance that Sandra left the football. It is almost certain that Brian is a frog. We believe that Lily is gray.,It is probable that 'Lily is gray 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.02::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7125,0.4454890978195639,train,probable,little chance,It is probable that 'Lily is gray and Brian is a frog'.,There is little chance that 'Lily is gray and Brian is a frog'.,1,'Lily is gray and Brian is a frog'. It is probably the case that Mary went to the garden. Chances are about even that Bernhard is green. It is almost certain that Lily is a rhino.,Chances are about even that either 'Mary went 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.5::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.49999999999999994,0.7873574714942989,train,about even,impossible,Chances are about even that either 'Mary went to the garden' or 'Bernhard is green' but not both.,It is impossible that either 'Mary went to the garden' or 'Bernhard is green' but not both.,1,Either 'Mary went to the garden' or 'Bernhard is green' but not both. It is probably not the case that Julius is gray. It is highly likely that John went to the garden. It is impossible that Jessica is a cat.,It is probably not the case that either 'Jessica is a cat' 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.9::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.25,0.3252650530106021,train,probably not,probably,It is probably not the case that either 'Jessica is a cat' or 'Julius is gray' but not both.,It is probably the case that either 'Jessica is a cat' or 'Julius is gray' but not both.,1,Either 'Jessica is a cat' or 'Julius is gray' but not both. It is impossible that Greg is gray. It is impossible that John went to the hallway. It is likely that Sandra grabbed the apple.,It is impossible that 'Greg is gray' 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.0::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.0,0.6535307061412282,train,impossible,very good chance,It is impossible that 'Greg is gray' or 'John went to the hallway' or both.,There is a very good chance that 'Greg is gray' or 'John went to the hallway' or both.,1,'Greg is gray' or 'John went to the hallway' or both. It is unlikely that Julius is a swan. It is probably not the case that Daniel dropped the apple. There is a better than even chance that Emily is a mouse.,Chances are about even that 'Daniel dropped the apple' 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.25::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4,0.2606521304260852,train,about even,impossible,Chances are about even that 'Daniel dropped the apple' or 'Julius is a swan' or both.,It is impossible that 'Daniel dropped the apple' or 'Julius is a swan' or both.,1,'Daniel dropped the apple' or 'Julius is a swan' or both. Chances are about even that Daniel left the milk. It is improbable that Julius is gray. It is probably the case that Bernhard is yellow.,It is unlikely that 'Bernhard is yellow' 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.5::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.85,0.6115223044608922,train,very good chance,unlikely,There is a very good chance that 'Bernhard is yellow' or 'Daniel left the milk' or both.,It is unlikely that 'Bernhard is yellow' or 'Daniel left the milk' or both.,0,'Bernhard is yellow' or 'Daniel left the milk' or both. It is highly likely that Bernhard is yellow. There is little chance that Julius is a rhino. It is probable that Brian is a swan.,It is likely that either 'Julius 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.32386477295459093,train,likely,improbable,It is likely that either 'Julius is a rhino' or 'Brian is a swan' but not both.,It is improbable that either 'Julius is a rhino' or 'Brian is a swan' but not both.,1,Either 'Julius is a rhino' or 'Brian is a swan' but not both. We believe that Gertrude is a wolf. It is certain that Lily is a lion. We doubt that Bernhard is gray.,It is 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.75::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.8,0.47529505901180236,train,very good chance,unlikely,There is a very good chance that either 'Bernhard is gray' or 'Lily is a lion' but not both.,It is 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 impossible that Greg is yellow. There is a very good chance that Brian is a swan. It is certain that Mary moved to the garden.,It is likely that 'Mary moved to the garden and Greg is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.8::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.5847169433886777,train,impossible,likely,It is impossible that 'Mary moved to the garden and Greg is yellow'.,It is likely that 'Mary moved to the garden and Greg is yellow'.,0,'Mary moved to the garden and Greg is yellow'. It is unlikely that Brian is yellow. It is highly unlikely that Lily is yellow. It is impossible that John went to the garden.,Chances are about even that 'Brian 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.2::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.6293258651730346,train,impossible,about even,It is impossible that 'Brian is yellow and John went to the garden'.,Chances are about even that 'Brian is yellow and John went to the garden'.,0,'Brian is yellow and John went to the garden'. There is a very good chance that Sandra took the milk. It is probable that Julius is a swan. It is probably not the case that John grabbed the apple.,It is probably the case that either 'John 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.8::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.65,0.5517103420684137,train,probably,improbable,It is probably the case that either 'John grabbed the apple' or 'Sandra took the milk' but not both.,It is improbable that either 'John grabbed the apple' or 'Sandra took the milk' but not both.,1,Either 'John grabbed the apple' or 'Sandra took the milk' but not both. It is improbable that Bernhard is a lion. There is a better than even chance that Mary went to the office. It is almost certain that Sandra left the apple.,It is almost certain that 'Sandra left 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.1::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.3208641728345669,train,chances are slight,almost certain,Chances are slight that 'Sandra left the apple and Bernhard is a lion'.,It is almost certain that 'Sandra left the apple and Bernhard is a lion'.,0,'Sandra left the apple and Bernhard is a lion'. It is impossible that Brian is a frog. There is a better than even chance that Lily is gray. It is highly likely that John dropped the apple.,It is impossible that 'Brian is a frog 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. 0.6::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.7143428685737148,train,impossible,probably,It is impossible that 'Brian is a frog and John dropped the apple'.,It is probably the case that 'Brian is a frog and John dropped the apple'.,1,'Brian is a frog and John dropped the apple'. It is certain that Mary took the milk. It is highly unlikely that Julius is a lion. It is probable that Bernhard is yellow.,It is almost certain 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.05::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.95,0.08721744348869774,train,almost certain,little chance,It is almost certain that either 'Julius is a lion' or 'Mary took the milk' but not both.,There is little chance 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. There is a very good chance that Brian is white. We believe that Bernhard is a swan. It is improbable that Greg is a frog.,We believe that 'Bernhard 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.8::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.11782356471294259,train,we believe,probably not,We believe that 'Bernhard is a swan' or 'Greg is a frog' or both.,It is probably not the case that 'Bernhard is a swan' or 'Greg is a frog' or both.,1,'Bernhard is a swan' or 'Greg is a frog' or both. It is impossible that Lily is a frog. We believe that Bernhard is green. It is almost certain that Jessica is a cat.,There is little 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.0::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.75,0.06721344268853771,train,we believe,little chance,We believe that either 'Bernhard is green' or 'Lily is a frog' but not both.,There is little 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 little chance that Bernhard is a frog. It is improbable that Lily is white. There is a better than even chance that Bill went to the bedroom.,We believe that either 'Bernhard is a frog' 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.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.18000000000000005,0.7183436687337468,train,we doubt,we believe,We doubt that either 'Bernhard is a frog' or 'Lily is white' but not both.,We believe that either 'Bernhard is a frog' or 'Lily is white' but not both.,0,Either 'Bernhard is a frog' or 'Lily is white' but not both. It is probably the case that Greg is yellow. It is probable that Julius is a lion. We believe that Mary moved to the garden.,It is impossible that 'Mary moved to the garden and Greg is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.525,0.7043408681736347,train,about even,impossible,Chances are about even that 'Mary moved to the garden and Greg is yellow'.,It is impossible that 'Mary moved to the garden and Greg is yellow'.,0,'Mary moved to the garden and Greg is yellow'. There is little chance that Bernhard is a frog. It is highly unlikely that Lily is a swan. It is probably not the case that Julius is a lion.,There is almost no chance that 'Bernhard 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.1::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.10302060412082417,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is a frog and Julius is a lion'.,It is almost certain that 'Bernhard is a frog and Julius is a lion'.,1,'Bernhard is a frog and Julius is a lion'. It is likely that Greg is a rhino. It is certain that Fred went to the garden. It is certain that John picked up the apple.,It is certain that 'John picked up 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.7::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.17323464692938587,train,certain,impossible,It is certain that 'John picked up the apple' or 'Fred went to the garden' or both.,It is impossible that 'John picked up the apple' or 'Fred went to the garden' or both.,1,'John picked up the apple' or 'Fred went to the garden' or both. It is highly likely that Emily is a wolf. There is little chance that Brian is white. It is highly likely that Julius is white.,It is certain that 'Julius is white' 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.1::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.99,0.47549509901980397,train,certain,little chance,It is certain that 'Julius is white' or 'Emily is a wolf' or both.,There is little chance that 'Julius is white' or 'Emily is a wolf' or both.,1,'Julius is white' or 'Emily is a wolf' or both. It is improbable that Greg is a lion. It is unlikely that John took the football. It is improbable that Bill went to the office.,It is certain that either 'Bill went to the office' 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.15503100620124025,train,probably not,certain,It is probably not the case that either 'Bill went to the office' or 'John took the football' but not both.,It is certain that either 'Bill went to the office' or 'John took the football' but not both.,0,Either 'Bill went to the office' or 'John took the football' but not both. It is almost certain that Sandra left the milk. It is highly unlikely that John took the football. It is certain that Lily is a lion.,It is highly unlikely that 'John took the football' 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.05::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9524999999999999,0.48869773954790957,train,almost certain,highly unlikely,It is almost certain that 'John took the football' or 'Sandra left the milk' or both.,It is highly unlikely that 'John took the football' or 'Sandra left the milk' or both.,0,'John took the football' or 'Sandra left the milk' or both. It is probably not the case that Lily is a swan. Chances are about even that Mary went to the hallway. It is certain that Brian is white.,It is probably not the case that 'Lily 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.25::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.25,0.5953190638127626,train,probably not,likely,It is probably not the case that 'Lily is a swan and Brian is white'.,It is likely that 'Lily is a swan and Brian is white'.,1,'Lily is a swan and Brian is white'. There is little chance that Greg is a swan. It is highly unlikely that Brian is a frog. It is probably not the case that Jeff left the apple.,There is a very good chance that 'Brian 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. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.7273454690938188,train,impossible,very good chance,It is impossible that 'Brian is a frog and Greg is a swan'.,There is a very good chance that 'Brian is a frog and Greg is a swan'.,0,'Brian is a frog and Greg is a swan'. There is a very good chance that Jeff left the apple. It is certain that Lily is a frog. It is unlikely that Bernhard is a lion.,It is probable that 'Lily is a frog 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.8::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.2,0.4408881776355271,train,we doubt,probable,We doubt that 'Lily is a frog and Bernhard is a lion'.,It is probable that 'Lily is a frog and Bernhard is a lion'.,0,'Lily is a frog and Bernhard is a lion'. It is probably not the case that Mary picked up the milk. It is almost certain that Bernhard is a frog. It is impossible that Brian is gray.,It is likely that either 'Mary picked up 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.25::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.725,0.6133226645329066,train,likely,we doubt,It is likely that either 'Mary picked up the milk' or 'Bernhard is a frog' but not both.,We doubt that either 'Mary picked up the milk' or 'Bernhard is a frog' but not both.,1,Either 'Mary picked up the milk' or 'Bernhard is a frog' but not both. It is certain that Brian is green. It is probably the case that Lily is yellow. There is a very good chance that Daniel took the football.,We doubt that 'Lily is yellow 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.7::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.126625325065013,train,probably,we doubt,It is probably the case that 'Lily is yellow and Brian is green'.,We doubt that 'Lily is yellow and Brian is green'.,0,'Lily is yellow and Brian is green'. We believe that Bernhard is a rhino. There is a very good chance that John put down the milk. We believe that Mary moved to the garden.,There is little chance that 'Bernhard 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.75::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5625,0.3750750150030006,train,better than even,little chance,There is a better than even chance that 'Bernhard is a rhino and Mary moved to the garden'.,There is little chance that 'Bernhard is a rhino and Mary moved to the garden'.,0,'Bernhard is a rhino and Mary moved to the garden'. It is likely that Gertrude is a sheep. It is highly likely that John moved to the garden. There is almost no chance that Sandra grabbed the milk.,It is probable that 'Sandra 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.7::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.018000000000000002,0.6025205041008201,train,almost no chance,probable,There is almost no chance that 'Sandra grabbed the milk and John moved to the garden'.,It is probable that 'Sandra grabbed the milk and John moved to the garden'.,0,'Sandra grabbed the milk and John moved to the garden'. It is probably not the case that Winona is a sheep. There is almost no chance that Bernhard is green. There is little chance that Lily is a frog.,It is probably not the case that either 'Bernhard is green' 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.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.4520904180836167,train,probably not,we believe,It is probably not the case that either 'Bernhard is green' or 'Winona is a sheep' but not both.,We believe that either 'Bernhard is green' or 'Winona is a sheep' but not both.,1,Either 'Bernhard is green' or 'Winona is a sheep' but not both. It is probably the case that Bill moved to the office. We doubt that Julius is gray. It is improbable that Greg is green.,It is probably not the case that 'Bill 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.17243448689737947,train,we believe,probably not,We believe that 'Bill moved to the office' or 'Julius is gray' or both.,It is probably not the case that 'Bill moved to the office' or 'Julius is gray' or both.,0,'Bill moved to the office' or 'Julius is gray' or both. There is a very good chance that Mary grabbed the milk. It is likely that Brian is yellow. We believe that Julius is a frog.,It is almost certain that either 'Brian 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.8::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.5157031406281256,train,about even,almost certain,Chances are about even that either 'Brian is yellow' or 'Mary grabbed the milk' but not both.,It is almost certain that either 'Brian is yellow' or 'Mary grabbed the milk' but not both.,0,Either 'Brian is yellow' or 'Mary grabbed the milk' but not both. It is certain that Mary left the football. Chances are about even that Greg is yellow. It is probably the case that John went to the bedroom.,It is probably not the case 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.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.15023004600920184,train,certain,probably not,It is certain that 'Mary left the football' or 'Greg is yellow' or both.,It is probably not the case that 'Mary left the football' or 'Greg is yellow' or both.,0,'Mary left the football' or 'Greg is yellow' or both. There is almost no chance that Gertrude is a wolf. It is probably the case that Julius is green. It is probably the case that John went to the office.,It is probably the case that 'Gertrude 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.02::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.706,0.5509101820364073,train,probably,improbable,It is probably the case that 'Gertrude is a wolf' or 'Julius is green' or both.,It is improbable that 'Gertrude is a wolf' or 'Julius is green' or both.,1,'Gertrude is a wolf' or 'Julius is green' or both. Chances are slight that Mary went to the garden. It is probable that Lily is a rhino. Chances are about even that Jeff moved to the office.,It is probably not the case that 'Jeff moved to the office 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.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.5855171034206842,train,probably not,certain,It is probably not the case that 'Jeff moved to the office and Lily is a rhino'.,It is certain that 'Jeff moved to the office and Lily is a rhino'.,1,'Jeff moved to the office and Lily is a rhino'. It is probably the case that Mary discarded the milk. It is almost certain that Sandra got the milk. It is probably not the case that John went to the hallway.,It is certain that 'Mary discarded the milk' 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.95::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.985,0.7241448289657931,train,certain,impossible,It is certain that 'Mary discarded the milk' or 'Sandra got the milk' or both.,It is impossible that 'Mary discarded the milk' or 'Sandra got the milk' or both.,1,'Mary discarded the milk' or 'Sandra got the milk' or both. We doubt that Brian is yellow. It is impossible that Jeff moved to the garden. It is probably not the case that Julius is a swan.,We believe that either 'Jeff 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.2::factA. 0.0::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.25,0.5419083816763353,train,probably not,we believe,It is probably not the case that either 'Jeff moved to the garden' or 'Julius is a swan' but not both.,We believe that either 'Jeff moved to the garden' or 'Julius is a swan' but not both.,0,Either 'Jeff moved to the garden' or 'Julius is a swan' but not both. Chances are slight that Julius is a swan. It is almost certain that Fred dropped the apple. There is almost no chance that Lily is a rhino.,It is probably the case that either 'Julius 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.1::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.116,0.6237247449489898,train,improbable,probably,It is improbable that either 'Julius is a swan' or 'Lily is a rhino' but not both.,It is probably the case that either 'Julius is a swan' or 'Lily is a rhino' but not both.,0,Either 'Julius is a swan' or 'Lily is a rhino' but not both. It is unlikely that Fred is in the office. It is impossible that John went to the hallway. Chances are slight that Brian is a swan.,There is a very good chance that 'Brian 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.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.14322864572914584,train,impossible,very good chance,It is impossible that 'Brian is a swan and John went to the hallway'.,There is a very good chance that 'Brian is a swan and John went to the hallway'.,0,'Brian is a swan and John went to the hallway'. Chances are slight that Mary went to the garden. Chances are slight that Sandra got the milk. It is impossible that Julius is white.,It is highly likely that 'Mary went to the garden 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.1::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.2970594118823765,train,impossible,highly likely,It is impossible that 'Mary went to the garden and Julius is white'.,It is highly likely that 'Mary went to the garden and Julius is white'.,0,'Mary went to the garden and Julius is white'. It is unlikely that Lily is a lion. It is almost certain that Greg is a rhino. It is probable that Daniel got the milk.,It is almost certain that 'Greg is a rhino' 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.95::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.7965593118623725,train,almost certain,chances are slight,It is almost certain that 'Greg is a rhino' or 'Lily is a lion' or both.,Chances are slight that 'Greg is a rhino' or 'Lily is a lion' or both.,1,'Greg is a rhino' or 'Lily is a lion' or both. Chances are slight that Bernhard is a frog. It is probably the case that John left the milk. Chances are slight that Julius is a swan.,We doubt that either 'Bernhard is a frog' or 'Julius is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.5713142628525705,train,we doubt,we believe,We doubt that either 'Bernhard is a frog' or 'Julius is a swan' but not both.,We believe that either 'Bernhard is a frog' or 'Julius is a swan' but not both.,1,Either 'Bernhard is a frog' or 'Julius is a swan' but not both. It is probably the case that Winona is a sheep. It is probably the case that Lily is a swan. It is almost certain that Brian is yellow.,It is highly likely 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.7::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9099999999999999,0.6999399879975995,train,highly likely,unlikely,It is highly likely that 'Lily is a swan' or 'Winona is a sheep' or both.,It is unlikely that 'Lily is a swan' or 'Winona is a sheep' or both.,1,'Lily is a swan' or 'Winona is a sheep' or both. Chances are about even that Lily is a rhino. It is highly unlikely that Mary went to the kitchen. It is certain that John moved to the office.,Chances are about even 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.5::factA. 0.05::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5,0.7531506301260252,train,about even,almost certain,Chances are about even that 'Lily is a rhino and John moved to the office'.,It is almost certain that 'Lily is a rhino and John moved to the office'.,1,'Lily is a rhino and John moved to the office'. There is little chance that Daniel grabbed the milk. There is a very good chance that Bernhard is a swan. There is little chance that Mary put down the milk.,It is probable that either 'Mary put down the milk' or 'Daniel grabbed the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.3152630526105221,train,unlikely,probable,It is unlikely that either 'Mary put down the milk' or 'Daniel grabbed the milk' but not both.,It is probable that either 'Mary put down the milk' or 'Daniel grabbed the milk' but not both.,0,Either 'Mary put down the milk' or 'Daniel grabbed the milk' but not both. It is certain that Jeff moved to the garden. It is almost certain that Gertrude is a mouse. It is improbable that Sandra took the football.,There is little chance that 'Gertrude is a mouse 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 1.0::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09500000000000001,0.6861372274454891,train,little chance,probably,There is little chance that 'Gertrude is a mouse and Sandra took the football'.,It is probably the case that 'Gertrude is a mouse and Sandra took the football'.,1,'Gertrude is a mouse and Sandra took the football'. It is almost certain that Mary went to the hallway. It is likely that Sandra dropped the milk. Chances are about even that Julius is a swan.,It is impossible that 'Sandra dropped the milk' 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.95::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.6647329465893179,train,certain,impossible,It is certain that 'Sandra dropped the milk' or 'Mary went to the hallway' or both.,It is impossible that 'Sandra dropped the milk' or 'Mary went to the hallway' or both.,0,'Sandra dropped the milk' or 'Mary went to the hallway' or both. Chances are slight that John took the apple. It is highly likely that Brian is white. We believe that Sandra got the milk.,It is impossible that either 'John took 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.1::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.3256651330266053,train,probable,impossible,It is probable that either 'John took the apple' or 'Sandra got the milk' but not both.,It is impossible that either 'John took the apple' or 'Sandra got the milk' but not both.,0,Either 'John took the apple' or 'Sandra got the milk' but not both. Chances are slight that Brian is green. Chances are about even that Jeff discarded the milk. We doubt that Mary picked up the milk.,Chances are about even that either 'Jeff discarded the milk' 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.1::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.6969393878775755,train,about even,almost certain,Chances are about even that either 'Jeff discarded the milk' or 'Mary picked up the milk' but not both.,It is almost certain that either 'Jeff discarded the milk' or 'Mary picked up the milk' but not both.,1,Either 'Jeff discarded the milk' or 'Mary picked up the milk' but not both. There is a very good chance that Sandra dropped the milk. We doubt that John went to the kitchen. There is little chance that Brian is white.,We doubt that 'John went to the kitchen 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.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.16000000000000003,0.26025205041008204,train,we doubt,probable,We doubt that 'John went to the kitchen and Sandra dropped the milk'.,It is probable that 'John went to the kitchen and Sandra dropped the milk'.,1,'John went to the kitchen and Sandra dropped the milk'. There is little chance that Julius is yellow. There is almost no chance that Brian is a frog. It is certain that Daniel left the milk.,Chances are about even that either 'Daniel left 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.1::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.98,0.26605321064212845,train,certain,about even,It is certain that either 'Daniel left the milk' or 'Brian is a frog' but not both.,Chances are about even that either 'Daniel left the milk' or 'Brian is a frog' but not both.,0,Either 'Daniel left the milk' or 'Brian is a frog' but not both. It is almost certain that Julius is yellow. It is highly unlikely that Lily is white. It is highly likely that Brian is white.,It is highly likely 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.05::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.905,0.735747149429886,train,highly likely,we doubt,It is highly likely that 'Brian is white' or 'Lily is white' or both.,We doubt that 'Brian is white' or 'Lily is white' or both.,1,'Brian is white' or 'Lily is white' or both. It is certain that Julius is yellow. It is impossible that Daniel took the apple. It is almost certain that John went to the bedroom.,Chances are about even that either 'Daniel took 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 1.0::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.95,0.5393078615723145,train,almost certain,about even,It is almost certain that either 'Daniel took the apple' or 'John went to the bedroom' but not both.,Chances are about even that either 'Daniel took the apple' or 'John went to the bedroom' but not both.,0,Either 'Daniel took the apple' or 'John went to the bedroom' but not both. We believe that John went to the office. It is almost certain that Mary got the football. We believe that Greg is a frog.,It is unlikely that 'Greg 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.75::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9375,0.5449089817963593,train,almost certain,unlikely,It is almost certain that 'Greg is a frog' or 'John went to the office' or both.,It is unlikely that 'Greg is a frog' or 'John went to the office' or both.,0,'Greg is a frog' or 'John went to the office' or both. It is highly likely that Greg is yellow. It is likely that John went to the garden. It is almost certain that Jason is tired.,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.9::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.995,0.04940988197639528,train,certain,little chance,It is certain that 'Jason is tired' or 'Greg is yellow' or both.,There is little chance that 'Jason is tired' or 'Greg is yellow' or both.,1,'Jason is tired' or 'Greg is yellow' or both. It is unlikely that Fred is in the office. There is a very good chance that Brian is white. There is a very good chance that Mary took the milk.,It is unlikely that 'Brian is white 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.2::factA. 0.8::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.16000000000000003,0.5549109821964393,train,unlikely,very good chance,It is unlikely that 'Brian is white and Fred is in the office'.,There is a very good chance that 'Brian is white and Fred is in the office'.,1,'Brian is white and Fred is in the office'. It is almost certain that Sandra left the apple. It is probably the case that Mary went to the garden. It is probably not the case that Julius is a lion.,There is a very good chance 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.95::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.6129225845169034,train,very good chance,impossible,There is a very good chance that 'Mary went to the garden' or 'Julius is a lion' or both.,It is impossible 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 Julius is a rhino. We doubt that Jason is tired. It is impossible that John put down the apple.,It is probably not the case that either 'Jason is tired' 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.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.2872574514902981,train,very good chance,probably not,There is a very good chance that either 'Jason is tired' or 'Julius is a rhino' but not both.,It is probably not the case that either 'Jason is tired' or 'Julius is a rhino' but not both.,0,Either 'Jason is tired' or 'Julius is a rhino' but not both. There is a very good chance that Greg is gray. It is unlikely that Bernhard is a rhino. Chances are about even that Emily is a sheep.,It is highly likely that 'Bernhard 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.8::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.5725145029005801,train,chances are slight,highly likely,Chances are slight that 'Bernhard is a rhino and Emily is a sheep'.,It is highly likely that 'Bernhard is a rhino and Emily is a sheep'.,0,'Bernhard is a rhino and Emily is a sheep'. Chances are about even that Sandra got the football. We believe that Brian is a frog. It is likely that John went to the garden.,It is probably not the case that 'Sandra 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.5::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8750000000000001,0.022004400880176037,train,highly likely,probably not,It is highly likely that 'Sandra got the football' or 'Brian is a frog' or both.,It is probably not the case that 'Sandra got the football' or 'Brian is a frog' or both.,0,'Sandra got the football' or 'Brian is a frog' or both. It is likely that Daniel grabbed the milk. It is highly likely that Brian is a swan. It is highly likely that Greg is gray.,It is impossible that 'Daniel grabbed 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.7::factA. 0.9::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.63,0.27805561112222443,train,better than even,impossible,There is a better than even chance that 'Daniel grabbed the milk and Brian is a swan'.,It is impossible that 'Daniel grabbed the milk and Brian is a swan'.,0,'Daniel grabbed the milk and Brian is a swan'. It is highly unlikely that Lily is green. It is certain that Brian is a swan. There is little chance that Sandra took the apple.,It is impossible that 'Sandra 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.05::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.7475495099019804,train,impossible,almost certain,It is impossible that 'Sandra took the apple and Lily is green'.,It is almost certain that 'Sandra took the apple and Lily is green'.,1,'Sandra took the apple and Lily is green'. It is probable that Sandra got the milk. It is probably the case that Mary went to the office. We believe that Lily is yellow.,It is highly likely that 'Sandra got 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.7::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9099999999999999,0.46089217843568714,train,highly likely,impossible,It is highly likely that 'Sandra got the milk' or 'Mary went to the office' or both.,It is impossible that 'Sandra got the milk' or 'Mary went to the office' or both.,1,'Sandra got the milk' or 'Mary went to the office' or both. Chances are about even that Lily is a frog. It is highly unlikely that John moved to the garden. There is a very good chance that Gertrude is a mouse.,There is a very good chance that 'Gertrude 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.5::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.81,0.4352870574114823,train,very good chance,almost no chance,There is a very good chance that 'Gertrude is a mouse' or 'John moved to the garden' or both.,There is almost no chance that 'Gertrude is a mouse' or 'John moved to the garden' or both.,1,'Gertrude is a mouse' or 'John moved to the garden' or both. It is probably the case that John got the milk. It is certain that Julius is a swan. We believe that Bill went to the kitchen.,It is probably not the case that either 'Bill went to the kitchen' 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. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.25,0.6879375875175036,train,probably not,we believe,It is probably not the case that either 'Bill went to the kitchen' or 'Julius is a swan' but not both.,We believe that either 'Bill went to the kitchen' or 'Julius is a swan' but not both.,1,Either 'Bill went to the kitchen' or 'Julius is a swan' but not both. It is probably the case that Yann is hungry. It is probably the case that Greg is a lion. Chances are about even that John discarded the apple.,There is almost no chance that 'John discarded the apple' 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.7::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8499999999999999,0.23104620924184838,train,very good chance,almost no chance,There is a very good chance that 'John discarded the apple' or 'Yann is hungry' or both.,There is almost no chance that 'John discarded the apple' or 'Yann is hungry' or both.,0,'John discarded the apple' or 'Yann is hungry' or both. It is highly unlikely that John discarded the milk. It is impossible that Lily is green. There is little chance that Mary left the apple.,It is impossible that 'John discarded the milk 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.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.3790758151630326,train,impossible,certain,It is impossible that 'John discarded the milk and Lily is green'.,It is certain that 'John discarded the milk and Lily is green'.,1,'John discarded the milk and Lily is green'. There is a very good chance that Lily is a rhino. We believe that Brian is yellow. Chances are about even that Jessica is a mouse.,Chances are about even that 'Jessica is a mouse and Brian is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.375,0.08441688337667534,train,about even,almost certain,Chances are about even that 'Jessica is a mouse and Brian is yellow'.,It is almost certain that 'Jessica is a mouse and Brian is yellow'.,1,'Jessica is a mouse and Brian is yellow'. It is probable that Gertrude is a wolf. It is impossible that John grabbed the apple. Chances are about even that Greg is a rhino.,Chances are about even that either 'Gertrude is a wolf' 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.0::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.20104020804160833,train,about even,impossible,Chances are about even that either 'Gertrude is a wolf' or 'Greg is a rhino' but not both.,It is impossible that either 'Gertrude is a wolf' or 'Greg is a rhino' but not both.,1,Either 'Gertrude is a wolf' or 'Greg is a rhino' but not both. It is certain that Mary put down the milk. It is improbable that Winona is a mouse. There is little chance that Daniel left the milk.,It is certain that 'Mary put down 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 1.0::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.47229445889177835,train,certain,about even,It is certain that 'Mary put down the milk' or 'Daniel left the milk' or both.,Chances are about even that 'Mary put down the milk' or 'Daniel left the milk' or both.,1,'Mary put down the milk' or 'Daniel left the milk' or both. There is a very good chance that John picked up the apple. It is certain that Daniel left the milk. Chances are about even that Julius is a rhino.,It is almost certain that either 'Julius is a rhino' 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.8::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.10162032406481296,train,about even,almost certain,Chances are about even that either 'Julius is a rhino' or 'John picked up the apple' but not both.,It is almost certain that either 'Julius is a rhino' or 'John picked up the apple' but not both.,0,Either 'Julius is a rhino' or 'John picked up the apple' but not both. It is improbable that Lily is a frog. It is likely that Winona is a wolf. Chances are about even that Bernhard is a swan.,It is likely that 'Lily is a frog 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.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.01880376075215043,train,highly unlikely,likely,It is highly unlikely that 'Lily is a frog and Winona is a wolf'.,It is likely that 'Lily is a frog and Winona is a wolf'.,0,'Lily is a frog and Winona is a wolf'. It is almost certain that Mary dropped the milk. It is highly unlikely that Lily is yellow. It is improbable that Brian is yellow.,It is highly likely that either 'Brian 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.95::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.86,0.5523104620924185,train,highly likely,little chance,It is highly likely that either 'Brian is yellow' or 'Mary dropped the milk' but not both.,There is little chance that either 'Brian is yellow' or 'Mary dropped the milk' but not both.,1,Either 'Brian is yellow' or 'Mary dropped the milk' but not both. It is probably not the case that Bernhard is yellow. There is little chance that Mary took the football. There is little chance that Julius is a swan.,There is a very good chance that either 'Bernhard is yellow' 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.25::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.3424684936987398,train,probably not,very good chance,It is probably not the case that either 'Bernhard is yellow' or 'Mary took the football' but not both.,There is a very good chance that either 'Bernhard is yellow' or 'Mary took the football' but not both.,0,Either 'Bernhard is yellow' or 'Mary took the football' but not both. It is probably the case that Mary got the football. It is probably not the case that Bernhard is gray. There is little chance that Brian is a frog.,We believe that 'Brian is a frog' 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.25::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.5367073414682937,train,we believe,impossible,We believe that 'Brian is a frog' or 'Mary got the football' or both.,It is impossible that 'Brian is a frog' or 'Mary got the football' or both.,1,'Brian is a frog' or 'Mary got the football' or both. It is improbable that Julius is gray. There is a better than even chance that Mary moved to the office. It is impossible that John dropped the apple.,It is impossible 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.1::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.036207241448289657,train,better than even,impossible,There is a better than even chance that either 'John dropped the apple' or 'Mary moved to the office' but not both.,It is impossible 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. It is highly unlikely that Bernhard is a frog. It is probably the case that Mary put down the milk. Chances are about even that Bill left the milk.,It is almost certain that either 'Bernhard is a frog' 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.05::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.20984196839367875,train,about even,almost certain,Chances are about even that either 'Bernhard is a frog' or 'Bill left the milk' but not both.,It is almost certain that either 'Bernhard is a frog' or 'Bill left the milk' but not both.,0,Either 'Bernhard is a frog' or 'Bill left the milk' but not both. It is probably the case that Lily is yellow. It is probably not the case that Greg is a swan. There is little chance that John got the milk.,We believe that 'John got 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.7::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.10682136427285457,train,we believe,chances are slight,We believe that 'John got the milk' or 'Lily is yellow' or both.,Chances are slight that 'John got the milk' or 'Lily is yellow' or both.,1,'John got the milk' or 'Lily is yellow' or both. It is unlikely that Bernhard is a rhino. It is almost certain that Mary went to the bedroom. It is probably the case that Julius is yellow.,Chances are slight that 'Mary went to the bedroom' 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.2::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.2664532906581316,train,almost certain,chances are slight,It is almost certain that 'Mary went to the bedroom' or 'Bernhard is a rhino' or both.,Chances are slight that 'Mary went to the bedroom' or 'Bernhard is a rhino' or both.,0,'Mary went to the bedroom' or 'Bernhard is a rhino' or both. We believe that Brian is a rhino. It is probable that Daniel dropped the milk. It is highly unlikely that Lily is yellow.,It is unlikely that 'Lily is yellow' 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. 0.7::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.2486497299459892,train,likely,unlikely,It is likely that 'Lily is yellow' or 'Daniel dropped the milk' or both.,It is unlikely that 'Lily is yellow' or 'Daniel dropped the milk' or both.,0,'Lily is yellow' or 'Daniel dropped the milk' or both. Chances are about even that Sandra dropped the milk. It is highly unlikely that Julius is a frog. It is highly likely that Lily is a swan.,It is highly unlikely 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 0.5::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.525,0.17543508701740348,train,about even,highly unlikely,Chances are about even that 'Sandra dropped the milk' or 'Julius is a frog' or both.,It is highly unlikely that 'Sandra dropped the milk' or 'Julius is a frog' or both.,0,'Sandra dropped the milk' or 'Julius is a frog' or both. There is a better than even chance that Julius is a lion. There is almost no chance that Sandra left the apple. It is almost certain that Bernhard is green.,It is probable that 'Bernhard is green 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.6::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.019,0.6419283856771354,train,almost no chance,probable,There is almost no chance that 'Bernhard is green and Sandra left the apple'.,It is probable that 'Bernhard is green and Sandra left the apple'.,0,'Bernhard is green and Sandra left the apple'. Chances are about even that Julius is a swan. It is likely that Jeff discarded the milk. It is highly unlikely that John went to the kitchen.,There is almost no chance that 'John went to the kitchen 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.5::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.025,0.5229045809161832,train,almost no chance,better than even,There is almost no chance that 'John went to the kitchen and Julius is a swan'.,There is a better than even chance that 'John went to the kitchen and Julius is a swan'.,1,'John went to the kitchen and Julius is a swan'. We doubt that Mary left the milk. It is likely that Greg is a swan. It is unlikely that Bernhard is a frog.,It is probably not the case that either 'Mary left 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.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.27645529105821165,train,probably not,certain,It is probably not the case that either 'Mary left the milk' or 'Bernhard is a frog' but not both.,It is certain that either 'Mary left the milk' or 'Bernhard is a frog' but not both.,1,Either 'Mary left the milk' or 'Bernhard is a frog' but not both. It is unlikely that Brian is gray. There is almost no chance that Lily is green. It is highly likely that Bernhard is green.,It is unlikely that 'Brian 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.2::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.21600000000000003,0.666133226645329,train,unlikely,almost certain,It is unlikely that 'Brian is gray' or 'Lily is green' or both.,It is almost certain that 'Brian is gray' or 'Lily is green' or both.,1,'Brian is gray' or 'Lily is green' or both. We doubt that Mary left the football. It is probable that Sandra dropped the milk. It is probably not the case that Lily is a swan.,It is improbable 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.2::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.15903180636127226,train,better than even,improbable,There is a better than even chance that either 'Sandra dropped the milk' or 'Lily is a swan' but not both.,It is improbable 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 certain that Fred dropped the milk. It is highly likely that Winona is a mouse. It is almost certain that Mary got the apple.,It is almost certain that 'Fred dropped the milk 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 1.0::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.95,0.6837367473494699,train,almost certain,about even,It is almost certain that 'Fred dropped the milk and Mary got the apple'.,Chances are about even that 'Fred dropped the milk and Mary got the apple'.,1,'Fred dropped the milk and Mary got the apple'. There is little chance that Mary put down the milk. It is unlikely that Greg is a frog. We believe that Jessica is a cat.,It is probable that 'Mary put down 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.1::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.5561112222444489,train,improbable,probable,It is improbable that 'Mary put down the milk and Jessica is a cat'.,It is probable that 'Mary put down the milk and Jessica is a cat'.,0,'Mary put down the milk and Jessica is a cat'. It is probably the case that Mary went to the bedroom. It is probably the case that Brian is a frog. There is almost no chance that Jessica is a mouse.,It is likely that either 'Mary 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.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.692,0.3746749349869974,train,likely,improbable,It is likely that either 'Mary went to the bedroom' or 'Jessica is a mouse' but not both.,It is improbable that either 'Mary went to the bedroom' or 'Jessica is a mouse' but not both.,1,Either 'Mary went to the bedroom' or 'Jessica is a mouse' but not both. There is a very good chance that John went to the garden. It is highly unlikely that Brian is white. There is little chance that Mary dropped the milk.,There is little chance that either 'Mary dropped 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.8::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.2378475695139028,train,we believe,little chance,We believe that either 'Mary dropped the milk' or 'John went to the garden' but not both.,There is little chance that either 'Mary dropped the milk' or 'John went to the garden' but not both.,0,Either 'Mary dropped the milk' or 'John went to the garden' but not both. We believe that Bernhard is green. We believe that Daniel got the milk. It is unlikely that Brian is gray.,There is a very good chance that either 'Bernhard 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.75::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.375,0.23724744948989798,train,probably not,very good chance,It is probably not the case that either 'Bernhard is green' or 'Daniel got the milk' but not both.,There is a very good chance that either 'Bernhard is green' or 'Daniel got the milk' but not both.,0,Either 'Bernhard is green' or 'Daniel got the milk' but not both. It is probable that Bernhard is white. It is probably not the case that Brian is a swan. Chances are about even that John dropped the apple.,There is a better than even chance that 'Brian 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.7::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.625,0.4416883376675335,train,better than even,little chance,There is a better than even chance that 'Brian is a swan' or 'John dropped the apple' or both.,There is little chance that 'Brian is a swan' or 'John dropped the apple' or both.,1,'Brian is a swan' or 'John dropped the apple' or both. It is probably the case that Greg is a frog. It is improbable that Mary took the milk. There is little chance that Julius is a lion.,It is probably the case that either 'Greg 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.6207241448289658,train,probably,unlikely,It is probably the case that either 'Greg is a frog' or 'Julius is a lion' but not both.,It is unlikely that either 'Greg is a frog' or 'Julius is a lion' but not both.,1,Either 'Greg is a frog' or 'Julius is a lion' but not both. It is unlikely that Mary discarded the milk. It is highly unlikely that Emily is a sheep. There is a better than even chance that Lily is a lion.,There is a better than even chance that either 'Lily is a lion' 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.05::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.59,0.711742348469694,train,better than even,impossible,There is a better than even chance that either 'Lily is a lion' or 'Emily is a sheep' but not both.,It is impossible that either 'Lily is a lion' or 'Emily is a sheep' but not both.,1,Either 'Lily is a lion' or 'Emily is a sheep' but not both. There is a very good chance that Bernhard is yellow. It is probably the case that Lily is white. It is likely that John left the football.,It is highly likely that 'John 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.4946989397879576,train,highly likely,we doubt,It is highly likely that 'John left the football' or 'Lily is white' or both.,We doubt that 'John left the football' or 'Lily is white' or both.,1,'John left the football' or 'Lily is white' or both. It is certain that Greg is yellow. We believe that Brian is gray. We doubt that Sandra dropped the milk.,We doubt that either 'Greg is yellow' 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.75::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.5819163832766553,train,very good chance,we doubt,There is a very good chance that either 'Greg is yellow' or 'Sandra dropped the milk' but not both.,We doubt that either 'Greg is yellow' or 'Sandra dropped the milk' but not both.,0,Either 'Greg is yellow' or 'Sandra dropped the milk' but not both. Chances are slight that John moved to the office. It is almost certain that Gertrude is a mouse. There is little chance that Julius is gray.,Chances are about even that 'Julius is gray' or 'Gertrude is a mouse' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.24904980996199239,train,almost certain,about even,It is almost certain that 'Julius is gray' or 'Gertrude is a mouse' or both.,Chances are about even that 'Julius is gray' or 'Gertrude is a mouse' or both.,0,'Julius is gray' or 'Gertrude is a mouse' or both. There is a better than even chance that Greg is gray. There is a very good chance that Jason is tired. It is impossible that Mary went to the kitchen.,There is almost no chance that 'Mary went to the kitchen' 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.6::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6,0.19923984796959393,train,better than even,almost no chance,There is a better than even chance that 'Mary went to the kitchen' or 'Greg is gray' or both.,There is almost no chance that 'Mary went to the kitchen' or 'Greg is gray' or both.,0,'Mary went to the kitchen' or 'Greg is gray' or both. It is unlikely that Emily is a cat. There is little chance that Brian is green. We believe that Mary went to the office.,It is highly likely that 'Brian is green' 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.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.16863372674534907,train,probably not,highly likely,It is probably not the case that 'Brian is green' or 'Emily is a cat' or both.,It is highly likely that 'Brian is green' or 'Emily is a cat' or both.,0,'Brian is green' or 'Emily is a cat' or both. It is probable that Sandra got the football. It is probably the case that John moved to the garden. It is highly likely that Julius is a frog.,It is likely that either 'Julius 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.7::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.7199439887977596,train,probably not,likely,It is probably not the case that either 'Julius is a frog' or 'John moved to the garden' but not both.,It is likely that either 'Julius is a frog' or 'John moved to the garden' but not both.,0,Either 'Julius is a frog' or 'John moved to the garden' but not both. It is unlikely that Bernhard is a swan. It is probably not the case that Mary went to the office. It is likely that Lily is a rhino.,It is unlikely that 'Lily is a rhino and Mary went to the office'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.04220844168833767,train,unlikely,very good chance,It is unlikely that 'Lily is a rhino and Mary went to the office'.,There is a very good chance that 'Lily is a rhino and Mary went to the office'.,1,'Lily is a rhino and Mary went to the office'. It is certain that Julius is gray. It is unlikely that Lily is yellow. It is impossible that Greg is a frog.,It is certain that either 'Julius is gray' 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 1.0::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",1.0,0.4452890578115623,train,certain,little chance,It is certain that either 'Julius is gray' or 'Greg is a frog' but not both.,There is little chance that either 'Julius is gray' or 'Greg is a frog' but not both.,1,Either 'Julius is gray' or 'Greg is a frog' but not both. It is unlikely that Sandra grabbed the apple. We believe that Bernhard is a frog. It is probably the case that Lily is white.,There is a very good chance that 'Bernhard is a frog' 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.3996799359871974,train,very good chance,impossible,There is a very good chance that 'Bernhard is a frog' or 'Sandra grabbed the apple' or both.,It is impossible that 'Bernhard is a frog' or 'Sandra grabbed the apple' or both.,1,'Bernhard is a frog' or 'Sandra grabbed the apple' or both. There is a very good chance that Lily is a swan. It is probably not the case that Greg is a lion. We believe that Fred dropped the milk.,It is highly unlikely that 'Fred dropped 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.8::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9500000000000001,0.6407281456291258,train,almost certain,highly unlikely,It is almost certain that 'Fred dropped the milk' or 'Lily is a swan' or both.,It is highly unlikely that 'Fred dropped the milk' or 'Lily is a swan' or both.,0,'Fred dropped the milk' or 'Lily is a swan' or both. We doubt that Bernhard is white. It is certain that John got the milk. It is probably not the case that Gertrude is a cat.,Chances are about even 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.2::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.4,0.4512902580516103,train,about even,almost certain,Chances are about even that 'Gertrude is a cat' or 'Bernhard is white' or both.,It is almost certain that 'Gertrude is a cat' or 'Bernhard is white' or both.,1,'Gertrude is a cat' or 'Bernhard is white' or both. It is probably the case that Lily is green. There is almost no chance that Jeff left the apple. It is improbable that Daniel got the football.,There is little chance that 'Daniel got the football' 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.7::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.11800000000000002,0.3060612122424485,train,little chance,highly likely,There is little chance that 'Daniel got the football' or 'Jeff left the apple' or both.,It is highly likely that 'Daniel got the football' or 'Jeff left the apple' or both.,1,'Daniel got the football' or 'Jeff left the apple' or both. It is improbable that Greg is a rhino. It is probably not the case that Mary moved to the office. It is highly unlikely that Lily is green.,There is a very good chance that 'Greg is a rhino 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.25::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.6107221444288857,train,almost no chance,very good chance,There is almost no chance that 'Greg is a rhino and Mary moved to the office'.,There is a very good chance that 'Greg is a rhino and Mary moved to the office'.,0,'Greg is a rhino and Mary moved to the office'. There is almost no chance that Sandra dropped the milk. It is certain that John went to the hallway. We believe that Greg is a frog.,We believe that 'John went to the hallway and Greg is a frog'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.75,0.4900980196039208,train,we believe,improbable,We believe that 'John went to the hallway and Greg is a frog'.,It is improbable that 'John went to the hallway and Greg is a frog'.,1,'John went to the hallway and Greg is a frog'. It is almost certain that John is in the garden. There is little chance that Mary went to the kitchen. We believe that Lily is a frog.,We believe that 'Mary went to the kitchen' 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.95::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.1852370474094819,train,we believe,probably not,We believe that 'Mary went to the kitchen' or 'Lily is a frog' or both.,It is probably not the case that 'Mary went to the kitchen' or 'Lily is a frog' or both.,1,'Mary went to the kitchen' or 'Lily is a frog' or both. It is improbable that John put down the apple. It is impossible that Mary moved to the garden. It is impossible that Bernhard is a frog.,There is a better than even chance that 'Bernhard 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.0::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.6527305461092219,train,impossible,better than even,It is impossible that 'Bernhard is a frog and Mary moved to the garden'.,There is a better than even chance that 'Bernhard is a frog and Mary moved to the garden'.,0,'Bernhard is a frog and Mary moved to the garden'. There is little chance that Brian is a frog. We believe that Greg is a rhino. Chances are slight that John dropped the apple.,It is probable that either 'Greg is a rhino' 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.75::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.6925385077015404,train,probable,unlikely,It is probable that either 'Greg is a rhino' or 'John dropped the apple' but not both.,It is unlikely that either 'Greg is a rhino' or 'John dropped the apple' but not both.,1,Either 'Greg is a rhino' or 'John dropped the apple' but not both. It is almost certain that Bernhard is yellow. It is likely that Brian is gray. There is a very good chance that Bill went to the kitchen.,It is certain that 'Bernhard is yellow' or 'Bill 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.7::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.99,0.34086817363472693,train,certain,little chance,It is certain that 'Bernhard is yellow' or 'Bill went to the kitchen' or both.,There is little chance that 'Bernhard is yellow' or 'Bill went to the kitchen' or both.,1,'Bernhard is yellow' or 'Bill went to the kitchen' or both. It is impossible that Jeff went to the garden. There is little chance that Greg is gray. It is probably the case that John took the apple.,There is little chance that either 'Jeff went 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.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.10000000000000002,0.03700740148029606,train,little chance,highly likely,There is little chance that either 'Jeff went to the garden' or 'Greg is gray' but not both.,It is highly likely that either 'Jeff went to the garden' or 'Greg is gray' but not both.,1,Either 'Jeff went to the garden' or 'Greg is gray' but not both. There is little chance that Sandra took the milk. It is likely that Greg is a frog. It is probably the case that Bernhard is a rhino.,Chances are about even 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 0.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.7105421084216843,train,about even,highly unlikely,Chances are about even that 'Bernhard is a rhino and Greg is a frog'.,It is highly unlikely that 'Bernhard is a rhino and Greg is a frog'.,1,'Bernhard is a rhino and Greg is a frog'. We doubt that Jessica is a cat. We doubt that Julius is gray. It is certain that Greg is a frog.,It is probably not the case that 'Jessica is a cat' 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.2::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.36000000000000004,0.15883176635327065,train,probably not,very good chance,It is probably not the case that 'Jessica is a cat' or 'Julius is gray' or both.,There is a very good chance that 'Jessica is a cat' or 'Julius is gray' or both.,1,'Jessica is a cat' or 'Julius is gray' or both. It is certain that Brian is white. It is almost certain that John went to the office. It is probably the case that Bernhard is green.,It is probably not the case that either 'Bernhard is green' 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 1.0::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.5293058611722344,train,probably not,probable,It is probably not the case that either 'Bernhard is green' or 'John went to the office' but not both.,It is probable that either 'Bernhard is green' or 'John went to the office' but not both.,1,Either 'Bernhard is green' or 'John went to the office' but not both. It is improbable that Lily is a swan. It is likely that Julius is gray. It is improbable that Jessica is a sheep.,It is highly likely that 'Julius is gray 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.09321864372874575,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is gray and Jessica is a sheep'.,It is highly likely that 'Julius is gray and Jessica is a sheep'.,0,'Julius is gray and Jessica is a sheep'. It is probably not the case that Sandra left the football. It is highly likely that Julius is a frog. It is unlikely that Greg is a rhino.,It is unlikely that 'Julius is a frog 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.25::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.225,0.596119223844769,train,unlikely,likely,It is unlikely that 'Julius is a frog and Sandra left the football'.,It is likely that 'Julius is a frog and Sandra left the football'.,1,'Julius is a frog and Sandra left the football'. It is almost certain that Lily is white. We doubt that Winona is a mouse. It is probable that Greg is yellow.,It is probably not the case that either 'Greg is yellow' 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.95::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.04760952190438088,train,probably not,highly likely,It is probably not the case that either 'Greg is yellow' or 'Lily is white' but not both.,It is highly likely that either 'Greg is yellow' or 'Lily is white' but not both.,1,Either 'Greg is yellow' or 'Lily is white' but not both. We believe that Emily is a wolf. It is probably not the case that Sandra got the football. It is probably the case that Jessica is a sheep.,There is a better than even chance that either 'Jessica is a sheep' 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.75::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.6603320664132827,train,better than even,impossible,There is a better than even chance that either 'Jessica is a sheep' or 'Sandra got the football' but not both.,It is impossible that either 'Jessica is a sheep' or 'Sandra got the football' but not both.,1,Either 'Jessica is a sheep' or 'Sandra got the football' but not both. There is almost no chance that Bernhard is a swan. There is little chance that Daniel left the football. It is almost certain that John went to the bedroom.,It is probable that 'Daniel left 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.02::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.29185837167433487,train,impossible,probable,It is impossible that 'Daniel left the football and Bernhard is a swan'.,It is probable that 'Daniel left the football and Bernhard is a swan'.,0,'Daniel left the football and Bernhard is a swan'. It is highly likely that John went to the hallway. It is likely that Mary picked up the apple. Chances are slight that Greg is white.,It is probably the case that either 'Greg is white' 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.9::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.14122824564912984,train,probably,impossible,It is probably the case that either 'Greg is white' or 'Mary picked up the apple' but not both.,It is impossible that either 'Greg is white' or 'Mary picked up the apple' but not both.,1,Either 'Greg is white' or 'Mary picked up the apple' but not both. It is highly likely that Brian is a swan. Chances are slight that Greg is a frog. It is highly unlikely that Mary went to the bedroom.,We believe that 'Mary went to the bedroom' or 'Greg is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.14500000000000002,0.3754750950190038,train,little chance,we believe,There is little chance that 'Mary went to the bedroom' or 'Greg is a frog' or both.,We believe that 'Mary went to the bedroom' or 'Greg is a frog' or both.,0,'Mary went to the bedroom' or 'Greg is a frog' or both. It is improbable that Jeff moved to the office. We doubt that Mary got the apple. It is impossible that Julius is gray.,We believe that 'Mary got 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.1::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.1284256851370274,train,probably not,we believe,It is probably not the case that 'Mary got the apple' or 'Jeff moved to the office' or both.,We believe that 'Mary got the apple' or 'Jeff moved to the office' or both.,0,'Mary got the apple' or 'Jeff moved to the office' or both. It is highly likely that Daniel dropped the apple. It is certain that Fred left the football. It is probable that John put down the milk.,It is highly likely that 'Daniel dropped the apple 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.9::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.9,0.11742348469693939,train,highly likely,improbable,It is highly likely that 'Daniel dropped the apple and Fred left the football'.,It is improbable that 'Daniel dropped the apple and Fred left the football'.,1,'Daniel dropped the apple and Fred left the football'. It is probably the case that John moved to the office. Chances are about even that Brian is yellow. We believe that Mary took the milk.,Chances are about even that 'John moved to the office and Mary took the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.525,0.7023404680936187,train,about even,certain,Chances are about even that 'John moved to the office and Mary took the milk'.,It is certain that 'John moved to the office and Mary took the milk'.,1,'John moved to the office and Mary took the milk'. It is impossible that Jason is tired. It is probable that Julius is white. It is probably not the case that Mary moved to the garden.,It is impossible that 'Julius is white 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.0::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.3396679335867173,train,impossible,probably,It is impossible that 'Julius is white and Jason is tired'.,It is probably the case that 'Julius is white and Jason is tired'.,1,'Julius is white and Jason is tired'. It is almost certain that Julius is gray. It is likely that Brian is yellow. There is a better than even chance that Greg is a frog.,Chances are about even that either 'Greg 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.95::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.45999999999999996,0.29445889177835566,train,about even,almost certain,Chances are about even that either 'Greg is a frog' or 'Brian is yellow' but not both.,It is almost certain that either 'Greg is a frog' or 'Brian is yellow' but not both.,1,Either 'Greg is a frog' or 'Brian is yellow' but not both. It is probably not the case that Brian is a lion. There is almost no chance that Jessica is a mouse. There is little chance that Mary dropped the milk.,There is a very good chance that either 'Brian is a lion' 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.25::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.4234846969393879,train,probably not,very good chance,It is probably not the case that either 'Brian is a lion' or 'Mary dropped the milk' but not both.,There is a very good chance that either 'Brian is a lion' or 'Mary dropped the milk' but not both.,0,Either 'Brian is a lion' or 'Mary dropped the milk' but not both. It is certain that Sandra got the football. We doubt that John went to the garden. We doubt that Greg is gray.,We doubt that either 'John went to the garden' or 'Sandra got the football' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.634126825365073,train,very good chance,we doubt,There is a very good chance that either 'John went to the garden' or 'Sandra got the football' but not both.,We doubt that either 'John went to the garden' or 'Sandra got the football' but not both.,0,Either 'John went to the garden' or 'Sandra got the football' but not both. It is probable that Bernhard is a swan. There is little chance that Jeff went to the bedroom. We believe that Greg is a rhino.,It is improbable that 'Jeff went to the bedroom 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.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07500000000000002,0.6389277855571114,train,improbable,almost certain,It is improbable that 'Jeff went to the bedroom and Greg is a rhino'.,It is almost certain that 'Jeff went to the bedroom and Greg is a rhino'.,1,'Jeff went to the bedroom and Greg is a rhino'. There is almost no chance that Brian is yellow. It is likely that Greg is green. There is a better than even chance that Lily is a swan.,There is almost no chance 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.02::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.011999999999999999,0.09001800360072014,train,almost no chance,highly likely,There is almost no chance that 'Brian is yellow and Lily is a swan'.,It is highly likely that 'Brian is yellow and Lily is a swan'.,1,'Brian is yellow and Lily is a swan'. It is highly unlikely that Sandra dropped the milk. We doubt that Brian is a rhino. There is little chance that Emily is a mouse.,There is almost no chance that 'Brian 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.05::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.10722144428885777,train,almost no chance,highly likely,There is almost no chance that 'Brian is a rhino and Emily is a mouse'.,It is highly likely that 'Brian is a rhino and Emily is a mouse'.,1,'Brian is a rhino and Emily is a mouse'. It is highly unlikely that Bernhard is a lion. Chances are about even that Lily is a swan. There is almost no chance that John discarded the apple.,It is likely that 'Lily 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.05::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025,0.08901780356071214,train,almost no chance,likely,There is almost no chance that 'Lily is a swan and Bernhard is a lion'.,It is likely that 'Lily is a swan and Bernhard is a lion'.,0,'Lily is a swan and Bernhard is a lion'. We doubt that Mary moved to the office. It is probably the case that Jessica is a sheep. It is probable that Lily is gray.,There is almost no chance that either 'Lily is gray' 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.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.7595519103820764,train,about even,almost no chance,Chances are about even that either 'Lily is gray' or 'Jessica is a sheep' but not both.,There is almost no chance that either 'Lily is gray' or 'Jessica is a sheep' but not both.,0,Either 'Lily is gray' or 'Jessica is a sheep' but not both. There is a better than even chance that John went to the garden. There is little chance that Sandra left the milk. It is almost certain that Julius is a lion.,There is a better than even chance that 'John went to the garden 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.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.57,0.3350670134026805,train,better than even,chances are slight,There is a better than even chance that 'John went to the garden and Julius is a lion'.,Chances are slight that 'John went to the garden and Julius is a lion'.,1,'John went to the garden and Julius is a lion'. We believe that Lily is a frog. It is highly unlikely that Bernhard is yellow. It is unlikely that Jason is tired.,We doubt that either 'Jason is tired' 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.05::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.65,0.5219043808761752,train,likely,we doubt,It is likely that either 'Jason is tired' or 'Lily is a frog' but not both.,We doubt that either 'Jason is tired' or 'Lily is a frog' but not both.,0,Either 'Jason is tired' or 'Lily is a frog' but not both. It is unlikely that Sandra dropped the milk. There is a better than even chance that John picked up the apple. Chances are slight that Jeff went to the garden.,It is likely that 'John picked up 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.2::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.68,0.28845769153830764,train,likely,chances are slight,It is likely that 'John picked up the apple' or 'Sandra dropped the milk' or both.,Chances are slight that 'John picked up the apple' or 'Sandra dropped the milk' or both.,1,'John picked up the apple' or 'Sandra dropped the milk' or both. It is certain that Brian is a frog. It is probable that Bernhard is green. There is almost no chance that Mary got the football.,There is almost no chance that 'Bernhard is green 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 1.0::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.014000000000000007,0.32666533306661333,train,almost no chance,about even,There is almost no chance that 'Bernhard is green and Mary got the football'.,Chances are about even that 'Bernhard is green and Mary got the football'.,1,'Bernhard is green and Mary got the football'. It is highly likely that Sandra left the football. It is unlikely that John got the apple. It is unlikely that Brian is a rhino.,We believe that either 'Brian 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.9::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32,0.003800760152030406,train,probably not,we believe,It is probably not the case that either 'Brian is a rhino' or 'John got the apple' but not both.,We believe that either 'Brian is a rhino' or 'John got the apple' but not both.,0,Either 'Brian is a rhino' or 'John got the apple' but not both. There is a very good chance that Sandra took the milk. It is likely that John moved to the office. We doubt that Greg is a swan.,Chances are about even that either 'Sandra took 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.8::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.38,0.7233446689337868,train,about even,highly unlikely,Chances are about even that either 'Sandra took the milk' or 'John moved to the office' but not both.,It is highly unlikely that either 'Sandra took the milk' or 'John moved to the office' but not both.,1,Either 'Sandra took the milk' or 'John moved to the office' but not both. It is certain that Julius is a frog. There is a very good chance that Jeff went to the garden. There is almost no chance that Brian is yellow.,There is a very good chance that 'Julius is a frog 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 1.0::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.8,0.3084616923384677,train,very good chance,improbable,There is a very good chance that 'Julius is a frog and Jeff went to the garden'.,It is improbable that 'Julius is a frog and Jeff went to the garden'.,1,'Julius is a frog and Jeff went to the garden'. We believe that John went to the bedroom. There is almost no chance that Mary got the football. It is unlikely that Fred dropped the apple.,It is probably not the case that 'John went to the bedroom' 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 0.75::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.40608121624324867,train,very good chance,probably not,There is a very good chance that 'John went to the bedroom' or 'Fred dropped the apple' or both.,It is probably not the case that 'John went to the bedroom' or 'Fred dropped the apple' or both.,0,'John went to the bedroom' or 'Fred dropped the apple' or both. It is highly likely that Mary picked up the milk. We believe that Sandra left the football. It is certain that Brian is yellow.,It is probably not the case that 'Brian is yellow' 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.9::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.5391078215643129,train,certain,probably not,It is certain that 'Brian is yellow' or 'Sandra left the football' or both.,It is probably not the case that 'Brian is yellow' or 'Sandra left the football' or both.,0,'Brian is yellow' or 'Sandra left the football' or both. It is improbable that Winona is a sheep. Chances are about even that Lily is a lion. It is impossible that Brian is a frog.,It is highly unlikely that 'Winona 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.5::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.22384476895379077,train,highly unlikely,certain,It is highly unlikely that 'Winona is a sheep and Lily is a lion'.,It is certain that 'Winona is a sheep and Lily is a lion'.,1,'Winona is a sheep and Lily is a lion'. Chances are about even that John went to the kitchen. There is a better than even chance that Emily is a wolf. It is almost certain that Brian is a frog.,It is certain 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.5::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.98,0.7953590718143628,train,certain,unlikely,It is certain that 'Brian is a frog' or 'Emily is a wolf' or both.,It is unlikely that 'Brian is a frog' or 'Emily is a wolf' or both.,1,'Brian is a frog' or 'Emily is a wolf' or both. Chances are slight that Lily is a swan. It is probably the case that John picked up the apple. It is almost certain that Mary left the football.,Chances are slight that either 'Mary 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. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.86,0.21004200840168033,train,highly likely,chances are slight,It is highly likely that either 'Mary left the football' or 'Lily is a swan' but not both.,Chances are slight that either 'Mary left the football' or 'Lily is a swan' but not both.,0,Either 'Mary left the football' or 'Lily is a swan' but not both. There is almost no chance that Daniel grabbed the apple. It is highly likely that Sandra dropped the milk. There is almost no chance that Julius is gray.,It is highly likely that 'Sandra dropped the milk' 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.02::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.902,0.6483296659331866,train,highly likely,unlikely,It is highly likely that 'Sandra dropped the milk' or 'Daniel grabbed the apple' or both.,It is unlikely that 'Sandra dropped the milk' or 'Daniel grabbed the apple' or both.,1,'Sandra dropped the milk' or 'Daniel grabbed the apple' or both. There is little chance that Gertrude is a sheep. We doubt that Julius is yellow. It is probably not the case that Daniel got the milk.,There is a very good chance that 'Julius is yellow' 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.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.16843368673734746,train,probably not,very good chance,It is probably not the case that 'Julius is yellow' or 'Gertrude is a sheep' or both.,There is a very good chance that 'Julius is yellow' or 'Gertrude is a sheep' or both.,0,'Julius is yellow' or 'Gertrude is a sheep' or both. It is probably the case that Jessica is a wolf. It is probably the case that John took the football. It is probable that Lily is a frog.,Chances are about even that either 'Jessica 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.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.09081816363272655,train,about even,impossible,Chances are about even that either 'Jessica is a wolf' or 'Lily is a frog' but not both.,It is impossible that either 'Jessica is a wolf' or 'Lily is a frog' but not both.,1,Either 'Jessica is a wolf' or 'Lily is a frog' but not both. It is highly unlikely that Greg is a frog. There is little chance that John dropped the milk. It is impossible that Julius is a rhino.,Chances are slight 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.05::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.10000000000000002,0.4166833366673335,train,chances are slight,highly likely,Chances are slight that either 'Julius is a rhino' or 'John dropped the milk' but not both.,It is highly likely 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 probably the case that John moved to the office. There is little chance that Bill went to the kitchen. There is little chance that Brian is green.,It is highly unlikely that either 'John moved to the office' 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.6105221044208842,train,probably,highly unlikely,It is probably the case that either 'John moved to the office' or 'Bill went to the kitchen' but not both.,It is highly unlikely that either 'John moved to the office' or 'Bill went to the kitchen' but not both.,0,Either 'John moved to the office' or 'Bill went to the kitchen' but not both. Chances are about even that Emily is a wolf. It is highly likely that Bernhard is a swan. It is improbable that Jeff discarded the milk.,Chances are about even that either 'Jeff discarded the milk' 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.9::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.39167833566713345,train,about even,impossible,Chances are about even that either 'Jeff discarded the milk' or 'Emily is a wolf' but not both.,It is impossible that either 'Jeff discarded the milk' or 'Emily is a wolf' but not both.,1,Either 'Jeff discarded the milk' or 'Emily is a wolf' but not both. Chances are about even that Bernhard is a rhino. It is likely that Mary got the milk. There is a very good chance that Greg is white.,It is highly likely that 'Mary got 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.5::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.6827365473094619,train,probably not,highly likely,It is probably not the case that 'Mary got the milk and Bernhard is a rhino'.,It is highly likely that 'Mary got the milk and Bernhard is a rhino'.,0,'Mary got the milk and Bernhard is a rhino'. It is highly unlikely that Bernhard is yellow. There is little chance that Greg is gray. It is likely that Jeff left the football.,There is almost no chance that either 'Jeff left the football' 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.05::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.46109221844368875,train,likely,almost no chance,It is likely that either 'Jeff left the football' or 'Greg is gray' but not both.,There is almost no chance that either 'Jeff left the football' or 'Greg is gray' but not both.,0,Either 'Jeff left the football' or 'Greg is gray' but not both. It is impossible that John dropped the milk. It is almost certain that Lily is a rhino. It is unlikely that Gertrude is a mouse.,We believe 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.0::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.4358871774354871,train,we believe,chances are slight,We believe 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. It is improbable that Greg is gray. There is almost no chance that Julius is white. We doubt that Lily is green.,It is likely 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.1::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.05401080216043209,train,probably not,likely,It is probably not the case that either 'Greg is gray' or 'Lily is green' but not both.,It is likely that either 'Greg is gray' or 'Lily is green' but not both.,0,Either 'Greg is gray' or 'Lily is green' but not both. It is certain that Brian is a frog. It is impossible that Mary got the milk. Chances are slight that Winona is a cat.,It is improbable that 'Winona is a cat 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.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.39267853570714145,train,improbable,likely,It is improbable that 'Winona is a cat and Brian is a frog'.,It is likely that 'Winona is a cat and Brian is a frog'.,1,'Winona is a cat and Brian is a frog'. It is almost certain that Julius is a rhino. It is likely that Lily is green. It is probable that Bernhard is white.,Chances are about even 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.95::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.48999999999999994,0.2892578515703141,train,about even,certain,Chances are about even that 'Lily is green and Bernhard is white'.,It is certain that 'Lily is green and Bernhard is white'.,1,'Lily is green and Bernhard is white'. It is likely that Greg is yellow. It is probable that John put down the apple. It is highly unlikely that Bernhard is a frog.,It is impossible that either 'Bernhard is a frog' 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.7::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6799999999999999,0.5223044608921784,train,probably,impossible,It is probably the case that either 'Bernhard is a frog' or 'John put down the apple' but not both.,It is impossible that either 'Bernhard is a frog' or 'John put down the apple' but not both.,0,Either 'Bernhard is a frog' or 'John put down the apple' but not both. It is unlikely that John picked up the apple. We doubt that Julius is a lion. There is a very good chance that Bernhard is green.,It is impossible that 'Julius is a lion' 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.2::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.739747949589918,train,very good chance,impossible,There is a very good chance that 'Julius is a lion' or 'Bernhard is green' or both.,It is impossible that 'Julius is a lion' or 'Bernhard is green' or both.,0,'Julius is a lion' or 'Bernhard is green' or both. There is a very good chance that Mary left the apple. It is probably not the case that Sumit is thirsty. It is probably the case that Greg is white.,There is a very good chance that 'Sumit is thirsty' 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.8::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.05381076215243048,train,very good chance,unlikely,There is a very good chance that 'Sumit is thirsty' or 'Greg is white' or both.,It is unlikely that 'Sumit is thirsty' or 'Greg is white' or both.,1,'Sumit is thirsty' or 'Greg is white' or both. It is improbable that Julius is gray. It is certain that John went to the garden. It is likely that Mary put down the apple.,It is highly unlikely that 'Julius is gray 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.1::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.07441488297659532,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is gray and Mary put down the apple'.,It is almost certain that 'Julius is gray and Mary put down the apple'.,1,'Julius is gray and Mary put down the apple'. We doubt that John took the football. We doubt that Brian is a lion. It is impossible that Gertrude is a mouse.,It is unlikely that either 'Brian is a lion' or 'Gertrude is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.27705541108221643,train,unlikely,probable,It is unlikely that either 'Brian is a lion' or 'Gertrude is a mouse' but not both.,It is probable that either 'Brian is a lion' or 'Gertrude is a mouse' but not both.,1,Either 'Brian is a lion' or 'Gertrude is a mouse' but not both. Chances are about even that Bernhard is yellow. It is highly likely that Mary went to the bedroom. It is unlikely that Greg is gray.,It is highly likely that 'Mary 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.5::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.92,0.4176835367073415,train,highly likely,improbable,It is highly likely that 'Mary went to the bedroom' or 'Greg is gray' or both.,It is improbable that 'Mary went to the bedroom' or 'Greg is gray' or both.,1,'Mary went to the bedroom' or 'Greg is gray' or both. There is almost no chance that Jessica is a sheep. Chances are slight that Julius is a lion. Chances are about even that Mary went to the office.,There is little chance that 'Julius is a lion' 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.1::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.11800000000000002,0.2984596919383877,train,little chance,probably,There is little chance that 'Julius is a lion' or 'Jessica is a sheep' or both.,It is probably the case that 'Julius is a lion' or 'Jessica is a sheep' or both.,1,'Julius is a lion' or 'Jessica is a sheep' or both. There is a better than even chance that Greg is yellow. We doubt that Lily is a swan. It is probable that John grabbed the milk.,It is highly unlikely that either 'Lily is a swan' 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.6::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.62,0.7833566713342669,train,better than even,highly unlikely,There is a better than even chance that either 'Lily is a swan' or 'John grabbed the milk' but not both.,It is highly unlikely that either 'Lily is a swan' or 'John grabbed the milk' but not both.,0,Either 'Lily is a swan' or 'John grabbed the milk' but not both. We doubt that John left the apple. It is probably not the case that Julius is a lion. It is probable that Brian is a frog.,There is a better than even chance that either 'Brian is a frog' 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.2::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.3956791358271654,train,better than even,little chance,There is a better than even chance that either 'Brian is a frog' or 'John left the apple' but not both.,There is little chance that either 'Brian is a frog' or 'John left the apple' but not both.,1,Either 'Brian is a frog' or 'John left the apple' but not both. It is improbable that Mary took the football. There is a better than even chance that Lily is a frog. It is probable that Bill moved to the office.,There is a better than even chance that 'Lily 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.1::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.539507901580316,train,better than even,impossible,There is a better than even chance that 'Lily is a frog' or 'Mary took the football' or both.,It is impossible that 'Lily is a frog' or 'Mary took the football' or both.,1,'Lily is a frog' or 'Mary took the football' or both. Chances are about even that Daniel dropped the milk. Chances are about even that John went to the garden. We believe that Julius is a swan.,It is unlikely that 'Daniel 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.5::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8750000000000001,0.6109221844368874,train,highly likely,unlikely,It is highly likely that 'Daniel dropped the milk' or 'Julius is a swan' or both.,It is unlikely that 'Daniel dropped the milk' or 'Julius is a swan' or both.,0,'Daniel dropped the milk' or 'Julius is a swan' or both. It is improbable that Mary went to the kitchen. There is almost no chance that Bernhard is a rhino. There is a better than even chance that Greg is a swan.,There is a better than even chance that either 'Greg is a swan' 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.02::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.58,0.49529905981196237,train,better than even,chances are slight,There is a better than even chance that either 'Greg is a swan' or 'Mary went to the kitchen' but not both.,Chances are slight that either 'Greg is a swan' or 'Mary went to the kitchen' but not both.,1,Either 'Greg is a swan' or 'Mary went to the kitchen' but not both. It is probably the case that Sandra got the milk. It is probably the case that Jeff went to the bedroom. Chances are slight that Mary put down the apple.,It is highly unlikely that 'Jeff went to the bedroom 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.5349069813962792,train,highly unlikely,better than even,It is highly unlikely that 'Jeff went to the bedroom and Mary put down the apple'.,There is a better than even chance that 'Jeff went to the bedroom and Mary put down the apple'.,1,'Jeff went to the bedroom and Mary put down the apple'. It is impossible that Greg is yellow. It is probably not the case that Gertrude is a mouse. There is almost no chance that Julius is green.,It is impossible that 'Julius is green 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.0::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.005000000000000002,0.1244248849769954,train,impossible,almost certain,It is impossible that 'Julius is green and Gertrude is a mouse'.,It is almost certain that 'Julius is green and Gertrude is a mouse'.,1,'Julius is green and Gertrude is a mouse'. It is certain that John put down the apple. It is certain that Bill went to the garden. It is probably not the case that Bernhard is green.,Chances are about even that 'Bill 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 1.0::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.48109621924384877,train,certain,about even,It is certain that 'Bill went to the garden' or 'John put down the apple' or both.,Chances are about even that 'Bill went to the garden' or 'John put down the apple' or both.,0,'Bill went to the garden' or 'John put down the apple' or both. It is highly unlikely that Lily is a swan. It is certain that John went to the kitchen. We doubt that Bernhard is a rhino.,It is probable that 'Bernhard is a rhino 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.19483896779355872,train,almost no chance,probable,There is almost no chance that 'Bernhard is a rhino and Lily is a swan'.,It is probable that 'Bernhard is a rhino and Lily is a swan'.,0,'Bernhard is a rhino and Lily is a swan'. Chances are slight that Mary went to the office. We believe that John moved to the garden. It is likely that Bernhard is a frog.,Chances are about even that 'Bernhard is a frog 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.75::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.34566913382676534,train,about even,impossible,Chances are about even that 'Bernhard is a frog and John moved to the garden'.,It is impossible that 'Bernhard is a frog and John moved to the garden'.,1,'Bernhard is a frog and John moved to the garden'. It is almost certain that John got the apple. We believe that Mary moved to the garden. It is probably the case that Gertrude is a wolf.,It is certain that 'John got the apple' 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.95::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9875,0.28125625125025006,train,certain,unlikely,It is certain that 'John got the apple' or 'Mary moved to the garden' or both.,It is unlikely that 'John got the apple' or 'Mary moved to the garden' or both.,1,'John got the apple' or 'Mary moved to the garden' or both. It is unlikely that Lily is white. It is probably the case that Brian is green. There is little chance that Winona is a sheep.,We believe that 'Winona is a sheep and Brian is green'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.5731146229245849,train,highly unlikely,we believe,It is highly unlikely that 'Winona is a sheep and Brian is green'.,We believe that 'Winona is a sheep and Brian is green'.,0,'Winona is a sheep and Brian is green'. We doubt that John went to the bedroom. There is a very good chance that Bernhard is a rhino. It is almost certain that Sandra left the milk.,It is certain that 'Bernhard is a rhino 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.2::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.16000000000000003,0.6927385477095419,train,we doubt,certain,We doubt that 'Bernhard is a rhino and John went to the bedroom'.,It is certain that 'Bernhard is a rhino and John went to the bedroom'.,0,'Bernhard is a rhino and John went to the bedroom'. We believe that Lily is a lion. It is highly unlikely that Mary went to the kitchen. There is a very good chance that Bernhard is a frog.,It is probably not the case that either 'Bernhard 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.75::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.35000000000000003,0.7945589117823565,train,probably not,we believe,It is probably not the case that either 'Bernhard is a frog' or 'Lily is a lion' but not both.,We believe that either 'Bernhard is a frog' or 'Lily is a lion' but not both.,1,Either 'Bernhard is a frog' or 'Lily is a lion' but not both. It is likely that Brian is yellow. It is almost certain that Julius is green. It is highly likely that Mary went to the bedroom.,It is highly unlikely that 'Brian 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 0.7::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.63,0.2568513702740548,train,better than even,highly unlikely,There is a better than even chance that 'Brian is yellow and Mary went to the bedroom'.,It is highly unlikely that 'Brian is yellow and Mary went to the bedroom'.,0,'Brian is yellow and Mary went to the bedroom'. There is little chance that Julius is gray. There is a very good chance that John went to the bedroom. It is almost certain that Bernhard is yellow.,It is probable that either 'Bernhard 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.1::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.23,0.34106821364272855,train,probably not,probable,It is probably not the case that either 'Bernhard is yellow' or 'John went to the bedroom' but not both.,It is probable that either 'Bernhard is yellow' or 'John went to the bedroom' but not both.,0,Either 'Bernhard is yellow' or 'John went to the bedroom' but not both. It is certain that Mary moved to the garden. There is almost no chance that Jeff put down the milk. Chances are slight that Bernhard is a frog.,There is a better than even chance that 'Jeff put down 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 1.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0020000000000000005,0.3604720944188838,train,impossible,better than even,It is impossible that 'Jeff put down the milk and Bernhard is a frog'.,There is a better than even chance that 'Jeff put down the milk and Bernhard is a frog'.,0,'Jeff put down the milk and Bernhard is a frog'. It is certain that Greg is a lion. There is almost no chance that Jessica is a cat. Chances are about even that Sandra left the apple.,It is probable that 'Sandra left 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 1.0::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.010000000000000004,0.7301460292058412,train,almost no chance,probable,There is almost no chance that 'Sandra left the apple and Jessica is a cat'.,It is probable that 'Sandra left the apple and Jessica is a cat'.,0,'Sandra left the apple and Jessica is a cat'. It is probably the case that Bernhard is green. There is a better than even chance that Jeff left the apple. There is little chance that Greg is a swan.,It is probably not the case 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.6::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.4690938187637528,train,we believe,probably not,We believe that 'Greg is a swan' or 'Bernhard is green' or both.,It is probably not the case that 'Greg is a swan' or 'Bernhard is green' or both.,0,'Greg is a swan' or 'Bernhard is green' or both. It is unlikely that Mary got the milk. We believe that John left the football. It is likely that Brian is white.,We doubt that 'John left the football' 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.7795559111822364,train,very good chance,we doubt,There is a very good chance that 'John left the football' or 'Mary got the milk' or both.,We doubt that 'John left the football' or 'Mary got the milk' or both.,0,'John left the football' or 'Mary got the milk' or both. There is a very good chance that Brian is white. There is a very good chance that Mary left the apple. It is almost certain that Lily is a swan.,It is unlikely that 'Lily is a swan and Brian is white'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.76,0.40708141628325667,train,we believe,unlikely,We believe that 'Lily is a swan and Brian is white'.,It is unlikely that 'Lily is a swan and Brian is white'.,0,'Lily is a swan and Brian is white'. It is probably not the case that Brian is a swan. It is probable that Julius is green. It is improbable that Greg is yellow.,There is a very good chance that 'Julius is green' 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.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.3246649329865973,train,very good chance,unlikely,There is a very good chance that 'Julius is green' or 'Brian is a swan' or both.,It is unlikely that 'Julius is green' or 'Brian is a swan' or both.,1,'Julius is green' or 'Brian is a swan' or both. It is highly unlikely that John left the milk. There is a very good chance that Julius is green. It is probably not the case that Mary went to the bedroom.,It is probably not the case that 'John left 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.05::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2875,0.33086617323464695,train,probably not,highly likely,It is probably not the case that 'John left the milk' or 'Mary went to the bedroom' or both.,It is highly likely that 'John left the milk' or 'Mary went to the bedroom' or both.,1,'John left the milk' or 'Mary went to the bedroom' or both. It is probable that Julius is gray. There is little chance that Bernhard is green. It is probably the case that Brian is white.,Chances are about even that 'Brian 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.3882776555311062,train,about even,almost no chance,Chances are about even that 'Brian is white and Julius is gray'.,There is almost no chance that 'Brian is white and Julius is gray'.,1,'Brian is white and Julius is gray'. It is unlikely that Lily is a rhino. It is improbable that Greg is a frog. It is likely that Julius is gray.,We believe 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.1806361272254451,train,we believe,almost no chance,We believe that 'Julius is gray' or 'Greg is a frog' or both.,There is almost no chance that 'Julius is gray' or 'Greg is a frog' or both.,1,'Julius is gray' or 'Greg is a frog' or both. It is probable that Daniel left the apple. It is highly likely that Jeff went to the bedroom. There is almost no chance that Greg is a rhino.,It is highly likely that either 'Jeff went to the bedroom' 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.9::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.7389477895579116,train,probably not,highly likely,It is probably not the case that either 'Jeff went to the bedroom' or 'Daniel left the apple' but not both.,It is highly likely that either 'Jeff went to the bedroom' or 'Daniel left the apple' but not both.,0,Either 'Jeff went to the bedroom' or 'Daniel left the apple' but not both. There is a better than even chance that Yann is tired. Chances are about even that Fred is in the cinema. It is probable that Bernhard is a frog.,It is probably not the case that 'Fred is in the cinema 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.44948989797959593,train,probably not,highly likely,It is probably not the case that 'Fred is in the cinema and Bernhard is a frog'.,It is highly likely that 'Fred is in the cinema and Bernhard is a frog'.,1,'Fred is in the cinema and Bernhard is a frog'. It is probable that Lily is a rhino. It is highly likely that Brian is a frog. It is improbable that Sandra took the milk.,It is probably not the case that either 'Brian 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.14582916583316663,train,probably not,likely,It is probably not the case that either 'Brian is a frog' or 'Lily is a rhino' but not both.,It is likely that either 'Brian is a frog' or 'Lily is a rhino' but not both.,1,Either 'Brian is a frog' or 'Lily is a rhino' but not both. There is little chance that John dropped the apple. We believe that Julius is a swan. It is probably not the case that Bernhard is a frog.,It is probable that either 'Bernhard is a frog' 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.75::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.3190638127625525,train,probably not,probable,It is probably not the case that either 'Bernhard is a frog' or 'John dropped the apple' but not both.,It is probable that either 'Bernhard is a frog' or 'John dropped the apple' but not both.,0,Either 'Bernhard is a frog' or 'John dropped the apple' but not both. It is highly likely that Julius is a lion. It is impossible that Lily is a rhino. Chances are slight that Sandra grabbed the milk.,We believe that 'Julius is a lion and Sandra 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.9::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.7131426285257051,train,little chance,we believe,There is little chance that 'Julius is a lion and Sandra grabbed the milk'.,We believe that 'Julius is a lion and Sandra grabbed the milk'.,0,'Julius is a lion and Sandra grabbed the milk'. It is probable that Mary moved to the garden. It is impossible that Gertrude is a wolf. It is almost certain that Julius is green.,It is almost certain that either 'Julius is green' 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.0::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.08641728345669134,train,almost certain,about even,It is almost certain that either 'Julius is green' or 'Gertrude is a wolf' but not both.,Chances are about even that either 'Julius is green' or 'Gertrude is a wolf' but not both.,1,Either 'Julius is green' or 'Gertrude is a wolf' but not both. It is highly likely that John went to the office. It is probably the case that Julius is a frog. There is a better than even chance that Mary dropped the milk.,There is little chance that 'John went 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.9::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.96,0.5111022204440888,train,almost certain,little chance,It is almost certain that 'John went to the office' or 'Mary dropped the milk' or both.,There is little chance that 'John went to the office' or 'Mary dropped the milk' or both.,0,'John went to the office' or 'Mary dropped the milk' or both. It is highly likely that John went to the garden. It is improbable that Bernhard is a rhino. We doubt that Greg is a frog.,It is probably not the case that either 'Greg 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.9::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.27725545109021804,train,probably not,probable,It is probably not the case that either 'Greg is a frog' or 'Bernhard is a rhino' but not both.,It is probable that either 'Greg is a frog' or 'Bernhard is a rhino' but not both.,1,Either 'Greg is a frog' or 'Bernhard is a rhino' but not both. It is highly likely that John went to the kitchen. Chances are slight that Fred put down the apple. It is probably the case that Emily is a sheep.,It is highly unlikely that 'Emily 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.4326865373074615,train,we believe,highly unlikely,We believe that 'Emily is a sheep' or 'Fred put down the apple' or both.,It is highly unlikely that 'Emily is a sheep' or 'Fred put down the apple' or both.,0,'Emily is a sheep' or 'Fred put down the apple' or both. It is unlikely that Julius is white. It is probably the case that Bernhard is white. It is certain that John discarded the apple.,We doubt that 'John discarded 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.2::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.35027005401080213,train,certain,we doubt,It is certain that 'John discarded the apple' or 'Julius is white' or both.,We doubt that 'John discarded the apple' or 'Julius is white' or both.,0,'John discarded the apple' or 'Julius is white' or both. It is almost certain that Greg is a rhino. Chances are about even that Julius is yellow. It is likely that Lily is a swan.,It is likely that either 'Lily 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.95::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.4960992198439688,train,probably not,likely,It is probably not the case that either 'Lily is a swan' or 'Greg is a rhino' but not both.,It is likely that either 'Lily is a swan' or 'Greg is a rhino' but not both.,0,Either 'Lily is a swan' or 'Greg is a rhino' but not both. It is probably the case that Greg is a lion. We doubt that Julius is white. There is little chance that Mary took the milk.,It is probably the case that either 'Greg 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 0.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.1868373674734947,train,probably,we doubt,It is probably the case that either 'Greg is a lion' or 'Mary took the milk' but not both.,We doubt that either 'Greg is a lion' or 'Mary took the milk' but not both.,1,Either 'Greg is a lion' or 'Mary took the milk' but not both. It is certain that Sandra got the milk. It is almost certain that Daniel took the apple. There is a very good chance that Mary moved to the garden.,It is highly unlikely that 'Daniel took the apple' 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 1.0::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.09061812362472495,train,certain,highly unlikely,It is certain that 'Daniel took the apple' or 'Sandra got the milk' or both.,It is highly unlikely that 'Daniel took the apple' or 'Sandra got the milk' or both.,0,'Daniel took the apple' or 'Sandra got the milk' or both. There is a better than even chance that Yann is tired. It is certain that Greg is gray. It is probably not the case that John left the milk.,Chances are about even that either 'Greg is gray' 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.6::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.011602320464092819,train,about even,certain,Chances are about even that either 'Greg is gray' or 'Yann is tired' but not both.,It is certain that either 'Greg is gray' or 'Yann is tired' but not both.,1,Either 'Greg is gray' or 'Yann is tired' but not both. It is improbable that Greg is white. There is almost no chance that John went to the kitchen. It is probably not the case that Lily is a frog.,There is a very good chance that either 'Lily is a frog' or 'Greg is white' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.011802360472094419,train,probably not,very good chance,It is probably not the case that either 'Lily is a frog' or 'Greg is white' but not both.,There is a very good chance that either 'Lily is a frog' or 'Greg is white' but not both.,0,Either 'Lily is a frog' or 'Greg is white' but not both. It is highly likely that Lily is a rhino. We believe that Greg is gray. It is unlikely that John went to the hallway.,It is unlikely that 'John went to the hallway 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.75::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.18000000000000002,0.394878975795159,train,unlikely,likely,It is unlikely that 'John went to the hallway and Lily is a rhino'.,It is likely that 'John went to the hallway and Lily is a rhino'.,1,'John went to the hallway and Lily is a rhino'. We doubt that Greg is a rhino. It is almost certain that Julius is a lion. It is probable that Mary took the milk.,It is impossible that either 'Julius 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.2::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.77,0.28765753150630125,train,we believe,impossible,We believe that either 'Julius is a lion' or 'Greg is a rhino' but not both.,It is impossible that either 'Julius is a lion' or 'Greg is a rhino' but not both.,0,Either 'Julius is a lion' or 'Greg is a rhino' but not both. Chances are slight that Brian is a swan. It is probable that Mary went to the kitchen. It is almost certain that Jason is tired.,It is almost certain that 'Brian 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.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09500000000000001,0.07061412282456492,train,chances are slight,almost certain,Chances are slight that 'Brian is a swan and Jason is tired'.,It is almost certain that 'Brian is a swan and Jason is tired'.,0,'Brian is a swan and Jason is tired'. It is probably not the case that Greg is yellow. It is probably the case that Mary went to the kitchen. Chances are slight that Bernhard is a frog.,We doubt that 'Mary 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.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.6319263852770554,train,we believe,we doubt,We believe that 'Mary went to the kitchen' or 'Bernhard is a frog' or both.,We doubt that 'Mary went to the kitchen' or 'Bernhard is a frog' or both.,0,'Mary went to the kitchen' or 'Bernhard is a frog' or both. It is improbable that Mary picked up the milk. It is improbable that Julius is a frog. It is probably the case that Winona is a wolf.,It is highly unlikely that 'Julius is a frog 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.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.640128025605121,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is a frog and Winona is a wolf'.,It is highly likely that 'Julius is a frog and Winona is a wolf'.,1,'Julius is a frog and Winona is a wolf'. It is certain that Gertrude is a cat. It is highly unlikely that Jessica is a mouse. There is little chance that Winona is a sheep.,It is certain that 'Jessica is a mouse' 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.14500000000000002,0.5217043408681736,train,little chance,certain,There is little chance that 'Jessica is a mouse' or 'Winona is a sheep' or both.,It is certain that 'Jessica is a mouse' or 'Winona is a sheep' or both.,0,'Jessica is a mouse' or 'Winona is a sheep' or both. We doubt that Bernhard is green. It is probable that Julius is a lion. It is improbable that John took the apple.,There is almost no chance that 'John took the apple 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.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.02000000000000001,0.2614522904580916,train,almost no chance,certain,There is almost no chance that 'John took the apple and Bernhard is green'.,It is certain that 'John took the apple and Bernhard is green'.,1,'John took the apple and Bernhard is green'. It is probably the case that Greg is a rhino. It is probably not the case that Brian is gray. There is almost no chance that Mary dropped the apple.,It is probably not the case 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.25::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.265,0.7383476695339067,train,probably not,we believe,It is probably not the case that 'Brian is gray' or 'Mary dropped the apple' or both.,We believe that 'Brian is gray' or 'Mary dropped the apple' or both.,1,'Brian is gray' or 'Mary dropped the apple' or both. Chances are about even that Greg is yellow. Chances are about even that Jessica is a cat. It is unlikely that Julius is a rhino.,There is a better than even chance that 'Julius 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.5::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.10000000000000002,0.0632126425285057,train,chances are slight,better than even,Chances are slight that 'Julius is a rhino and Greg is yellow'.,There is a better than even chance that 'Julius is a rhino and Greg is yellow'.,0,'Julius is a rhino and Greg is yellow'. There is a very good chance that John went to the garden. There is a better than even chance that Greg is a swan. It is improbable that Bill moved to the office.,It is highly unlikely that 'Bill moved to the office 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.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.529505901180236,train,highly unlikely,we believe,It is highly unlikely that 'Bill moved to the office and Greg is a swan'.,We believe that 'Bill moved to the office and Greg is a swan'.,1,'Bill moved to the office and Greg is a swan'. There is little chance that Winona is a wolf. It is impossible that Sandra dropped the apple. Chances are slight that Greg is gray.,It is likely that either 'Winona is a wolf' 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.10000000000000002,0.3646729345869174,train,chances are slight,likely,Chances are slight that either 'Winona is a wolf' or 'Sandra dropped the apple' but not both.,It is likely that either 'Winona is a wolf' or 'Sandra dropped the apple' but not both.,0,Either 'Winona is a wolf' or 'Sandra dropped the apple' but not both. Chances are slight that Daniel took the football. It is likely that Mary moved to the office. There is a very good chance that Lily is a rhino.,It is unlikely that 'Mary 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.1::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.94,0.40488097619523905,train,almost certain,unlikely,It is almost certain that 'Mary moved to the office' or 'Lily is a rhino' or both.,It is unlikely that 'Mary moved to the office' or 'Lily is a rhino' or both.,0,'Mary moved to the office' or 'Lily is a rhino' or both. Chances are slight that Winona is a sheep. There is a better than even chance that Brian is yellow. It is impossible that Greg is gray.,There is almost no chance that either 'Winona is a sheep' 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.6::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.58,0.33326665333066613,train,better than even,almost no chance,There is a better than even chance that either 'Winona is a sheep' or 'Brian is yellow' but not both.,There is almost no chance that either 'Winona is a sheep' or 'Brian is yellow' but not both.,0,Either 'Winona is a sheep' or 'Brian is yellow' but not both. There is little chance that John went to the kitchen. It is improbable that Bernhard is a swan. There is a better than even chance that Daniel took the apple.,It is probably the case that 'Bernhard is a swan' 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.1::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.19000000000000006,0.623124624924985,train,unlikely,probably,It is unlikely that 'Bernhard is a swan' or 'John went to the kitchen' or both.,It is probably the case that 'Bernhard is a swan' or 'John went to the kitchen' or both.,0,'Bernhard is a swan' or 'John went to the kitchen' or both. Chances are about even that Julius is white. It is almost certain that Mary left the milk. It is probably the case that Jessica is a cat.,It is almost certain that 'Julius is white 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.5::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.7591518303660733,train,probably not,almost certain,It is probably not the case that 'Julius is white and Jessica is a cat'.,It is almost certain that 'Julius is white and Jessica is a cat'.,0,'Julius is white and Jessica is a cat'. We believe that Mary went to the office. It is certain that Greg is gray. It is highly likely that John dropped the milk.,It is certain that 'Mary went to the office' 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.75::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.975,0.6287257451490298,train,certain,little chance,It is certain that 'Mary went to the office' or 'John dropped the milk' or both.,There is little chance that 'Mary went to the office' or 'John dropped the milk' or both.,1,'Mary went to the office' or 'John dropped the milk' or both. It is almost certain that Julius is a swan. It is almost certain that Greg is white. It is almost certain that Sandra got the football.,It is probably not the case 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.95::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9975,0.060812162432486494,train,certain,probably not,It is certain that 'Julius is a swan' or 'Greg is white' or both.,It is probably not the case that 'Julius is a swan' or 'Greg is white' or both.,0,'Julius is a swan' or 'Greg is white' or both. It is probably not the case that Jessica is a cat. Chances are about even that Greg is a frog. There is a better than even chance that Lily is a rhino.,It is highly likely that 'Jessica is a cat 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.5::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.5723144628925785,train,little chance,highly likely,There is little chance that 'Jessica is a cat and Lily is a rhino'.,It is highly likely that 'Jessica is a cat and Lily is a rhino'.,0,'Jessica is a cat and Lily is a rhino'. It is highly likely that Bernhard is a frog. It is certain that Lily is green. There is little chance that Julius is yellow.,It is certain that 'Lily 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.9::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.40388077615523105,train,certain,impossible,It is certain that 'Lily is green' or 'Julius is yellow' or both.,It is impossible that 'Lily is green' or 'Julius is yellow' or both.,1,'Lily is green' or 'Julius is yellow' or both. It is improbable that Greg is gray. It is improbable that Julius is a rhino. It is improbable that Mary went to the office.,It is highly likely that either 'Greg is gray' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.30406081216243247,train,unlikely,highly likely,It is unlikely that either 'Greg is gray' or 'Mary went to the office' but not both.,It is highly likely that either 'Greg is gray' or 'Mary went to the office' but not both.,0,Either 'Greg is gray' or 'Mary went to the office' but not both. Chances are slight that Greg is a frog. It is highly likely that Brian is a rhino. It is certain that Bernhard is a swan.,It is highly likely that either 'Bernhard 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. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.09999999999999998,0.07481496299259852,train,chances are slight,highly likely,Chances are slight that either 'Bernhard is a swan' or 'Brian is a rhino' but not both.,It is highly likely that either 'Bernhard is a swan' or 'Brian is a rhino' but not both.,0,Either 'Bernhard is a swan' or 'Brian is a rhino' but not both. It is highly unlikely that Bernhard is a lion. There is a better than even chance that John got the apple. It is probable that Mary went to the garden.,It is probably the case that 'Mary went to the garden 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.05::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.5337067413482697,train,highly unlikely,probably,It is highly unlikely that 'Mary went to the garden and Bernhard is a lion'.,It is probably the case that 'Mary went to the garden and Bernhard is a lion'.,0,'Mary went to the garden and Bernhard is a lion'. We doubt that Brian is a rhino. It is likely that Lily is a frog. We doubt that John got the apple.,It is certain that 'John got 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.2::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.5999199839967994,train,little chance,certain,There is little chance that 'John got the apple and Lily is a frog'.,It is certain that 'John got the apple and Lily is a frog'.,0,'John got the apple and Lily is a frog'. There is a better than even chance that Julius is yellow. There is almost no chance that Lily is a rhino. It is almost certain that Brian is a rhino.,It is highly unlikely that 'Brian is a rhino 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.6::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.57,0.3670734146829366,train,better than even,highly unlikely,There is a better than even chance that 'Brian is a rhino and Julius is yellow'.,It is highly unlikely that 'Brian is a rhino and Julius is yellow'.,0,'Brian is a rhino and Julius is yellow'. We believe that John got the football. Chances are about even that Jessica is a wolf. It is highly unlikely that Mary dropped the apple.,Chances are about even that 'Mary dropped the apple' or 'Jessica 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.75::factA. 0.5::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.525,0.5813162632526505,train,about even,certain,Chances are about even that 'Mary dropped the apple' or 'Jessica is a wolf' or both.,It is certain that 'Mary dropped the apple' or 'Jessica is a wolf' or both.,1,'Mary dropped the apple' or 'Jessica is a wolf' or both. It is unlikely that Julius is a swan. It is impossible that Mary got the football. It is highly unlikely that Bernhard is gray.,It is highly likely that either 'Bernhard is gray' 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.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.23,0.25165033006601323,train,probably not,highly likely,It is probably not the case that either 'Bernhard is gray' or 'Julius is a swan' but not both.,It is highly likely that either 'Bernhard is gray' or 'Julius is a swan' but not both.,0,Either 'Bernhard is gray' or 'Julius is a swan' but not both. It is probably not the case that Lily is a rhino. We doubt that Bernhard is a rhino. It is likely that Daniel took the apple.,It is probable that 'Daniel 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.25::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.175,0.6447289457891578,train,unlikely,probable,It is unlikely that 'Daniel took the apple and Lily is a rhino'.,It is probable that 'Daniel took the apple and Lily is a rhino'.,0,'Daniel took the apple and Lily is a rhino'. It is impossible that Fred dropped the milk. It is probably not the case that Lily is a lion. It is likely that Brian is a rhino.,It is highly unlikely that either 'Fred dropped the milk' 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.25::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.16083216643328666,train,likely,highly unlikely,It is likely that either 'Fred dropped the milk' or 'Brian is a rhino' but not both.,It is highly unlikely that either 'Fred dropped the milk' or 'Brian is a rhino' but not both.,0,Either 'Fred dropped the milk' or 'Brian is a rhino' but not both. It is probably not the case that John moved to the garden. It is highly unlikely that Julius is white. It is almost certain that Greg is gray.,It is probable that either 'John 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.25::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.725,0.3824764952990598,train,probable,little chance,It is probable that either 'John moved to the garden' or 'Greg is gray' but not both.,There is little chance that either 'John moved to the garden' or 'Greg is gray' but not both.,1,Either 'John moved to the garden' or 'Greg is gray' but not both. It is impossible that John went to the kitchen. It is probable that Greg is gray. It is likely that Daniel got the milk.,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.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.14382876575315062,train,impossible,certain,It is impossible 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 certain that Greg is a frog. It is likely that Julius is a lion. It is almost certain that Bernhard is green.,It is likely that 'Julius 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 1.0::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.41028205641128224,train,likely,impossible,It is likely that 'Julius is a lion and Greg is a frog'.,It is impossible that 'Julius is a lion and Greg is a frog'.,1,'Julius is a lion and Greg is a frog'. It is highly likely that Jessica is a sheep. There is almost no chance that Bernhard is a rhino. It is improbable that Lily is white.,It is likely that 'Jessica 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.9::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.018000000000000002,0.6041208241648329,train,almost no chance,likely,There is almost no chance that 'Jessica is a sheep and Bernhard is a rhino'.,It is likely that 'Jessica is a sheep and Bernhard is a rhino'.,0,'Jessica is a sheep and Bernhard is a rhino'. It is unlikely that Greg is a lion. It is probably not the case that Brian is white. It is highly likely that Julius is a swan.,Chances are about even that 'Greg 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.2::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.4,0.7515503100620124,train,about even,certain,Chances are about even that 'Greg is a lion' or 'Brian is white' or both.,It is certain that 'Greg is a lion' or 'Brian is white' or both.,1,'Greg is a lion' or 'Brian is white' or both. It is highly unlikely that John moved to the garden. There is a very good chance that Greg is a lion. Chances are slight that Brian is gray.,We doubt that either 'John 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.05::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.77,0.09141828365673135,train,we believe,we doubt,We believe that either 'John moved to the garden' or 'Greg is a lion' but not both.,We doubt that either 'John moved to the garden' or 'Greg is a lion' but not both.,0,Either 'John moved to the garden' or 'Greg is a lion' but not both. It is certain that Sandra grabbed the apple. We believe that Lily is white. It is almost certain that Mary dropped the milk.,It is unlikely that 'Sandra grabbed the apple 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 1.0::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.95,0.779755951190238,train,almost certain,unlikely,It is almost certain that 'Sandra grabbed the apple and Mary dropped the milk'.,It is unlikely that 'Sandra grabbed the apple and Mary dropped the milk'.,0,'Sandra grabbed the apple and Mary dropped the milk'. It is probably the case that Brian is green. It is almost certain that Greg is a rhino. It is certain that Mary discarded the apple.,It is probably not the case that either 'Mary 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.95::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.00620124024804961,train,probably not,certain,It is probably not the case that either 'Mary discarded the apple' or 'Brian is green' but not both.,It is certain that either 'Mary discarded the apple' or 'Brian is green' but not both.,1,Either 'Mary discarded the apple' or 'Brian is green' but not both. It is certain that John went to the office. It is impossible that Greg is a frog. Chances are about even that Brian is white.,It is highly unlikely that either 'Greg 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 1.0::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",1.0,0.01240248049609922,train,certain,highly unlikely,It is certain that either 'Greg is a frog' or 'John went to the office' but not both.,It is highly unlikely that either 'Greg is a frog' or 'John went to the office' but not both.,0,Either 'Greg is a frog' or 'John went to the office' but not both. There is a better than even chance that Daniel got the milk. It is almost certain that John went to the garden. Chances are about even that Greg is white.,It is impossible that either 'Daniel 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.95::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.534506901380276,train,about even,impossible,Chances are about even that either 'Daniel got the milk' or 'Greg is white' but not both.,It is impossible that either 'Daniel got the milk' or 'Greg is white' but not both.,0,Either 'Daniel got the milk' or 'Greg is white' but not both. Chances are about even that John left the football. It is almost certain that Jason is tired. It is likely that Greg is yellow.,Chances are about even that either 'John 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.5::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.6295259051810362,train,about even,highly unlikely,Chances are about even that either 'John left the football' or 'Greg is yellow' but not both.,It is highly unlikely that either 'John left the football' or 'Greg is yellow' but not both.,1,Either 'John left the football' or 'Greg is yellow' but not both. It is highly unlikely that Bernhard is a lion. There is little chance that John moved to the office. It is highly likely that Sandra grabbed the milk.,It is improbable that either 'Bernhard is a lion' 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.1::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.5619123824764953,train,improbable,probable,It is improbable that either 'Bernhard is a lion' or 'John moved to the office' but not both.,It is probable that either 'Bernhard is a lion' or 'John moved to the office' but not both.,1,Either 'Bernhard is a lion' or 'John moved to the office' but not both. Chances are about even that Brian is a swan. We doubt that Julius is a rhino. It is almost certain that John put down the apple.,It is unlikely 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.5::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.975,0.08821764352870574,train,certain,unlikely,It is certain that 'Brian is a swan' or 'John put down the apple' or both.,It is unlikely 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. There is almost no chance that Daniel grabbed the milk. It is probable that Julius is yellow. There is a better than even chance that Sandra dropped the milk.,It is certain that either 'Sandra dropped 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.02::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.45999999999999996,0.3674734946989398,train,about even,certain,Chances are about even that either 'Sandra dropped the milk' or 'Julius is yellow' but not both.,It is certain that either 'Sandra dropped the milk' or 'Julius is yellow' but not both.,0,Either 'Sandra dropped the milk' or 'Julius is yellow' but not both. Chances are about even that Mary went to the office. Chances are about even that Lily is green. There is almost no chance that Brian is gray.,Chances are about even that either 'Lily is green' 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.5::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.28225645129025806,train,about even,certain,Chances are about even that either 'Lily is green' or 'Mary went to the office' but not both.,It is certain that either 'Lily is green' or 'Mary went to the office' but not both.,1,Either 'Lily is green' or 'Mary went to the office' but not both. It is probably not the case that John got the milk. It is certain that Julius is a rhino. It is highly likely that Lily is white.,It is highly likely that 'Julius is a rhino 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. 1.0::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.9,0.5661132226445289,train,highly likely,almost no chance,It is highly likely that 'Julius is a rhino and Lily is white'.,There is almost no chance that 'Julius is a rhino and Lily is white'.,1,'Julius is a rhino and Lily is white'. Chances are about even that Julius is a swan. It is probably the case that Gertrude is a sheep. Chances are about even that John dropped the milk.,It is probably the case that 'John dropped the milk 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.5::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.25,0.15643128625725145,train,probably not,probably,It is probably not the case that 'John dropped the milk and Julius is a swan'.,It is probably the case that 'John dropped the milk and Julius is a swan'.,0,'John dropped the milk and Julius is a swan'. It is probably not the case that Bernhard is yellow. It is almost certain that Brian is a lion. It is unlikely that Mary put down the milk.,We believe that 'Mary put down 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.25::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.19,0.5231046209241849,train,we doubt,we believe,We doubt that 'Mary put down the milk and Brian is a lion'.,We believe that 'Mary put down the milk and Brian is a lion'.,0,'Mary put down the milk and Brian is a lion'. It is probably the case that Julius is a frog. Chances are slight that Greg is green. We doubt that Mary left the football.,There is almost no chance that 'Mary left 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.5235047009401881,train,almost no chance,very good chance,There is almost no chance that 'Mary left the football and Greg is green'.,There is a very good chance that 'Mary left the football and Greg is green'.,1,'Mary left the football and Greg is green'. We doubt that Brian is a rhino. It is probable that Mary went to the hallway. It is almost certain that Greg is a swan.,It is unlikely that 'Brian 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.2::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.19,0.6463292658531706,train,unlikely,probably,It is unlikely that 'Brian is a rhino and Greg is a swan'.,It is probably the case that 'Brian is a rhino and Greg is a swan'.,1,'Brian is a rhino and Greg is a swan'. It is impossible that Julius is a swan. There is a better than even chance that Brian is gray. It is likely that John dropped the apple.,There is almost no chance that either 'Brian 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.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45999999999999996,0.1812362472494499,train,about even,almost no chance,Chances are about even that either 'Brian is gray' or 'John dropped the apple' but not both.,There is almost no chance that either 'Brian is gray' or 'John dropped the apple' but not both.,0,Either 'Brian is gray' or 'John dropped the apple' but not both. It is probably the case that Brian is a frog. We believe that John picked up the apple. It is probable that Julius is gray.,Chances are about even that either 'Brian 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. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.17383476695339067,train,about even,almost certain,Chances are about even that either 'Brian is a frog' or 'John picked up the apple' but not both.,It is almost certain that either 'Brian is a frog' or 'John picked up the apple' but not both.,1,Either 'Brian is a frog' or 'John picked up the apple' but not both. There is a very good chance that John went to the bedroom. There is little chance that Brian is white. It is highly unlikely that Bernhard is yellow.,It is improbable that 'John 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.8::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.2374474894978996,train,improbable,better than even,It is improbable that 'John went to the bedroom and Brian is white'.,There is a better than even chance that 'John went to the bedroom and Brian is white'.,1,'John went to the bedroom and Brian is white'. We believe that Mary left the apple. There is a better than even chance that Bill went to the office. There is a very good chance that Greg is a frog.,Chances are about even that 'Mary left the apple 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.75::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.45,0.01220244048809762,train,about even,certain,Chances are about even that 'Mary left the apple and Bill went to the office'.,It is certain that 'Mary left the apple and Bill went to the office'.,1,'Mary left the apple and Bill went to the office'. It is highly unlikely that Greg is a rhino. We doubt that Lily is green. It is highly unlikely that Bernhard is gray.,We believe that 'Lily 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.2::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.03900780156031206,train,almost no chance,we believe,There is almost no chance that 'Lily is green and Bernhard is gray'.,We believe that 'Lily is green and Bernhard is gray'.,0,'Lily is green and Bernhard is gray'. It is probably not the case that Greg is a swan. It is likely that Fred left the apple. It is unlikely that Brian is white.,It is impossible that 'Brian is white' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.4,0.0630126025205041,train,about even,impossible,Chances are about even that 'Brian is white' or 'Greg is a swan' or both.,It is impossible that 'Brian is white' or 'Greg is a swan' or both.,0,'Brian is white' or 'Greg is a swan' or both. There is almost no chance that Julius is yellow. We doubt that Mary got the football. Chances are about even that John moved to the garden.,Chances are about even that either 'John moved to the garden' or 'Mary got the football' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.3690738147629526,train,about even,almost no chance,Chances are about even that either 'John moved to the garden' or 'Mary got the football' but not both.,There is almost no chance that either 'John moved to the garden' or 'Mary got the football' but not both.,1,Either 'John moved to the garden' or 'Mary got the football' but not both. It is probably the case that Greg is a frog. We doubt that John put down the milk. It is probable that Bernhard is yellow.,Chances are slight that 'John put down 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 0.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.76,0.41248249649929986,train,we believe,chances are slight,We believe that 'John put down the milk' or 'Bernhard is yellow' or both.,Chances are slight that 'John put down the milk' or 'Bernhard is yellow' or both.,0,'John put down the milk' or 'Bernhard is yellow' or both. Chances are slight that Sandra dropped the apple. It is improbable that Julius is green. It is certain that Jessica is a cat.,It is improbable that 'Jessica is a cat' 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.1::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.20484096819363873,train,certain,improbable,It is certain that 'Jessica is a cat' or 'Julius is green' or both.,It is improbable that 'Jessica is a cat' or 'Julius is green' or both.,0,'Jessica is a cat' or 'Julius is green' or both. It is likely that Greg is white. It is probably not the case that Brian is a rhino. It is probably the case that Sandra dropped the apple.,Chances are slight that 'Brian is a rhino' or 'Sandra dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.6617323464692939,train,we believe,chances are slight,We believe that 'Brian is a rhino' or 'Sandra dropped the apple' or both.,Chances are slight that 'Brian is a rhino' or 'Sandra dropped the apple' or both.,0,'Brian is a rhino' or 'Sandra dropped the apple' or both. We doubt that Lily is a frog. It is probable that Julius is white. We doubt that Sandra took the football.,Chances are slight that 'Julius 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.48669733946789356,train,chances are slight,better than even,Chances are slight that 'Julius is white and Lily is a frog'.,There is a better than even chance that 'Julius is white and Lily is a frog'.,1,'Julius is white and Lily is a frog'. It is almost certain that Bernhard is green. It is impossible that John moved to the garden. It is probable that Lily is green.,It is probably the case that either 'John moved 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.0::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.21464292858571715,train,probably,probably not,It is probably the case that either 'John moved to the garden' or 'Lily is green' but not both.,It is probably not the case that either 'John moved to the garden' or 'Lily is green' but not both.,1,Either 'John moved to the garden' or 'Lily is green' but not both. It is certain that Mary dropped the milk. It is improbable that Emily is a mouse. There is a better than even chance that John took the apple.,Chances are slight that 'Emily 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 1.0::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.40588117623524705,train,certain,chances are slight,It is certain that 'Emily is a mouse' or 'Mary dropped the milk' or both.,Chances are slight that 'Emily is a mouse' or 'Mary dropped the milk' or both.,0,'Emily is a mouse' or 'Mary dropped the milk' or both. There is almost no chance that Bernhard is a swan. It is probably not the case that Winona is a wolf. There is a better than even chance that Julius is white.,It is impossible that 'Winona is a wolf 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.02::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.3752750550110022,train,impossible,likely,It is impossible that 'Winona is a wolf and Bernhard is a swan'.,It is likely that 'Winona is a wolf and Bernhard is a swan'.,1,'Winona is a wolf and Bernhard is a swan'. It is highly likely that Brian is a frog. It is improbable that Greg is a swan. Chances are slight that Julius is a lion.,There is a very good chance 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.9::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.6229245849169834,train,very good chance,improbable,There is a very good chance that either 'Brian is a frog' or 'Julius is a lion' but not both.,It is improbable that either 'Brian is a frog' or 'Julius is a lion' but not both.,1,Either 'Brian is a frog' or 'Julius is a lion' but not both. It is impossible that Sandra took the apple. It is unlikely that Julius is a lion. There is little chance that Bernhard is yellow.,We doubt that either 'Sandra took the apple' 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.0::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.2,0.41828365673134627,train,we doubt,certain,We doubt that either 'Sandra took the apple' or 'Julius is a lion' but not both.,It is certain that either 'Sandra took the apple' or 'Julius is a lion' but not both.,1,Either 'Sandra took the apple' or 'Julius is a lion' but not both. It is improbable that Fred is in the cinema. It is probably the case that Julius is green. It is probably not the case that Lily is a frog.,There is a better than even chance that 'Lily is a frog 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.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.025000000000000012,0.09401880376075215,train,almost no chance,better than even,There is almost no chance that 'Lily is a frog and Fred is in the cinema'.,There is a better than even chance that 'Lily is a frog and Fred is in the cinema'.,0,'Lily is a frog and Fred is in the cinema'. It is improbable that John left the football. It is unlikely that Brian is white. There is little chance that Greg is a lion.,It is probably the case that either 'Brian is white' 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.47649529905981197,train,probably not,probably,It is probably not the case that either 'Brian is white' or 'John left the football' but not both.,It is probably the case that either 'Brian is white' or 'John left the football' but not both.,0,Either 'Brian is white' or 'John left the football' but not both. There is a very good chance that John picked up the apple. It is probable that Lily is gray. Chances are about even that Brian is yellow.,Chances are about even that either 'Brian is yellow' 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.8::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.1252250450090018,train,about even,highly unlikely,Chances are about even that either 'Brian is yellow' or 'John picked up the apple' but not both.,It is highly unlikely that either 'Brian is yellow' or 'John picked up the apple' but not both.,1,Either 'Brian is yellow' or 'John picked up the apple' but not both. It is highly likely that John picked up the milk. We doubt that Bernhard is a lion. It is improbable that Gertrude is a sheep.,It is highly likely that 'John picked up 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 0.9::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.15523104620924186,train,highly likely,probably not,It is highly likely that 'John picked up the milk' or 'Bernhard is a lion' or both.,It is probably not the case that 'John picked up the milk' or 'Bernhard is a lion' or both.,1,'John picked up the milk' or 'Bernhard is a lion' or both. There is a better than even chance that Mary got the milk. It is highly unlikely that Bernhard is a frog. It is impossible that Greg is a rhino.,It is almost certain that 'Bernhard is a frog 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.05::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.029999999999999995,0.17663532706541307,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is a frog and Mary got the milk'.,It is almost certain that 'Bernhard is a frog and Mary got the milk'.,0,'Bernhard is a frog and Mary got the milk'. It is certain that Greg is white. It is highly unlikely that John got the milk. We doubt that Lily is a rhino.,It is almost certain that either 'John 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 1.0::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.95,0.20264052810562114,train,almost certain,we doubt,It is almost certain that either 'John got the milk' or 'Greg is white' but not both.,We doubt that either 'John got the milk' or 'Greg is white' but not both.,1,Either 'John got the milk' or 'Greg is white' but not both. It is highly likely that Bernhard is a swan. It is probably the case that Mary went to the garden. We believe that Julius is green.,It is certain that 'Bernhard is a swan' 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.9::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9750000000000001,0.28565713142628524,train,certain,probably not,It is certain that 'Bernhard is a swan' or 'Julius is green' or both.,It is probably not the case that 'Bernhard is a swan' or 'Julius is green' or both.,1,'Bernhard is a swan' or 'Julius is green' or both. There is a better than even chance that Greg is a swan. There is a very good chance that Julius is yellow. It is likely that Lily is a frog.,Chances are about even that either 'Lily 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.6::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.20164032806561313,train,about even,almost no chance,Chances are about even that either 'Lily is a frog' or 'Julius is yellow' but not both.,There is almost no chance that either 'Lily is a frog' or 'Julius is yellow' but not both.,1,Either 'Lily is a frog' or 'Julius is yellow' but not both. We doubt that John went to the garden. It is likely that Julius is white. It is almost certain that Mary grabbed the milk.,Chances are slight that 'John went to the garden' 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.2::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.96,0.5673134626925385,train,almost certain,chances are slight,It is almost certain that 'John went to the garden' or 'Mary grabbed the milk' or both.,Chances are slight that 'John went to the garden' or 'Mary grabbed the milk' or both.,0,'John went to the garden' or 'Mary grabbed the milk' or both. There is almost no chance that Mary dropped the apple. There is a better than even chance that Bernhard is a rhino. We believe that Greg is a lion.,There is a better than even chance that either 'Bernhard is a rhino' 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.6::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.596,0.18483696739347868,train,better than even,little chance,There is a better than even chance that either 'Bernhard is a rhino' or 'Mary dropped the apple' but not both.,There is little chance that either 'Bernhard is a rhino' or 'Mary dropped the apple' but not both.,1,Either 'Bernhard is a rhino' or 'Mary dropped the apple' but not both. It is improbable that Bernhard is white. It is impossible that Greg is a rhino. Chances are slight that Mary went to the bedroom.,Chances are slight that either 'Bernhard is white' 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.10000000000000002,0.1408281656331266,train,chances are slight,probably,Chances are slight that either 'Bernhard is white' or 'Greg is a rhino' but not both.,It is probably the case that either 'Bernhard is white' or 'Greg is a rhino' but not both.,1,Either 'Bernhard is white' or 'Greg is a rhino' but not both. It is probable that Winona is a sheep. It is almost certain that Brian is yellow. It is likely that John left the apple.,It is improbable that 'Brian is yellow' 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.3472694538907782,train,certain,improbable,It is certain that 'Brian is yellow' or 'John left the apple' or both.,It is improbable that 'Brian is yellow' or 'John left the apple' or both.,0,'Brian is yellow' or 'John left the apple' or both. We believe that Fred went to the garden. We doubt that Greg is white. It is highly likely that Brian is a frog.,It is probably not the case that 'Fred 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.75::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.675,0.6339267853570714,train,probably,probably not,It is probably the case that 'Fred went to the garden and Brian is a frog'.,It is probably not the case that 'Fred went to the garden and Brian is a frog'.,0,'Fred went to the garden and Brian is a frog'. It is unlikely that Bernhard is yellow. It is almost certain that Jeff discarded the milk. It is probably the case that Lily is a rhino.,It is probably not the case 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.2::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32000000000000006,0.42588517703540707,train,probably not,probable,It is probably not the case that either 'Jeff discarded the milk' or 'Lily is a rhino' but not both.,It is probable 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 believe that Greg is a swan. It is improbable that Lily is green. We believe that Brian is gray.,It is highly unlikely that 'Greg 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.75::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5625,0.6403280656131226,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a swan and Brian is gray'.,It is highly unlikely that 'Greg is a swan and Brian is gray'.,0,'Greg is a swan and Brian is gray'. There is a very good chance that Lily is a swan. It is probably not the case that Julius is a rhino. We believe that John picked up the apple.,It is probably not the case that 'Julius 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.8::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8500000000000001,0.6329265853170634,train,highly likely,probably not,It is highly likely that 'Julius is a rhino' or 'Lily is a swan' or both.,It is probably not the case that 'Julius is a rhino' or 'Lily is a swan' or both.,0,'Julius is a rhino' or 'Lily is a swan' or both. We doubt that Sandra grabbed the milk. It is impossible that Fred is in the cinema. It is probably the case that Brian is a swan.,There is a better than even chance that either 'Brian is a swan' 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.2::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.0642128425685137,train,better than even,little chance,There is a better than even chance that either 'Brian is a swan' or 'Sandra grabbed the milk' but not both.,There is little chance that either 'Brian is a swan' or 'Sandra grabbed the milk' but not both.,1,Either 'Brian is a swan' or 'Sandra grabbed the milk' but not both. It is probably the case that Winona is a sheep. There is a very good chance that Fred dropped the milk. It is probably the case that Mary went to the garden.,There is little chance that 'Mary went to the garden' 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9099999999999999,0.5287057411482297,train,highly likely,little chance,It is highly likely that 'Mary went to the garden' or 'Winona is a sheep' or both.,There is little chance that 'Mary went to the garden' or 'Winona is a sheep' or both.,0,'Mary went to the garden' or 'Winona is a sheep' or both. It is impossible that Bernhard is a frog. It is almost certain that John dropped the milk. There is a better than even chance that Emily is a cat.,There is a better than even chance that either 'Emily 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.0::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6,0.5399079815963193,train,better than even,little chance,There is a better than even chance that either 'Emily is a cat' or 'Bernhard is a frog' but not both.,There is little chance that either 'Emily is a cat' or 'Bernhard is a frog' but not both.,1,Either 'Emily is a cat' or 'Bernhard is a frog' but not both. It is impossible that Bernhard is a swan. There is a better than even chance that Brian is a frog. It is improbable that Jeff left the apple.,It is highly unlikely that 'Bernhard is a swan' 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.6::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.6,0.2956591318263653,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is a swan' or 'Brian is a frog' or both.,It is highly unlikely that 'Bernhard is a swan' or 'Brian is a frog' or both.,0,'Bernhard is a swan' or 'Brian is a frog' or both. It is highly likely that Greg is yellow. It is improbable that Lily is a lion. It is probable that Julius is white.,It is almost certain that 'Greg 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.6061212242448489,train,almost certain,almost no chance,It is almost certain that 'Greg is yellow' or 'Julius is white' or both.,There is almost no chance that 'Greg is yellow' or 'Julius is white' or both.,1,'Greg is yellow' or 'Julius is white' or both. It is improbable that Winona is a wolf. It is probable that Sumit is tired. Chances are slight that Brian is gray.,We believe that 'Brian is gray' 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.07581516303260652,train,we believe,improbable,We believe that 'Brian is gray' or 'Sumit is tired' or both.,It is improbable that 'Brian is gray' or 'Sumit is tired' or both.,1,'Brian is gray' or 'Sumit is tired' or both. Chances are about even that Sandra left the milk. It is highly likely that Julius is white. It is almost certain that Lily is a rhino.,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.5::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.475,0.4508901780356071,train,about even,impossible,Chances are about even that 'Lily is a rhino and Sandra left the milk'.,It is impossible that 'Lily is a rhino and Sandra left the milk'.,1,'Lily is a rhino and Sandra left the milk'. There is a very good chance that John got the milk. It is unlikely that Brian is a lion. It is impossible that Mary went to the kitchen.,There is little chance that either 'John got 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.8::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.5487097419483897,train,very good chance,little chance,There is a very good chance that either 'John got the milk' or 'Mary went to the kitchen' but not both.,There is little chance that either 'John got the milk' or 'Mary went to the kitchen' but not both.,0,Either 'John got the milk' or 'Mary went to the kitchen' but not both. We doubt that John discarded the apple. It is almost certain that Lily is a swan. There is a better than even chance that Mary left the milk.,It is highly unlikely that 'John discarded the apple' 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.95::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.68,0.239247849569914,train,probable,highly unlikely,It is probable that 'John discarded the apple' or 'Mary left the milk' or both.,It is highly unlikely that 'John discarded the apple' or 'Mary left the milk' or both.,0,'John discarded the apple' or 'Mary left the milk' or both. It is probably not the case that John picked up the apple. We doubt that Greg is a swan. It is highly likely that Mary left the football.,There is almost no chance that either 'John picked up the apple' 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.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7000000000000001,0.2634526905381076,train,probable,almost no chance,It is probable that either 'John picked up the apple' or 'Mary left the football' but not both.,There is almost no chance that either 'John picked up the apple' or 'Mary left the football' but not both.,0,Either 'John picked up the apple' or 'Mary left the football' but not both. There is almost no chance that John took the football. It is improbable that Jeff dropped the apple. There is little chance that Lily is yellow.,It is almost certain that 'Lily 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.02::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.34786957391478296,train,little chance,almost certain,There is little chance that 'Lily is yellow' or 'John took the football' or both.,It is almost certain that 'Lily is yellow' or 'John took the football' or both.,0,'Lily is yellow' or 'John took the football' or both. We believe that Brian is a swan. It is almost certain that Jason is tired. It is unlikely that Julius is yellow.,It is likely that 'Jason 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.75::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7125,0.7997599519903981,train,likely,highly unlikely,It is likely that 'Jason is tired and Brian is a swan'.,It is highly unlikely that 'Jason is tired and Brian is a swan'.,1,'Jason is tired and Brian is a swan'. Chances are slight that Jeff left the apple. It is probable that John got the football. It is likely that Lily is a lion.,It is probably the case that either 'Lily is a lion' or 'Jeff left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.5507101420284057,train,probably,highly unlikely,It is probably the case that either 'Lily is a lion' or 'Jeff left the apple' but not both.,It is highly unlikely that either 'Lily is a lion' or 'Jeff left the apple' but not both.,1,Either 'Lily is a lion' or 'Jeff left the apple' but not both. It is highly likely that Bernhard is a swan. Chances are about even that Mary left the football. It is certain that Greg is green.,It is almost certain that 'Mary left the football' or 'Bernhard is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.5::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9500000000000001,0.10182036407281456,train,almost certain,little chance,It is almost certain that 'Mary left the football' or 'Bernhard is a swan' or both.,There is little chance that 'Mary left the football' or 'Bernhard is a swan' or both.,1,'Mary left the football' or 'Bernhard is a swan' or both. Chances are about even that Jessica is a sheep. Chances are about even that Sandra left the football. It is impossible that Lily is a swan.,It is impossible that either 'Lily is a swan' 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. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.3880776155231046,train,about even,impossible,Chances are about even that either 'Lily is a swan' or 'Sandra left the football' but not both.,It is impossible that either 'Lily is a swan' or 'Sandra left the football' but not both.,0,Either 'Lily is a swan' or 'Sandra left the football' but not both. It is certain that Greg is white. It is unlikely that Julius is yellow. It is improbable that Mary got the football.,We doubt that 'Greg is white' 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.2::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.33546709341868375,train,certain,we doubt,It is certain that 'Greg is white' or 'Julius is yellow' or both.,We doubt that 'Greg is white' or 'Julius is yellow' or both.,0,'Greg is white' or 'Julius is yellow' or both. It is certain that Daniel got the milk. It is highly unlikely that Julius is a lion. It is unlikely that Bill went to the office.,There is a better than even chance that 'Julius is a lion 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 1.0::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.07641528305661133,train,highly unlikely,better than even,It is highly unlikely that 'Julius is a lion and Daniel got the milk'.,There is a better than even chance that 'Julius is a lion and Daniel got the milk'.,0,'Julius is a lion and Daniel got the milk'. It is unlikely that Julius is green. It is probably not the case that Fred left the football. It is probably the case that Lily is white.,There is a better than even chance that either 'Lily is white' 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.2::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.595119023804761,train,better than even,chances are slight,There is a better than even chance that either 'Lily is white' or 'Fred left the football' but not both.,Chances are slight that either 'Lily is white' or 'Fred left the football' but not both.,1,Either 'Lily is white' or 'Fred left the football' but not both. We believe that Greg is a rhino. There is almost no chance that Sandra dropped the milk. There is almost no chance that John moved to the office.,There is a very good chance that either 'John moved 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.75::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.039200000000000006,0.6877375475095019,train,highly unlikely,very good chance,It is highly unlikely that either 'John moved to the office' or 'Sandra dropped the milk' but not both.,There is a very good chance that either 'John moved to the office' or 'Sandra dropped the milk' but not both.,0,Either 'John moved to the office' or 'Sandra dropped the milk' but not both. It is impossible that Brian is white. It is unlikely that John moved to the office. We doubt that Greg is yellow.,There is a better than even chance that 'Brian is white 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.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.29145829165833165,train,impossible,better than even,It is impossible that 'Brian is white and Greg is yellow'.,There is a better than even chance that 'Brian is white and Greg is yellow'.,0,'Brian is white and Greg is yellow'. There is a very good chance that Mary put down the apple. We believe that Gertrude is a wolf. There is little chance that John went to the kitchen.,It is probably not the case that 'Mary put down the apple' 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.75::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8200000000000001,0.7889577915583117,train,very good chance,probably not,There is a very good chance that 'Mary put down the apple' or 'John went to the kitchen' or both.,It is probably not the case that 'Mary put down the apple' or 'John went to the kitchen' or both.,0,'Mary put down the apple' or 'John went to the kitchen' or both. There is a better than even chance that Lily is a frog. We doubt that Bernhard is yellow. It is highly likely that John put down the milk.,It is improbable that 'Lily is a frog' 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.6::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.96,0.6605321064212842,train,almost certain,improbable,It is almost certain that 'Lily is a frog' or 'John put down the milk' or both.,It is improbable that 'Lily is a frog' or 'John put down the milk' or both.,0,'Lily is a frog' or 'John put down the milk' or both. It is likely that Brian is a rhino. There is a better than even chance that Sandra got the milk. There is little chance that Mary went to the bedroom.,It is almost certain that either 'Sandra got the milk' 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.6::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.2940588117623525,train,about even,almost certain,Chances are about even that either 'Sandra got the milk' or 'Brian is a rhino' but not both.,It is almost certain that either 'Sandra got the milk' or 'Brian is a rhino' but not both.,0,Either 'Sandra got the milk' or 'Brian is a rhino' but not both. It is unlikely that Sumit is tired. Chances are about even that Julius is white. There is almost no chance that Greg is green.,There is almost no chance that 'Sumit is tired' 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.5::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.6,0.16403280656131225,train,better than even,almost no chance,There is a better than even chance that 'Sumit is tired' or 'Julius is white' or both.,There is almost no chance that 'Sumit is tired' or 'Julius is white' or both.,0,'Sumit is tired' or 'Julius is white' or both. It is probable that Brian is green. There is little chance that Fred is in the cinema. We believe that Lily is a frog.,There is a very good chance that 'Lily is a frog' 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.1::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.5359071814362872,train,very good chance,probably not,There is a very good chance that 'Lily is a frog' or 'Fred is in the cinema' or both.,It is probably not the case that 'Lily is a frog' or 'Fred is in the cinema' or both.,1,'Lily is a frog' or 'Fred is in the cinema' or both. There is a very good chance that John went to the office. It is probably the case that Lily is a rhino. It is likely that Sandra got the milk.,It is certain 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.04560912182436487,train,about even,certain,Chances are about even that either 'Lily is a rhino' or 'John went to the office' but not both.,It is certain that either 'Lily is a rhino' or 'John went to the office' but not both.,0,Either 'Lily is a rhino' or 'John went to the office' but not both. It is probable that Lily is white. There is little chance that Mary discarded the milk. It is unlikely that Brian is a lion.,It is highly unlikely that 'Brian 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.05521104220844169,train,we believe,highly unlikely,We believe that 'Brian is a lion' or 'Lily is white' or both.,It is highly unlikely that 'Brian is a lion' or 'Lily is white' or both.,0,'Brian is a lion' or 'Lily is white' or both. It is probable that John moved to the garden. There is almost no chance that Bill went to the kitchen. It is probably the case that Lily is a rhino.,It is likely that either 'John moved to the garden' 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.7::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.692,0.10202040408081617,train,likely,improbable,It is likely that either 'John moved to the garden' or 'Bill went to the kitchen' but not both.,It is improbable that either 'John moved to the garden' or 'Bill went to the kitchen' but not both.,1,Either 'John moved to the garden' or 'Bill went to the kitchen' but not both. It is certain that Julius is gray. Chances are about even that Bernhard is green. Chances are slight that Brian is white.,There is almost no chance that either 'Brian 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 1.0::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.9,0.7313462692538508,train,highly likely,almost no chance,It is highly likely that either 'Brian is white' or 'Julius is gray' but not both.,There is almost no chance that either 'Brian is white' or 'Julius is gray' but not both.,0,Either 'Brian is white' or 'Julius is gray' but not both. It is highly likely that John discarded the apple. Chances are slight that Mary left the football. It is highly unlikely that Bernhard is green.,We doubt that either 'John discarded the apple' 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.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.09741948389677936,train,highly likely,we doubt,It is highly likely that either 'John discarded the apple' or 'Bernhard is green' but not both.,We doubt that either 'John discarded the apple' or 'Bernhard is green' but not both.,0,Either 'John discarded the apple' or 'Bernhard is green' but not both. There is little chance that Gertrude is a mouse. It is probable that Brian is white. It is highly unlikely that Mary went to the garden.,It is probable that 'Brian 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.1::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.715,0.021404280856171236,train,probable,highly unlikely,It is probable that 'Brian is white' or 'Mary went to the garden' or both.,It is highly unlikely that 'Brian is white' or 'Mary went to the garden' or both.,1,'Brian is white' or 'Mary went to the garden' or both. It is impossible that Lily is a swan. Chances are slight that Winona is a wolf. It is improbable that Greg is a frog.,It is improbable 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.0::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.10000000000000002,0.10462092418483697,train,improbable,we believe,It is improbable 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 improbable that John discarded the milk. It is highly likely that Mary went to the hallway. We doubt that Lily is green.,It is probably not the case 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.1::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.3056611322264453,train,probably not,very good chance,It is probably not the case that 'Lily is green' or 'John discarded the milk' or both.,There is a very good chance that 'Lily is green' or 'John discarded the milk' or both.,1,'Lily is green' or 'John discarded the milk' or both. Chances are about even that Fred is in the cinema. It is highly unlikely that Julius is a lion. There is little chance that Greg is a frog.,It is certain that 'Julius is a lion 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.5::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025,0.4968993798759752,train,almost no chance,certain,There is almost no chance that 'Julius is a lion and Fred is in the cinema'.,It is certain that 'Julius is a lion and Fred is in the cinema'.,0,'Julius is a lion and Fred is in the cinema'. It is highly likely that Greg is a frog. Chances are slight that Sandra put down the milk. It is probably the case that Julius is a swan.,It is probably not the case that 'Greg is a frog' 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.2594518903780756,train,highly likely,probably not,It is highly likely that 'Greg is a frog' or 'Sandra put down the milk' or both.,It is probably not the case that 'Greg is a frog' or 'Sandra put down the milk' or both.,0,'Greg is a frog' or 'Sandra put down the milk' or both. It is probable that Lily is a lion. It is unlikely that Brian is a frog. It is probably not the case that John went to the garden.,It is unlikely 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.7::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.175,0.5379075815163032,train,unlikely,certain,It is unlikely that 'Lily is a lion and John went to the garden'.,It is certain that 'Lily is a lion and John went to the garden'.,1,'Lily is a lion and John went to the garden'. It is almost certain that Julius is yellow. It is certain that Mary moved to the garden. It is highly unlikely that Bernhard is green.,It is improbable 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.95::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9049999999999999,0.23224644928985796,train,highly likely,improbable,It is highly likely that either 'Julius is yellow' or 'Bernhard is green' but not both.,It is improbable that either 'Julius is yellow' or 'Bernhard is green' but not both.,0,Either 'Julius is yellow' or 'Bernhard is green' but not both. We believe that Mary left the football. It is unlikely that Gertrude is a sheep. We believe that John went to the kitchen.,Chances are about even that either 'Mary left the football' 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.75::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.375,0.48289657931586316,train,about even,certain,Chances are about even that either 'Mary left the football' or 'John went to the kitchen' but not both.,It is certain that either 'Mary left the football' or 'John went to the kitchen' but not both.,1,Either 'Mary left the football' or 'John went to the kitchen' but not both. Chances are about even that Bernhard is a frog. We believe that Daniel left the milk. We doubt that John grabbed the apple.,It is certain that either 'Bernhard is a frog' 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.5::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5000000000000001,0.5361072214442889,train,about even,certain,Chances are about even that either 'Bernhard is a frog' or 'Daniel left the milk' but not both.,It is certain that either 'Bernhard is a frog' or 'Daniel left the milk' but not both.,0,Either 'Bernhard is a frog' or 'Daniel left the milk' but not both. Chances are slight that John went to the garden. It is impossible that Mary left the milk. Chances are about even that Lily is a frog.,There is little chance that 'John 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.1::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.10000000000000002,0.0624124824964993,train,little chance,very good chance,There is little chance that 'John went to the garden' or 'Mary left the milk' or both.,There is a very good chance that 'John went to the garden' or 'Mary left the milk' or both.,1,'John went to the garden' or 'Mary left the milk' or both. Chances are slight that Julius is a frog. It is probably not the case that Mary went to the hallway. It is probably the case that Brian is yellow.,We believe that 'Julius is a frog' 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.25::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.0016003200640128026,train,we believe,highly unlikely,We believe that 'Julius is a frog' or 'Brian is yellow' or both.,It is highly unlikely that 'Julius is a frog' or 'Brian is yellow' or both.,1,'Julius is a frog' or 'Brian is yellow' or both. Chances are about even that Greg is yellow. It is unlikely that Julius is white. There is a very good chance that Bernhard is a rhino.,There is little chance that 'Julius is white' 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.5::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.1936387277455491,train,very good chance,little chance,There is a very good chance that 'Julius is white' or 'Bernhard is a rhino' or both.,There is little chance that 'Julius is white' or 'Bernhard is a rhino' or both.,0,'Julius is white' or 'Bernhard is a rhino' or both. It is probably not the case that John went to the garden. It is almost certain that Gertrude is a cat. Chances are slight that Mary picked up the apple.,It is improbable that 'Mary picked up 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.25::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.09500000000000001,0.501500300060012,train,improbable,almost certain,It is improbable that 'Mary picked up the apple and Gertrude is a cat'.,It is almost certain that 'Mary picked up the apple and Gertrude is a cat'.,1,'Mary picked up the apple and Gertrude is a cat'. We believe that Bernhard is gray. It is almost certain that Greg is a swan. It is highly unlikely that John went to the hallway.,It is highly unlikely that 'John went to the hallway 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.95::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0475,0.40888177635527106,train,highly unlikely,we believe,It is highly unlikely that 'John went to the hallway and Greg is a swan'.,We believe that 'John went to the hallway and Greg is a swan'.,1,'John went to the hallway and Greg is a swan'. There is a very good chance that Julius is gray. We believe that Brian is yellow. It is almost certain that Lily is a lion.,It is probably not the case 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.8::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.275,0.45549109821964395,train,probably not,highly likely,It is probably not the case that either 'Lily is a lion' or 'Brian is yellow' but not both.,It is highly likely that either 'Lily is a lion' or 'Brian is yellow' but not both.,1,Either 'Lily is a lion' or 'Brian is yellow' but not both. It is highly unlikely that John put down the apple. It is unlikely that Greg is a rhino. We believe that Emily is a mouse.,It is probably the case that 'Greg is a rhino' 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.05::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.24000000000000005,0.6971394278855771,train,probably not,probably,It is probably not the case that 'Greg is a rhino' or 'John put down the apple' or both.,It is probably the case that 'Greg is a rhino' or 'John put down the apple' or both.,0,'Greg is a rhino' or 'John put down the apple' or both. It is probably the case that Julius is white. There is a very good chance that Greg is white. It is highly unlikely that John picked up the milk.,We doubt that 'John picked up 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.7::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.81,0.7911582316463293,train,very good chance,we doubt,There is a very good chance that 'John picked up the milk' or 'Greg is white' or both.,We doubt that 'John picked up the milk' or 'Greg is white' or both.,0,'John picked up the milk' or 'Greg is white' or both. It is probably not the case that John went to the kitchen. We doubt that Jeff left the apple. It is highly likely that Lily is a rhino.,It is impossible that either 'John 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.25::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7000000000000001,0.6643328665733147,train,probably,impossible,It is probably the case that either 'John went to the kitchen' or 'Lily is a rhino' but not both.,It is impossible that either 'John went to the kitchen' or 'Lily is a rhino' but not both.,0,Either 'John went to the kitchen' or 'Lily is a rhino' but not both. There is almost no chance that Brian is green. We doubt that Sandra took the apple. Chances are slight that Jessica is a cat.,It is certain that either 'Brian is green' or 'Jessica is a cat' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.02::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.116,0.500500100020004,train,little chance,certain,There is little chance that either 'Brian is green' or 'Jessica is a cat' but not both.,It is certain that either 'Brian is green' or 'Jessica is a cat' but not both.,0,Either 'Brian is green' or 'Jessica is a cat' but not both. There is little chance that Lily is yellow. It is almost certain that Greg is gray. It is unlikely that John grabbed the apple.,It is almost certain that 'Greg 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.1::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.2948589717943589,train,almost certain,almost no chance,It is almost certain that 'Greg is gray' or 'John grabbed the apple' or both.,There is almost no chance that 'Greg is gray' or 'John grabbed the apple' or both.,1,'Greg is gray' or 'John grabbed the apple' or both. It is probable that John got the apple. We believe that Daniel left the milk. It is probably the case that Greg is a lion.,It is highly unlikely that 'Greg 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.7::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.6871374274854971,train,about even,highly unlikely,Chances are about even that 'Greg is a lion and John got the apple'.,It is highly unlikely that 'Greg is a lion and John got the apple'.,0,'Greg is a lion and John got the apple'. It is unlikely that Brian is a rhino. There is a very good chance that Greg is yellow. Chances are slight that Antoine is bored.,It is probably not the case that 'Greg is yellow' 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.8::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8200000000000001,0.6449289857971594,train,very good chance,probably not,There is a very good chance that 'Greg is yellow' or 'Antoine is bored' or both.,It is probably not the case that 'Greg is yellow' or 'Antoine is bored' or both.,0,'Greg is yellow' or 'Antoine is bored' or both. It is certain that Mary discarded the milk. It is probable that Fred put down the apple. We believe that Brian is yellow.,It is probably not the case that either 'Brian is yellow' 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 1.0::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.25,0.08461692338467694,train,probably not,likely,It is probably not the case that either 'Brian is yellow' or 'Mary discarded the milk' but not both.,It is likely that either 'Brian is yellow' or 'Mary discarded the milk' but not both.,1,Either 'Brian is yellow' or 'Mary discarded the milk' but not both. It is probably not the case that John went to the kitchen. It is probably not the case that Mary dropped the apple. It is probably not the case that Bernhard is a lion.,Chances are about even that either 'Bernhard 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.25::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.375,0.5773154630926185,train,about even,almost no chance,Chances are about even that either 'Bernhard is a lion' or 'John went to the kitchen' but not both.,There is almost no chance that either 'Bernhard is a lion' or 'John went to the kitchen' but not both.,1,Either 'Bernhard is a lion' or 'John went to the kitchen' but not both. It is improbable that John took the apple. It is unlikely that Jeff went to the bedroom. It is highly unlikely that Julius is white.,It is probably not the case that 'Jeff went to the bedroom' 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.2::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.7027405481096219,train,probably not,highly likely,It is probably not the case that 'Jeff went to the bedroom' or 'John took the apple' or both.,It is highly likely that 'Jeff went to the bedroom' or 'John took the apple' or both.,1,'Jeff went to the bedroom' or 'John took the apple' or both. It is highly likely that Julius is yellow. There is a better than even chance that Mary left the football. Chances are about even that Brian is green.,It is impossible that either 'Julius is yellow' 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.9::factA. 0.6::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42000000000000004,0.35907181436287255,train,about even,impossible,Chances are about even that either 'Julius is yellow' or 'Mary left the football' but not both.,It is impossible that either 'Julius is yellow' or 'Mary left the football' but not both.,0,Either 'Julius is yellow' or 'Mary left the football' but not both. It is probable that Sandra dropped the milk. There is little chance that Daniel took the football. It is impossible that Brian is a rhino.,We believe that 'Daniel took 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.7::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.46269253850770153,train,we believe,impossible,We believe that 'Daniel took the football' or 'Sandra dropped the milk' or both.,It is impossible that 'Daniel took the football' or 'Sandra dropped the milk' or both.,1,'Daniel took the football' or 'Sandra dropped the milk' or both. It is highly likely that Bernhard is green. There is little chance that Mary dropped the apple. There is a better than even chance that Julius is yellow.,We doubt that either 'Mary dropped the apple' 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.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.82,0.36487297459491896,train,very good chance,we doubt,There is a very good chance that either 'Mary dropped the apple' or 'Bernhard is green' but not both.,We doubt that either 'Mary dropped the apple' or 'Bernhard is green' but not both.,0,Either 'Mary dropped the apple' or 'Bernhard is green' but not both. It is probably the case that John went to the kitchen. There is a very good chance that Brian is a rhino. It is probable that Mary dropped the milk.,It is highly unlikely that either 'Brian is a rhino' 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.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.3656731346269254,train,about even,highly unlikely,Chances are about even that either 'Brian is a rhino' or 'Mary dropped the milk' but not both.,It is highly unlikely that either 'Brian is a rhino' or 'Mary dropped the milk' but not both.,0,Either 'Brian is a rhino' or 'Mary dropped the milk' but not both. We believe that Daniel dropped the milk. It is almost certain that Lily is a lion. It is highly unlikely that Brian is green.,We believe that either 'Brian 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.75::factA. 0.95::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7250000000000001,0.5885177035407081,train,we believe,impossible,We believe that either 'Brian is green' or 'Daniel dropped the milk' but not both.,It is impossible that either 'Brian is green' or 'Daniel dropped the milk' but not both.,1,Either 'Brian is green' or 'Daniel dropped the milk' but not both. Chances are slight that Lily is a frog. There is a very good chance that Mary dropped the apple. It is impossible that John picked up the apple.,We doubt that 'Mary dropped the apple' 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.8::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.124624924984997,train,very good chance,we doubt,There is a very good chance that 'Mary dropped the apple' or 'John picked up the apple' or both.,We doubt that 'Mary dropped the apple' or 'John picked up the apple' or both.,0,'Mary dropped the apple' or 'John picked up the apple' or both. Chances are slight that John moved to the garden. There is a very good chance that Mary is in the bathroom. It is probably not the case that Lily is green.,Chances are about even that 'Lily is green 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.8::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.025000000000000012,0.23304660932186438,train,almost no chance,about even,There is almost no chance that 'Lily is green and John moved to the garden'.,Chances are about even that 'Lily is green and John moved to the garden'.,0,'Lily is green and John moved to the garden'. It is highly likely that Mary got the apple. It is highly unlikely that Brian is green. There is almost no chance that Jeff moved to the garden.,It is highly likely that 'Mary 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.9::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.905,0.1194238847769554,train,highly likely,almost no chance,It is highly likely that 'Mary got the apple' or 'Brian is green' or both.,There is almost no chance that 'Mary got the apple' or 'Brian is green' or both.,1,'Mary got the apple' or 'Brian is green' or both. It is highly unlikely that John grabbed the apple. It is certain that Greg is a frog. It is unlikely that Winona is a wolf.,It is probable that either 'Winona is a wolf' 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.05::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.23,0.07541508301660332,train,probably not,probable,It is probably not the case that either 'Winona is a wolf' or 'John grabbed the apple' but not both.,It is probable that either 'Winona is a wolf' or 'John grabbed the apple' but not both.,0,Either 'Winona is a wolf' or 'John grabbed the apple' but not both. It is certain that John went to the office. It is improbable that Lily is a frog. It is likely that Greg is a lion.,It is likely that either 'Greg 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 1.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.6411282256451291,train,likely,improbable,It is likely that either 'Greg is a lion' or 'Lily is a frog' but not both.,It is improbable that either 'Greg is a lion' or 'Lily is a frog' but not both.,1,Either 'Greg is a lion' or 'Lily is a frog' but not both. We doubt that Greg is a rhino. We believe that Jessica is a mouse. It is probable that John dropped the apple.,Chances are about even that either 'John 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.754750950190038,train,about even,certain,Chances are about even that either 'John dropped the apple' or 'Jessica is a mouse' but not both.,It is certain that either 'John dropped the apple' or 'Jessica is a mouse' but not both.,1,Either 'John dropped the apple' or 'Jessica is a mouse' but not both. It is probably the case that Winona is a mouse. Chances are slight that Julius is a swan. It is improbable that Mary picked up the milk.,It is improbable that either 'Mary picked up 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.749749949989998,train,probable,improbable,It is probable that either 'Mary picked up the milk' or 'Winona is a mouse' but not both.,It is improbable that either 'Mary picked up the milk' or 'Winona is a mouse' but not both.,0,Either 'Mary picked up the milk' or 'Winona is a mouse' but not both. There is almost no chance that Brian is a rhino. There is almost no chance that Bill moved to the office. There is almost no chance that Emily is a wolf.,It is probable that 'Emily is a wolf 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.02::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0004000000000000001,0.5979195839167833,train,impossible,probable,It is impossible that 'Emily is a wolf and Bill moved to the office'.,It is probable that 'Emily is a wolf and Bill moved to the office'.,0,'Emily is a wolf and Bill moved to the office'. It is improbable that Gertrude is a mouse. It is probably not the case that Mary left the football. It is probably the case that Julius is white.,There is a better than even chance that 'Gertrude is a mouse 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.25::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.5965193038607721,train,highly unlikely,better than even,It is highly unlikely that 'Gertrude is a mouse and Julius is white'.,There is a better than even chance that 'Gertrude is a mouse and Julius is white'.,0,'Gertrude is a mouse and Julius is white'. We doubt that Greg is a lion. It is probably the case that Lily is a rhino. There is a better than even chance that Mary went to the hallway.,There is a better than even chance that either 'Lily 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.2::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.3594718943788758,train,better than even,improbable,There is a better than even chance that either 'Lily is a rhino' or 'Greg is a lion' but not both.,It is improbable that either 'Lily is a rhino' or 'Greg is a lion' but not both.,1,Either 'Lily is a rhino' or 'Greg is a lion' but not both. It is almost certain that John discarded the milk. It is unlikely that Greg is a rhino. Chances are about even that Bernhard is a frog.,It is almost certain that 'Bernhard is a frog' 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.95::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.975,0.120624124824965,train,almost certain,probably not,It is almost certain that 'Bernhard is a frog' or 'John discarded the milk' or both.,It is probably not the case that 'Bernhard is a frog' or 'John discarded the milk' or both.,1,'Bernhard is a frog' or 'John discarded the milk' or both. There is a better than even chance that Brian is a rhino. It is highly likely that Lily is a frog. Chances are slight that Bernhard is green.,There is a better than even chance 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 0.6::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.64,0.029005801160232048,train,better than even,impossible,There is a better than even chance that 'Bernhard is green' or 'Brian is a rhino' or both.,It is impossible that 'Bernhard is green' or 'Brian is a rhino' or both.,1,'Bernhard is green' or 'Brian is a rhino' or both. Chances are slight that Julius is white. We believe that Sandra left the milk. It is almost certain that John took the football.,It is improbable that 'Sandra left the milk 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.75::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7125,0.7413482696539307,train,probably,improbable,It is probably the case that 'Sandra left the milk and John took the football'.,It is improbable that 'Sandra left the milk and John took the football'.,0,'Sandra left the milk and John took the football'. We doubt that Sumit is thirsty. There is little chance that Julius is a swan. It is certain that Brian is a frog.,It is probably not the case that either 'Sumit is thirsty' 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. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.21684336867373474,train,probably not,highly likely,It is probably not the case that either 'Sumit is thirsty' or 'Julius is a swan' but not both.,It is highly likely that either 'Sumit is thirsty' or 'Julius is a swan' but not both.,1,Either 'Sumit is thirsty' or 'Julius is a swan' but not both. Chances are about even that John dropped the milk. There is a better than even chance that Sandra got the football. We doubt that Greg is yellow.,There is a better than even chance that either 'Greg 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.5::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5599999999999999,0.485497099419884,train,better than even,impossible,There is a better than even chance that either 'Greg is yellow' or 'Sandra got the football' but not both.,It is impossible that either 'Greg is yellow' or 'Sandra got the football' but not both.,1,Either 'Greg is yellow' or 'Sandra got the football' but not both. There is a very good chance that Bernhard is a frog. It is probable that Greg is a lion. It is certain that Fred dropped the milk.,Chances are slight that 'Fred dropped 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.8::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.20044008801760352,train,certain,chances are slight,It is certain that 'Fred dropped the milk' or 'Greg is a lion' or both.,Chances are slight that 'Fred dropped the milk' or 'Greg is a lion' or both.,0,'Fred dropped the milk' or 'Greg is a lion' or both. It is impossible that Bernhard is yellow. We doubt that Brian is a swan. There is a very good chance that Bill left the football.,There is a very good chance that either 'Bill left the football' 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.0::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.1898379675935187,train,very good chance,impossible,There is a very good chance that either 'Bill left the football' or 'Bernhard is yellow' but not both.,It is impossible that either 'Bill left the football' or 'Bernhard is yellow' but not both.,1,Either 'Bill left the football' or 'Bernhard is yellow' but not both. We believe that Bill went to the office. There is a better than even chance that Bernhard is yellow. We doubt that Lily is white.,Chances are about even that either 'Bernhard is yellow' 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.75::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45000000000000007,0.13442688537707542,train,about even,almost no chance,Chances are about even that either 'Bernhard is yellow' or 'Bill went to the office' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Bill went to the office' but not both.,1,Either 'Bernhard is yellow' or 'Bill went to the office' but not both. It is almost certain that Sandra left the milk. It is probably the case that Fred is in the office. It is highly likely that Brian is a frog.,Chances are about even that 'Brian is a frog' or 'Fred is in 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.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.7501500300060012,train,almost certain,about even,It is almost certain that 'Brian is a frog' or 'Fred is in the office' or both.,Chances are about even that 'Brian is a frog' or 'Fred is in the office' or both.,0,'Brian is a frog' or 'Fred is in the office' or both. There is a better than even chance that Jeff went to the bedroom. There is almost no chance that Julius is green. We believe that Sandra dropped the milk.,It is almost certain that 'Jeff went to the bedroom 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.6::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.45,0.7205441088217643,train,about even,almost certain,Chances are about even that 'Jeff went to the bedroom and Sandra dropped the milk'.,It is almost certain that 'Jeff went to the bedroom and Sandra dropped the milk'.,0,'Jeff went to the bedroom and Sandra dropped the milk'. There is a very good chance that Greg is gray. It is highly likely that Bill left the football. We doubt that Bernhard is a swan.,It is impossible that either 'Greg is gray' 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.9::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.68,0.1360272054410882,train,probable,impossible,It is probable that either 'Greg is gray' or 'Bernhard is a swan' but not both.,It is impossible that either 'Greg is gray' or 'Bernhard is a swan' but not both.,0,Either 'Greg is gray' or 'Bernhard is a swan' but not both. It is improbable that Brian is white. It is almost certain that Bernhard is green. Chances are about even that Gertrude is a mouse.,There is little chance that 'Brian is white' 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.95::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.955,0.2618523704740948,train,almost certain,little chance,It is almost certain that 'Brian is white' or 'Bernhard is green' or both.,There is little chance that 'Brian is white' or 'Bernhard is green' or both.,0,'Brian is white' or 'Bernhard is green' or both. It is impossible that Bernhard is a frog. It is likely that John got the football. It is probable that Julius is yellow.,There is almost no chance that either 'Julius is yellow' or 'John 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.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.3840768153630726,train,about even,almost no chance,Chances are about even that either 'Julius is yellow' or 'John got the football' but not both.,There is almost no chance that either 'Julius is yellow' or 'John got the football' but not both.,0,Either 'Julius is yellow' or 'John got the football' but not both. Chances are about even that Mary left the football. It is improbable that Jason is tired. It is certain that Fred dropped the milk.,There is little chance that 'Mary left the football' 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.5::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.02960592118423685,train,certain,little chance,It is certain that 'Mary left the football' or 'Fred dropped the milk' or both.,There is little chance that 'Mary left the football' or 'Fred dropped the milk' or both.,0,'Mary left the football' or 'Fred dropped the milk' or both. It is improbable that Winona is a sheep. There is little chance that Brian is a frog. It is likely that Bill went to the garden.,We doubt that either 'Brian 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.6071214242848569,train,probably,we doubt,It is probably the case that either 'Brian is a frog' or 'Bill went to the garden' but not both.,We doubt that either 'Brian is a frog' or 'Bill went to the garden' but not both.,0,Either 'Brian is a frog' or 'Bill went to the garden' but not both. It is probably not the case that Mary went to the bedroom. It is highly likely that Bernhard is gray. It is impossible that John moved to the garden.,It is highly likely that either 'Bernhard is gray' or 'John moved to the garden' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.3636727345469094,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is gray' or 'John moved to the garden' but not both.,There is almost no chance that either 'Bernhard is gray' or 'John moved to the garden' but not both.,1,Either 'Bernhard is gray' or 'John moved to the garden' but not both. There is little chance that Jessica is a sheep. It is probably not the case that Fred is in the office. It is probably not the case that Brian is green.,It is highly likely that either 'Jessica is a sheep' 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.25::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.28745749149829963,train,probably not,highly likely,It is probably not the case that either 'Jessica is a sheep' or 'Fred is in the office' but not both.,It is highly likely that either 'Jessica is a sheep' or 'Fred is in the office' but not both.,0,Either 'Jessica is a sheep' or 'Fred is in the office' but not both. There is almost no chance that Brian is a lion. There is almost no chance that John discarded the apple. It is highly likely that Bernhard is yellow.,It is probably not the case that either 'Bernhard 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.02::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.884,0.04700940188037608,train,highly likely,probably not,It is highly likely that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,It is probably not the case that either 'Bernhard is yellow' or 'Brian is a lion' but not both.,0,Either 'Bernhard is yellow' or 'Brian is a lion' but not both. It is almost certain that John went to the bedroom. There is a better than even chance that Lily is a swan. We believe that Mary dropped the milk.,It is highly unlikely that 'John went to the bedroom 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.95::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.40768153630726145,train,likely,highly unlikely,It is likely that 'John went to the bedroom and Mary dropped the milk'.,It is highly unlikely that 'John went to the bedroom and Mary dropped the milk'.,0,'John went to the bedroom and Mary dropped the milk'. It is likely that Lily is a lion. It is unlikely that Julius is yellow. Chances are slight that Bernhard is a rhino.,There is a better than even chance 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.34746949389877974,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'.,0,'Lily is a lion and Bernhard is a rhino'. It is improbable that Lily is a lion. It is almost certain that Jessica is a wolf. It is probable that Mary dropped the milk.,It is highly likely that either 'Jessica 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.1::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32000000000000006,0.254250850170034,train,probably not,highly likely,It is probably not the case that either 'Jessica is a wolf' or 'Mary dropped the milk' but not both.,It is highly likely that either 'Jessica is a wolf' or 'Mary dropped the milk' but not both.,0,Either 'Jessica is a wolf' or 'Mary dropped the milk' but not both. Chances are slight that Sandra dropped the milk. It is probable that Brian is yellow. It is probably not the case that John got the apple.,There is little chance that 'Sandra 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.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.34886977395479096,train,we believe,little chance,We believe that 'Sandra dropped the milk' or 'Brian is yellow' or both.,There is little chance that 'Sandra dropped the milk' or 'Brian is yellow' or both.,0,'Sandra dropped the milk' or 'Brian is yellow' or both. There is little chance that Sandra left the milk. It is highly unlikely that Brian is white. We believe that Julius is a frog.,We believe 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.1::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.14500000000000005,0.1380276055211042,train,improbable,we believe,It is improbable that 'Sandra left the milk' or 'Brian is white' or both.,We believe that 'Sandra left the milk' or 'Brian is white' or both.,0,'Sandra left the milk' or 'Brian is white' or both. It is improbable that Bill moved to the office. It is probable that Lily is gray. It is certain that Brian is yellow.,It is certain 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.7::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.7785557111422284,train,certain,chances are slight,It is certain that 'Brian is yellow' or 'Lily is gray' or both.,Chances are slight that 'Brian is yellow' or 'Lily is gray' or both.,1,'Brian is yellow' or 'Lily is gray' or both. It is unlikely that Greg is gray. There is little chance that John went to the kitchen. It is highly likely that Mary put down the apple.,There is little chance that either 'Mary 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.82,0.2508501700340068,train,very good chance,little chance,There is a very good chance that either 'Mary put down the apple' or 'John went to the kitchen' but not both.,There is little chance that either 'Mary put down the apple' or 'John went to the kitchen' but not both.,0,Either 'Mary put down the apple' or 'John went to the kitchen' but not both. There is almost no chance that Yann is tired. There is a better than even chance that Sumit is thirsty. There is almost no chance that Brian is white.,It is probable that 'Brian is white 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.02::factA. 0.6::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0004000000000000001,0.5289057811562312,train,impossible,probable,It is impossible that 'Brian is white and Yann is tired'.,It is probable that 'Brian is white and Yann is tired'.,0,'Brian is white and Yann is tired'. It is likely that Mary moved to the garden. It is probable that Lily is a rhino. It is probably not the case that Sandra dropped the milk.,Chances are about even that 'Mary 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.7::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.1846369273854771,train,about even,certain,Chances are about even that 'Mary moved to the garden and Lily is a rhino'.,It is certain that 'Mary moved to the garden and Lily is a rhino'.,1,'Mary moved to the garden and Lily is a rhino'. It is probably not the case that Mary dropped the apple. It is almost certain that Julius is white. It is likely that Greg is a swan.,There is a very good chance that 'Greg is a swan' 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.25::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.09781956391278256,train,very good chance,little chance,There is a very good chance that 'Greg is a swan' or 'Mary dropped the apple' or both.,There is little chance that 'Greg is a swan' or 'Mary dropped the apple' or both.,1,'Greg is a swan' or 'Mary dropped the apple' or both. It is improbable that Bernhard is a lion. Chances are about even that Daniel got the apple. It is probably the case that Julius is a frog.,There is a very good chance that 'Julius is a frog' 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.1::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.85,0.023204640928185638,train,very good chance,improbable,There is a very good chance that 'Julius is a frog' or 'Daniel got the apple' or both.,It is improbable that 'Julius is a frog' or 'Daniel got the apple' or both.,1,'Julius is a frog' or 'Daniel got the apple' or both. We doubt that Julius is a frog. We believe that Brian is a rhino. It is highly likely that Jeff moved to the garden.,It is highly likely that 'Jeff moved to the garden' 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.75::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.92,0.3722744548909782,train,highly likely,highly unlikely,It is highly likely that 'Jeff moved to the garden' or 'Julius is a frog' or both.,It is highly unlikely that 'Jeff moved to the garden' or 'Julius is a frog' or both.,1,'Jeff moved to the garden' or 'Julius is a frog' or both. It is highly likely that Julius is a swan. There is a very good chance that Mary went to the garden. It is highly likely that Brian is a rhino.,We doubt that 'Brian is a rhino 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.9::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7200000000000001,0.4386877375475095,train,probably,we doubt,It is probably the case that 'Brian is a rhino and Mary went to the garden'.,We doubt that 'Brian is a rhino and Mary went to the garden'.,0,'Brian is a rhino and Mary went to the garden'. We believe that Lily is green. It is impossible that Bernhard is yellow. It is almost certain that John went to the office.,It is likely that 'Lily is green 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.75::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7125,0.5433086617323465,train,likely,unlikely,It is likely that 'Lily is green and John went to the office'.,It is unlikely that 'Lily is green and John went to the office'.,1,'Lily is green and John went to the office'. There is a very good chance that Fred went to the garden. There is a better than even chance that John got the milk. It is unlikely that Bernhard is green.,It is highly likely 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 0.8::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.4920984196839368,train,highly likely,chances are slight,It is highly likely that 'Fred went to the garden' or 'John got the milk' or both.,Chances are slight 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. It is improbable that John went to the garden. It is probable that Mary got the football. It is certain that Sandra dropped the milk.,There is a very good chance that 'John 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.1::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.7685537107421484,train,improbable,very good chance,It is improbable that 'John went to the garden and Sandra dropped the milk'.,There is a very good chance that 'John went to the garden and Sandra dropped the milk'.,0,'John went to the garden and Sandra dropped the milk'. It is likely that John left the apple. It is highly likely that Sumit is hungry. Chances are about even that Brian is a swan.,It is probably not the case that either 'Sumit is hungry' 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.9::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.1816363272654531,train,probably not,probably,It is probably not the case that either 'Sumit is hungry' or 'John left the apple' but not both.,It is probably the case that either 'Sumit is hungry' or 'John left the apple' but not both.,1,Either 'Sumit is hungry' or 'John left the apple' but not both. Chances are about even that Daniel got the football. It is probably the case that Mary went to the office. It is almost certain that John put down the apple.,Chances are about even that either 'John put down the apple' 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.5::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.7553510702140428,train,about even,almost no chance,Chances are about even that either 'John put down the apple' or 'Daniel got the football' but not both.,There is almost no chance that either 'John put down the apple' or 'Daniel got the football' but not both.,1,Either 'John put down the apple' or 'Daniel got the football' but not both. It is impossible that Lily is gray. It is probably the case that John went to the office. It is highly unlikely that Mary moved to the garden.,It is highly unlikely that 'Lily 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.7::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.29745949189837967,train,probably,highly unlikely,It is probably the case that 'Lily is gray' or 'John went to the office' or both.,It is highly unlikely that 'Lily is gray' or 'John went to the office' or both.,0,'Lily is gray' or 'John went to the office' or both. There is almost no chance that Mary went to the bedroom. There is a very good chance that John moved to the garden. We doubt that Winona is a mouse.,It is unlikely that 'John moved to the garden 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.02::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.16000000000000003,0.7449489897979596,train,unlikely,almost certain,It is unlikely that 'John moved to the garden and Winona is a mouse'.,It is almost certain that 'John moved to the garden and Winona is a mouse'.,1,'John moved to the garden and Winona is a mouse'. There is little chance that Mary left the football. It is improbable that Bill moved to the office. It is likely that John grabbed the apple.,There is almost no chance that 'Bill moved to the office 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.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.49429885977195437,train,almost no chance,likely,There is almost no chance that 'Bill moved to the office and Mary left the football'.,It is likely that 'Bill moved to the office and Mary left the football'.,1,'Bill moved to the office and Mary left the football'. It is likely that Jason is tired. It is unlikely that Mary went to the office. There is little chance that Julius is green.,We believe that 'Julius is green' 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.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.7469493898779755,train,we believe,probably not,We believe that 'Julius is green' or 'Jason is tired' or both.,It is probably not the case that 'Julius is green' or 'Jason is tired' or both.,1,'Julius is green' or 'Jason is tired' or both. It is highly likely that Mary dropped the milk. It is highly likely that Julius is yellow. It is probable that Greg is a frog.,It is certain 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.9::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.29065813162632526,train,probably not,certain,It is probably not the case that either 'Greg is a frog' or 'Julius is yellow' but not both.,It is certain that either 'Greg is a frog' or 'Julius is yellow' but not both.,0,Either 'Greg is a frog' or 'Julius is yellow' but not both. There is a very good chance that Brian is gray. It is certain that Lily is white. There is a better than even chance that Julius is a frog.,It is improbable that 'Brian is gray 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.8::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.8,0.5781156231246249,train,very good chance,improbable,There is a very good chance that 'Brian is gray and Lily is white'.,It is improbable that 'Brian is gray and Lily is white'.,0,'Brian is gray and Lily is white'. It is almost certain that Bernhard is a swan. It is impossible that Brian is white. It is almost certain that John picked up the milk.,It is highly likely that 'Bernhard 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.95::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.9025,0.616123224644929,train,highly likely,little chance,It is highly likely that 'Bernhard is a swan and John picked up the milk'.,There is little chance that 'Bernhard is a swan and John picked up the milk'.,1,'Bernhard is a swan and John picked up the milk'. Chances are slight that John put down the apple. It is probable that Lily is white. It is highly likely that Brian is a frog.,It is probably not the case that either 'Brian is a frog' 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.7::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.4930986197239448,train,probably not,certain,It is probably not the case that either 'Brian is a frog' or 'Lily is white' but not both.,It is certain that either 'Brian is a frog' or 'Lily is white' but not both.,1,Either 'Brian is a frog' or 'Lily is white' but not both. We believe that Sandra got the football. It is unlikely that Greg is white. It is highly unlikely that John discarded the apple.,It is likely that 'Greg is white' 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.75::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.24000000000000005,0.7663532706541308,train,probably not,likely,It is probably not the case that 'Greg is white' or 'John discarded the apple' or both.,It is likely that 'Greg is white' or 'John discarded the apple' or both.,0,'Greg is white' or 'John discarded the apple' or both. We believe that Greg is a frog. Chances are slight that Julius is gray. It is probably the case that Daniel left the milk.,It is probable 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.75::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.5491098219643928,train,probable,impossible,It is probable that either 'Julius is gray' or 'Daniel left the milk' but not both.,It is impossible 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 unlikely that Sandra left the milk. There is a very good chance that Julius is a lion. It is highly unlikely that John moved to the office.,It is unlikely that 'Sandra left 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.2::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.16000000000000003,0.26805361072214445,train,unlikely,probable,It is unlikely that 'Sandra left the milk and Julius is a lion'.,It is probable that 'Sandra left the milk and Julius is a lion'.,1,'Sandra left the milk and Julius is a lion'. It is unlikely that Lily is a lion. It is probable that Greg is a frog. It is almost certain that John dropped the apple.,We doubt that 'Greg is a frog' 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.7::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.22504500900180036,train,certain,we doubt,It is certain that 'Greg is a frog' or 'John dropped the apple' or both.,We doubt that 'Greg is a frog' or 'John dropped the apple' or both.,0,'Greg is a frog' or 'John dropped the apple' or both. There is almost no chance that Daniel dropped the milk. There is little chance that Mary got the apple. There is little chance that Lily is a rhino.,We doubt that 'Mary got 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.02::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.11242248449689939,train,we doubt,likely,We doubt that 'Mary got the apple' or 'Lily is a rhino' or both.,It is likely that 'Mary got the apple' or 'Lily is a rhino' or both.,1,'Mary got the apple' or 'Lily is a rhino' or both. We believe that Daniel took the apple. It is probably the case that John dropped the milk. It is highly likely that Bernhard is yellow.,It is likely that 'Bernhard is yellow 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.75::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.675,0.5139027805561113,train,likely,unlikely,It is likely that 'Bernhard is yellow and Daniel took the apple'.,It is unlikely that 'Bernhard is yellow and Daniel took the apple'.,1,'Bernhard is yellow and Daniel took the apple'. There is almost no chance that Lily is green. We believe that Brian is a frog. Chances are slight that John went to the kitchen.,It is highly unlikely that either 'Lily is green' 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.02::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.2406481296259252,train,we believe,highly unlikely,We believe that either 'Lily is green' or 'Brian is a frog' but not both.,It is highly unlikely that either 'Lily is green' or 'Brian is a frog' but not both.,0,Either 'Lily is green' or 'Brian is a frog' but not both. It is highly likely that Bernhard is green. There is a very good chance that Greg is a rhino. It is probably not the case that Sandra grabbed the apple.,We believe that 'Sandra grabbed the apple 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.8::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.225,0.7343468693738747,train,unlikely,we believe,It is unlikely that 'Sandra grabbed the apple and Bernhard is green'.,We believe that 'Sandra grabbed the apple and Bernhard is green'.,0,'Sandra grabbed the apple and Bernhard is green'. There is little chance that Mary put down the apple. There is almost no chance that Bernhard is yellow. It is probable that Sandra took the football.,There is almost no chance that 'Sandra took the football 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.02::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.7761552310462092,train,almost no chance,highly likely,There is almost no chance that 'Sandra took the football and Bernhard is yellow'.,It is highly likely that 'Sandra took the football and Bernhard is yellow'.,1,'Sandra took the football and Bernhard is yellow'. Chances are slight that Daniel left the apple. There is a very good chance that Brian is yellow. It is highly unlikely that Mary moved to the garden.,It is probably the case that 'Mary moved 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.1::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.04000000000000001,0.19143828765753151,train,highly unlikely,probably,It is highly unlikely that 'Mary moved to the garden and Brian is yellow'.,It is probably the case that 'Mary moved to the garden and Brian is yellow'.,0,'Mary moved to the garden and Brian is yellow'. Chances are slight that John went to the bedroom. It is almost certain that Daniel took the milk. Chances are slight that Julius is yellow.,There is a better than even chance that 'Daniel took the milk 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09500000000000001,0.6761352270454091,train,improbable,better than even,It is improbable that 'Daniel took the milk and Julius is yellow'.,There is a better than even chance that 'Daniel took the milk and Julius is yellow'.,0,'Daniel took the milk and Julius is yellow'. There is a better than even chance that Jeff moved to the garden. There is a very good chance that Mary dropped the apple. It is unlikely that Brian is a lion.,There is almost no chance that either 'Mary 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 0.6::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.68,0.255251050210042,train,probably,almost no chance,It is probably the case that either 'Mary dropped the apple' or 'Brian is a lion' but not both.,There is almost no chance that either 'Mary dropped the apple' or 'Brian is a lion' but not both.,0,Either 'Mary dropped the apple' or 'Brian is a lion' but not both. It is impossible that Sandra took the football. It is almost certain that Julius is yellow. There is almost no chance that Mary discarded the apple.,It is impossible that 'Julius 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.0::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.6033206641328266,train,impossible,very good chance,It is impossible that 'Julius is yellow and Sandra took the football'.,There is a very good chance that 'Julius is yellow and Sandra took the football'.,1,'Julius is yellow and Sandra took the football'. There is a better than even chance that Julius is yellow. There is a very good chance that Lily is a rhino. We believe that Greg is a lion.,Chances are about even that either 'Julius 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.6::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.45000000000000007,0.02500500100020004,train,about even,highly unlikely,Chances are about even that either 'Julius is yellow' or 'Greg is a lion' but not both.,It is highly unlikely that either 'Julius is yellow' or 'Greg is a lion' but not both.,1,Either 'Julius is yellow' or 'Greg is a lion' but not both. It is probably not the case that John left the milk. Chances are about even that Mary went to the bedroom. There is a very good chance that Daniel took the football.,It is probably the case that 'John left the milk 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.25::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.2968593718743749,train,we doubt,probably,We doubt that 'John left the milk and Daniel took the football'.,It is probably the case that 'John left the milk and Daniel took the football'.,0,'John left the milk and Daniel took the football'. There is a very good chance that Greg is a rhino. It is highly likely that Bernhard is a frog. It is improbable that Sandra put down the milk.,Chances are slight 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.8::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7200000000000001,0.31726345269053813,train,likely,chances are slight,It is likely that 'Greg is a rhino and Bernhard is a frog'.,Chances are slight that 'Greg is a rhino and Bernhard is a frog'.,0,'Greg is a rhino and Bernhard is a frog'. There is little chance that Mary moved to the office. Chances are slight that Bernhard is a lion. Chances are slight that Lily is a swan.,It is probable that 'Bernhard is a lion' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.19000000000000006,0.7693538707741548,train,unlikely,probable,It is unlikely that 'Bernhard is a lion' or 'Mary moved to the office' or both.,It is probable that 'Bernhard is a lion' or 'Mary moved to the office' or both.,0,'Bernhard is a lion' or 'Mary moved to the office' or both. There is little chance that Julius is a swan. It is probable that Mary went to the kitchen. It is almost certain that Winona is a cat.,We believe that 'Mary went to the kitchen' 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. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.019403880776155232,train,we believe,impossible,We believe that 'Mary went to the kitchen' or 'Julius is a swan' or both.,It is impossible that 'Mary went to the kitchen' or 'Julius is a swan' or both.,1,'Mary went to the kitchen' or 'Julius is a swan' or both. There is a better than even chance that Greg is a swan. There is almost no chance that Julius is a frog. It is certain that Mary dropped the milk.,It is almost certain that either 'Greg is a swan' 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.6::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.7429485897179436,train,about even,almost certain,Chances are about even that either 'Greg is a swan' or 'Mary dropped the milk' but not both.,It is almost certain that either 'Greg is a swan' or 'Mary dropped the milk' but not both.,0,Either 'Greg is a swan' or 'Mary dropped the milk' but not both. Chances are slight that Greg is a rhino. It is highly likely that Bernhard is white. It is highly unlikely that Bill went to the kitchen.,There is a better than even chance that 'Greg is a rhino' or 'Bill went to the kitchen' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.14500000000000005,0.16543308661732348,train,improbable,better than even,It is improbable that 'Greg is a rhino' or 'Bill went to the kitchen' or both.,There is a better than even chance that 'Greg is a rhino' or 'Bill went to the kitchen' or both.,0,'Greg is a rhino' or 'Bill went to the kitchen' or both. It is unlikely that Mary got the football. It is unlikely that Bernhard is a rhino. There is almost no chance that Winona is a sheep.,We doubt that 'Bernhard is a rhino' 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.2::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.21600000000000003,0.39627925585117024,train,we doubt,we believe,We doubt that 'Bernhard is a rhino' or 'Winona is a sheep' or both.,We believe that 'Bernhard is a rhino' or 'Winona is a sheep' or both.,1,'Bernhard is a rhino' or 'Winona is a sheep' or both. It is improbable that Sandra grabbed the milk. It is highly likely that John dropped the milk. There is a very good chance that Julius is gray.,There is a very good chance that 'Sandra grabbed 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.1::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8200000000000001,0.4502900580116023,train,very good chance,chances are slight,There is a very good chance that 'Sandra grabbed the milk' or 'Julius is gray' or both.,Chances are slight that 'Sandra grabbed the milk' or 'Julius is gray' or both.,1,'Sandra grabbed the milk' or 'Julius is gray' or both. It is improbable that Brian is yellow. It is highly unlikely that Sandra put down the milk. It is impossible that Greg is a swan.,It is highly unlikely that either 'Sandra put down 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.05::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.05000000000000001,0.46449289857971593,train,highly unlikely,better than even,It is highly unlikely that either 'Sandra put down the milk' or 'Greg is a swan' but not both.,There is a better than even chance that either 'Sandra put down the milk' or 'Greg is a swan' but not both.,1,Either 'Sandra put down the milk' or 'Greg is a swan' but not both. It is probably the case that Gertrude is a sheep. Chances are about even that Bernhard is a swan. It is probable that Daniel left the apple.,It is highly likely that 'Gertrude is a sheep' or 'Daniel left the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.6015203040608121,train,highly likely,impossible,It is highly likely that 'Gertrude is a sheep' or 'Daniel left the apple' or both.,It is impossible that 'Gertrude is a sheep' or 'Daniel left the apple' or both.,1,'Gertrude is a sheep' or 'Daniel left the apple' or both. We doubt that Bernhard is a lion. It is impossible that John picked up the apple. It is highly likely that Jeff went to the garden.,It is certain that 'Bernhard is a lion' 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.2::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.2,0.29645929185837167,train,unlikely,certain,It is unlikely that 'Bernhard is a lion' or 'John picked up the apple' or both.,It is certain that 'Bernhard is a lion' or 'John picked up the apple' or both.,0,'Bernhard is a lion' or 'John picked up the apple' or both. It is likely that Julius is yellow. It is impossible that Sandra grabbed the apple. It is probable that John took the milk.,Chances are about even 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.7::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.14862972594518903,train,about even,impossible,Chances are about even that 'Julius is yellow and John took the milk'.,It is impossible that 'Julius is yellow and John took the milk'.,1,'Julius is yellow and John took the milk'. It is certain that Mary went to the office. It is highly unlikely that Sandra dropped the milk. There is a very good chance that Julius is a swan.,It is highly unlikely that 'Mary went to the office 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.05::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.03840768153630726,train,highly unlikely,better than even,It is highly unlikely that 'Mary went to the office and Sandra dropped the milk'.,There is a better than even chance that 'Mary went to the office and Sandra dropped the milk'.,1,'Mary went to the office and Sandra dropped the milk'. It is unlikely that Mary moved to the garden. There is little chance that Lily is green. It is probably the case that Greg is gray.,It is probably not the case that either 'Mary moved 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.5283056611322264,train,probably not,highly likely,It is probably not the case that either 'Mary moved to the garden' or 'Lily is green' but not both.,It is highly likely that either 'Mary moved to the garden' or 'Lily is green' but not both.,1,Either 'Mary moved to the garden' or 'Lily is green' but not both. There is a better than even chance that John got the milk. It is likely that Jessica is a sheep. It is probably not the case that Lily is yellow.,It is highly unlikely that either 'Jessica is a sheep' 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.7::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.14282856571314262,train,about even,highly unlikely,Chances are about even that either 'Jessica is a sheep' or 'John got the milk' but not both.,It is highly unlikely that either 'Jessica is a sheep' or 'John got the milk' but not both.,0,Either 'Jessica is a sheep' or 'John got the milk' but not both. It is certain that John put down the apple. It is probably not the case that Mary left the football. It is certain that Bernhard is a rhino.,It is probably not the case that 'Bernhard 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 1.0::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.25,0.581116223244649,train,probably not,highly likely,It is probably not the case that 'Bernhard is a rhino and Mary left the football'.,It is highly likely that 'Bernhard is a rhino and Mary left the football'.,1,'Bernhard is a rhino and Mary left the football'. It is unlikely that Mary grabbed the milk. It is probable that Lily is a swan. It is impossible that Brian is white.,It is probable that 'Lily is a swan' 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.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.14102820564112822,train,probable,unlikely,It is probable that 'Lily is a swan' or 'Brian is white' or both.,It is unlikely that 'Lily is a swan' or 'Brian is white' or both.,1,'Lily is a swan' or 'Brian is white' or both. There is little chance that Mary got the football. It is probably the case that Winona is a wolf. Chances are about even that Brian is white.,It is probably not the case 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.1::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8499999999999999,0.09941988397679535,train,very good chance,probably not,There is a very good chance that 'Brian is white' or 'Winona is a wolf' or both.,It is probably not the case that 'Brian is white' or 'Winona is a wolf' or both.,0,'Brian is white' or 'Winona is a wolf' or both. It is impossible that Jeff left the apple. It is certain that Bernhard is yellow. It is probable that Greg is gray.,It is certain that either 'Jeff left the apple' or 'Bernhard is yellow' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",1.0,0.3556711342268454,train,certain,chances are slight,It is certain that either 'Jeff left the apple' or 'Bernhard is yellow' but not both.,Chances are slight that either 'Jeff left the apple' or 'Bernhard is yellow' but not both.,1,Either 'Jeff left the apple' or 'Bernhard is yellow' but not both. We believe that John took the football. There is a very good chance that Jeff left the apple. There is a very good chance that Mary grabbed the milk.,It is probably not the case that 'Jeff left the apple' 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.75::factA. 0.8::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9600000000000001,0.7195439087817563,train,almost certain,probably not,It is almost certain that 'Jeff left the apple' or 'Mary grabbed the milk' or both.,It is probably not the case that 'Jeff left the apple' or 'Mary grabbed the milk' or both.,0,'Jeff left the apple' or 'Mary grabbed the milk' or both. There is almost no chance that John moved to the garden. It is highly unlikely that Lily is a rhino. It is probably not the case that Sandra got the football.,It is highly unlikely that either 'Lily 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.02::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.068,0.2550510102020404,train,highly unlikely,likely,It is highly unlikely that either 'Lily is a rhino' or 'John moved to the garden' but not both.,It is likely that either 'Lily is a rhino' or 'John moved to the garden' but not both.,1,Either 'Lily is a rhino' or 'John moved to the garden' but not both. Chances are about even that Jeff moved to the garden. We believe that Yann is tired. It is impossible that Sandra dropped the apple.,Chances are about even that either 'Jeff moved to the garden' 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.5::factA. 0.75::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.27445489097819564,train,about even,highly unlikely,Chances are about even that either 'Jeff moved to the garden' or 'Sandra dropped the apple' but not both.,It is highly unlikely that either 'Jeff moved to the garden' or 'Sandra dropped the apple' but not both.,1,Either 'Jeff moved to the garden' or 'Sandra dropped the apple' but not both. It is improbable that Sandra left the milk. It is probably not the case that Lily is white. There is little chance that John went to the hallway.,There is almost no chance that 'Sandra 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.1::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.21024204840968194,train,almost no chance,about even,There is almost no chance that 'Sandra left the milk and Lily is white'.,Chances are about even that 'Sandra left the milk and Lily is white'.,1,'Sandra left the milk and Lily is white'. Chances are about even that John left the milk. It is highly unlikely that Brian is a swan. It is likely that Jeff dropped the apple.,It is probably the case that 'Brian is a swan' 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.5::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.715,0.42468493698739745,train,probably,unlikely,It is probably the case that 'Brian is a swan' or 'Jeff dropped the apple' or both.,It is unlikely that 'Brian is a swan' or 'Jeff dropped the apple' or both.,1,'Brian is a swan' or 'Jeff dropped the apple' or both. It is improbable that John went to the kitchen. There is a very good chance that Greg is a frog. It is likely that Jessica is a sheep.,We believe that either 'Greg 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.1::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.35247049409881975,train,we believe,chances are slight,We believe that either 'Greg is a frog' or 'John went to the kitchen' but not both.,Chances are slight that either 'Greg is a frog' or 'John went to the kitchen' but not both.,1,Either 'Greg is a frog' or 'John went to the kitchen' but not both. We doubt that Mary moved to the office. It is probably not the case that Julius is gray. There is almost no chance that Greg is a frog.,It is almost certain that either 'Julius is gray' 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.25::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.35000000000000003,0.05721144228845769,train,probably not,almost certain,It is probably not the case that either 'Julius is gray' or 'Mary moved to the office' but not both.,It is almost certain that either 'Julius is gray' or 'Mary moved to the office' but not both.,0,Either 'Julius is gray' or 'Mary moved to the office' but not both. It is probable that Lily is a frog. There is a very good chance that Greg is a frog. It is highly likely that Sandra put down the milk.,It is almost certain that 'Lily is a frog' 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.7::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.4436887377475495,train,almost certain,little chance,It is almost certain that 'Lily is a frog' or 'Sandra put down the milk' or both.,There is little chance that 'Lily is a frog' or 'Sandra put down the milk' or both.,1,'Lily is a frog' or 'Sandra put down the milk' or both. We doubt that Fred left the football. It is probably the case that Bill went to the garden. It is probably the case that Jessica is a cat.,There is a better than even chance that either 'Fred left the football' 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.2::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.6883376675335067,train,better than even,almost no chance,There is a better than even chance that either 'Fred left the football' or 'Bill went to the garden' but not both.,There is almost no chance that either 'Fred left the football' or 'Bill went to the garden' but not both.,1,Either 'Fred left the football' or 'Bill went to the garden' but not both. It is probable that Greg is white. It is certain that Lily is a frog. It is improbable that Jeff went to the garden.,It is probably not the case that either 'Lily is a frog' or 'Greg is white' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.395879175835167,train,probably not,we believe,It is probably not the case that either 'Lily is a frog' or 'Greg is white' but not both.,We believe that either 'Lily is a frog' or 'Greg is white' but not both.,1,Either 'Lily is a frog' or 'Greg is white' but not both. It is certain that Greg is gray. Chances are slight that Lily is a swan. There is almost no chance that Mary left the football.,There is a very good chance that 'Greg is gray 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.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02,0.05901180236047209,train,almost no chance,very good chance,There is almost no chance that 'Greg is gray and Mary left the football'.,There is a very good chance that 'Greg is gray and Mary left the football'.,0,'Greg is gray and Mary left the football'. We believe that Lily is a rhino. It is likely that Brian is green. It is certain that Julius is a frog.,Chances are about even 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.75::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.17403480696139229,train,about even,highly unlikely,Chances are about even that either 'Lily is a rhino' or 'Brian is green' but not both.,It is highly unlikely 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. There is little chance that Mary picked up the milk. It is highly likely that Greg is a frog. There is almost no chance that Brian is a lion.,It is impossible that 'Mary picked up 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.9::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.667133426685337,train,impossible,about even,It is impossible that 'Mary picked up the milk and Brian is a lion'.,Chances are about even that 'Mary picked up the milk and Brian is a lion'.,1,'Mary picked up the milk and Brian is a lion'. It is probably the case that Mary went to the garden. It is highly likely that Brian is a frog. There is a very good chance that Sandra took the football.,It is probable that either 'Sandra took the football' 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.9::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.25999999999999995,0.08321664332866574,train,probably not,probable,It is probably not the case that either 'Sandra took the football' or 'Brian is a frog' but not both.,It is probable that either 'Sandra took the football' or 'Brian is a frog' but not both.,0,Either 'Sandra took the football' or 'Brian is a frog' but not both. We believe that Lily is a rhino. It is probably the case that John left the football. We doubt that Greg is yellow.,There is almost no chance that 'Lily 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.75::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.925,0.08481696339267854,train,almost certain,almost no chance,It is almost certain that 'Lily is a rhino' or 'John left the football' or both.,There is almost no chance that 'Lily is a rhino' or 'John left the football' or both.,0,'Lily is a rhino' or 'John left the football' or both. It is probable that Sandra dropped the apple. It is improbable that Brian is a swan. We believe that Julius is a frog.,It is almost certain that 'Julius is a frog' or 'Sandra dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.003200640128025605,train,almost certain,unlikely,It is almost certain that 'Julius is a frog' or 'Sandra dropped the apple' or both.,It is unlikely that 'Julius is a frog' or 'Sandra dropped the apple' or both.,1,'Julius is a frog' or 'Sandra dropped the apple' or both. It is probably not the case that Bernhard is a rhino. It is unlikely that John got the apple. It is unlikely that Jeff went to the hallway.,It is certain that 'Bernhard is a rhino 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.25::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.05021004200840168,train,highly unlikely,certain,It is highly unlikely that 'Bernhard is a rhino and Jeff went to the hallway'.,It is certain that 'Bernhard is a rhino and Jeff went to the hallway'.,0,'Bernhard is a rhino and Jeff went to the hallway'. It is probably the case that Greg is green. We believe that Mary is in the bathroom. It is probably not the case that John moved to the garden.,There is a very good chance that 'Greg 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.7::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.5595119023804761,train,very good chance,improbable,There is a very good chance that 'Greg is green' or 'John moved to the garden' or both.,It is improbable that 'Greg is green' or 'John moved to the garden' or both.,1,'Greg is green' or 'John moved to the garden' or both. It is impossible that Julius is yellow. It is likely that Bernhard is green. Chances are about even that John dropped the milk.,We believe that 'John dropped 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.0::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.4950990198039608,train,probably not,we believe,It is probably not the case that 'John dropped the milk and Bernhard is green'.,We believe that 'John dropped the milk and Bernhard is green'.,0,'John dropped the milk and Bernhard is green'. Chances are slight that Bernhard is gray. It is impossible that Julius is a swan. It is highly likely that Emily is a cat.,There is little chance that 'Julius 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.1::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9,0.6273254650930186,train,highly likely,little chance,It is highly likely that 'Julius is a swan' or 'Emily is a cat' or both.,There is little chance that 'Julius is a swan' or 'Emily is a cat' or both.,0,'Julius is a swan' or 'Emily is a cat' or both. It is probably the case that Bernhard is a rhino. It is likely that Mary left the football. It is improbable that John got the milk.,There is little chance 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.3902780556111222,train,probably,little chance,It is probably the case that either 'John got the milk' or 'Bernhard is a rhino' but not both.,There is little chance 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. Chances are slight that Gertrude is a wolf. It is impossible that John put down the apple. We believe that Brian is a frog.,We believe that 'Gertrude 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.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.16063212642528507,train,we believe,unlikely,We believe that 'Gertrude is a wolf' or 'Brian is a frog' or both.,It is unlikely that 'Gertrude is a wolf' or 'Brian is a frog' or both.,1,'Gertrude is a wolf' or 'Brian is a frog' or both. It is probably not the case that Mary left the apple. We doubt that Julius is a swan. It is almost certain that Gertrude is a mouse.,It is certain that either 'Mary left the apple' or 'Julius is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.35000000000000003,0.09541908381676335,train,probably not,certain,It is probably not the case that either 'Mary left the apple' or 'Julius is a swan' but not both.,It is certain that either 'Mary left the apple' or 'Julius is a swan' but not both.,0,Either 'Mary left the apple' or 'Julius is a swan' but not both. There is little chance that Jessica is a cat. We believe that Brian is a rhino. It is impossible that Sandra grabbed the apple.,We believe that 'Jessica is a cat' 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. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.2988597719543909,train,we believe,impossible,We believe that 'Jessica is a cat' or 'Brian is a rhino' or both.,It is impossible that 'Jessica is a cat' or 'Brian is a rhino' or both.,1,'Jessica is a cat' or 'Brian is a rhino' or both. We believe that Bernhard is yellow. It is almost certain that John left the football. It is highly likely that Brian is a rhino.,It is likely that 'John left the football 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.95::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7125,0.7859571914382877,train,likely,chances are slight,It is likely that 'John left the football and Bernhard is yellow'.,Chances are slight that 'John left the football and Bernhard is yellow'.,1,'John left the football and Bernhard is yellow'. It is likely that Mary went to the garden. It is certain that Emily is a sheep. There is a better than even chance that Gertrude is a cat.,It is probable that 'Mary went to the garden 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. 1.0::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.34386877375475094,train,probable,almost no chance,It is probable that 'Mary went to the garden and Emily is a sheep'.,There is almost no chance that 'Mary went to the garden and Emily is a sheep'.,1,'Mary went to the garden and Emily is a sheep'. It is improbable that Julius is white. We doubt that Winona is a sheep. It is unlikely that Lily is a rhino.,It is probably not the case 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.3114622924584917,train,probably not,very good chance,It is probably not the case that 'Julius is white' or 'Lily is a rhino' or both.,There is a very good chance that 'Julius is white' or 'Lily is a rhino' or both.,1,'Julius is white' or 'Lily is a rhino' or both. It is certain that Bernhard is a rhino. There is a very good chance that John went to the bedroom. It is highly likely that Emily is a cat.,It is probably not the case that 'Bernhard is a rhino 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 1.0::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.9,0.7671534306861373,train,highly likely,probably not,It is highly likely that 'Bernhard is a rhino and Emily is a cat'.,It is probably not the case that 'Bernhard is a rhino and Emily is a cat'.,0,'Bernhard is a rhino and Emily is a cat'. There is a better than even chance that Bernhard is a lion. It is certain that Emily is a wolf. We believe that Daniel got the milk.,It is certain that 'Bernhard 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.6::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.1314262852570514,train,certain,highly unlikely,It is certain that 'Bernhard is a lion' or 'Emily is a wolf' or both.,It is highly unlikely that 'Bernhard is a lion' or 'Emily is a wolf' or both.,1,'Bernhard is a lion' or 'Emily is a wolf' or both. It is almost certain that Jeff moved to the garden. It is unlikely that Julius is yellow. There is little chance that John put down the milk.,It is highly likely that 'Julius is yellow 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.95::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.19,0.6689337867573515,train,we doubt,highly likely,We doubt that 'Julius is yellow and Jeff moved to the garden'.,It is highly likely that 'Julius is yellow and Jeff moved to the garden'.,0,'Julius is yellow and Jeff moved to the garden'. We believe that Julius is a swan. It is highly likely that John put down the apple. It is highly unlikely that Bill moved to the office.,It is highly likely that either 'Bill moved to the office' 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.9::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.86,0.4344868973794759,train,highly likely,little chance,It is highly likely that either 'Bill moved to the office' or 'John put down the apple' but not both.,There is little chance that either 'Bill moved to the office' or 'John put down the apple' but not both.,1,Either 'Bill moved to the office' or 'John put down the apple' but not both. There is a very good chance that Julius is gray. Chances are slight that Mary dropped the apple. There is little chance that Bernhard is a swan.,We doubt that either 'Mary 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.8::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.3986797359471894,train,we doubt,almost certain,We doubt that either 'Mary dropped the apple' or 'Bernhard is a swan' but not both.,It is almost certain that either 'Mary dropped the apple' or 'Bernhard is a swan' but not both.,1,Either 'Mary dropped the apple' or 'Bernhard is a swan' but not both. It is almost certain that Emily is a mouse. There is a very good chance that John took the apple. There is a better than even chance that Brian is white.,There is little chance 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.95::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.57,0.540508101620324,train,better than even,little chance,There is a better than even chance that 'Brian is white and Emily is a mouse'.,There is little chance that 'Brian is white and Emily is a mouse'.,0,'Brian is white and Emily is a mouse'. It is probably the case that John dropped the apple. It is probably not the case that Mary went to the garden. We believe that Lily is a frog.,It is unlikely 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.7::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.175,0.42388477695539106,train,unlikely,we believe,It is unlikely that 'Mary went to the garden and John dropped the apple'.,We believe that 'Mary went to the garden and John dropped the apple'.,1,'Mary went to the garden and John dropped the apple'. There is little chance that Greg is gray. It is likely that Sandra put down the milk. There is a very good chance that Bernhard is yellow.,It is probable that either 'Sandra put down the milk' 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.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.7653530706141228,train,probable,little chance,It is probable that either 'Sandra put down the milk' or 'Greg is gray' but not both.,There is little chance that either 'Sandra put down the milk' or 'Greg is gray' but not both.,1,Either 'Sandra put down the milk' or 'Greg is gray' but not both. It is probably not the case that Sandra dropped the milk. There is a very good chance that Greg is white. There is a very good chance that Bernhard is yellow.,It is probably not the case that either 'Greg is white' 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.8::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.7161432286457291,train,probable,probably not,It is probable that either 'Greg is white' or 'Sandra dropped the milk' but not both.,It is probably not the case that either 'Greg is white' or 'Sandra dropped the milk' but not both.,0,Either 'Greg is white' or 'Sandra dropped the milk' but not both. There is almost no chance that John discarded the milk. It is probably the case that Greg is a lion. It is probably the case that Brian is green.,There is almost no chance that 'Brian is green 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.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.07601520304060812,train,about even,almost no chance,Chances are about even that 'Brian is green and Greg is a lion'.,There is almost no chance that 'Brian is green and Greg is a lion'.,0,'Brian is green and Greg is a lion'. There is a very good chance that Mary is in the hallway. It is almost certain that Winona is a mouse. It is certain that Bernhard is yellow.,There is little chance that 'Bernhard 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.8::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.95,0.13622724544908982,train,almost certain,little chance,It is almost certain that 'Bernhard is yellow and Winona is a mouse'.,There is little chance that 'Bernhard is yellow and Winona is a mouse'.,0,'Bernhard is yellow and Winona is a mouse'. It is likely that Jessica is a cat. It is certain that Bernhard is a frog. There is little chance that Mary dropped the milk.,It is certain that 'Jessica 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.7::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.7443488697739548,train,certain,chances are slight,It is certain that 'Jessica is a cat' or 'Bernhard is a frog' or both.,Chances are slight that 'Jessica is a cat' or 'Bernhard is a frog' or both.,1,'Jessica is a cat' or 'Bernhard is a frog' or both. It is certain that Mary went to the hallway. Chances are slight that John put down the milk. It is impossible that Bernhard is a swan.,It is impossible that 'John put down 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 1.0::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.6655331066213243,train,impossible,almost certain,It is impossible that 'John put down the milk and Bernhard is a swan'.,It is almost certain that 'John put down the milk and Bernhard is a swan'.,1,'John put down the milk and Bernhard is a swan'. There is almost no chance that Bernhard is white. It is probably the case that Sandra got the milk. It is highly unlikely that John moved to the garden.,It is likely that 'Bernhard 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.02::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0010000000000000002,0.0614122824564913,train,impossible,likely,It is impossible that 'Bernhard is white and John moved to the garden'.,It is likely that 'Bernhard is white and John moved to the garden'.,0,'Bernhard is white and John moved to the garden'. It is unlikely that Jeff went to the garden. It is likely that Winona is a mouse. It is probably the case that Bernhard is a rhino.,There is a better than even chance that either 'Jeff 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.2::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.16563312662532506,train,better than even,almost no chance,There is a better than even chance that either 'Jeff went to the garden' or 'Bernhard is a rhino' but not both.,There is almost no chance that either 'Jeff went to the garden' or 'Bernhard is a rhino' but not both.,1,Either 'Jeff went to the garden' or 'Bernhard is a rhino' but not both. It is highly unlikely that Greg is gray. It is unlikely that Gertrude is a cat. Chances are slight that John went to the garden.,It is probably not the case that either 'Gertrude 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.05::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.6665333066613323,train,probably not,we believe,It is probably not the case that either 'Gertrude is a cat' or 'Greg is gray' but not both.,We believe that either 'Gertrude is a cat' or 'Greg is gray' but not both.,1,Either 'Gertrude is a cat' or 'Greg is gray' but not both. There is a better than even chance that Lily is a frog. It is unlikely that Julius is white. There is a very good chance that Bernhard is a lion.,It is probably the case that either 'Bernhard is a lion' 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.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.68,0.14442888577715543,train,probably,chances are slight,It is probably the case that either 'Bernhard is a lion' or 'Julius is white' but not both.,Chances are slight that either 'Bernhard is a lion' or 'Julius is white' but not both.,1,Either 'Bernhard is a lion' or 'Julius is white' but not both. Chances are about even that Bernhard is a rhino. There is almost no chance that John went to the office. We believe that Jeff discarded the milk.,We believe that 'Jeff discarded 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.5::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.755,0.43148629725945187,train,we believe,unlikely,We believe that 'Jeff discarded the milk' or 'John went to the office' or both.,It is unlikely that 'Jeff discarded the milk' or 'John went to the office' or both.,1,'Jeff discarded the milk' or 'John went to the office' or both. It is impossible that Brian is a swan. Chances are slight that Greg is gray. It is impossible that John took the apple.,It is almost certain that 'John took the apple' 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.0::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.0,0.6285257051410282,train,impossible,almost certain,It is impossible that 'John took the apple' or 'Brian is a swan' or both.,It is almost certain that 'John took the apple' or 'Brian is a swan' or both.,0,'John took the apple' or 'Brian is a swan' or both. It is likely that Brian is a rhino. It is almost certain that Julius is gray. It is probable that John moved to the office.,We doubt that 'Brian 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.985,0.3046609321864373,train,certain,we doubt,It is certain that 'Brian is a rhino' or 'Julius is gray' or both.,We doubt that 'Brian is a rhino' or 'Julius is gray' or both.,0,'Brian is a rhino' or 'Julius is gray' or both. It is highly likely that Sandra dropped the apple. It is improbable that Greg is a frog. It is probably the case that John moved to the office.,It is impossible that 'John moved 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.63,0.14002800560112022,train,better than even,impossible,There is a better than even chance that 'John moved to the office and Sandra dropped the apple'.,It is impossible that 'John moved to the office and Sandra dropped the apple'.,0,'John moved to the office and Sandra dropped the apple'. It is unlikely that Brian is a rhino. It is probable that Jeff moved to the garden. It is almost certain that Gertrude is a sheep.,We doubt that 'Gertrude is a sheep 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.2::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.19,0.20724144828965793,train,we doubt,likely,We doubt that 'Gertrude is a sheep and Brian is a rhino'.,It is likely that 'Gertrude is a sheep and Brian is a rhino'.,1,'Gertrude is a sheep and Brian is a rhino'. We believe that Bernhard is a frog. There is almost no chance that Sandra left the milk. It is probably the case that Winona is a cat.,It is certain that either 'Bernhard 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.75::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.10042008401680336,train,about even,certain,Chances are about even that either 'Bernhard is a frog' or 'Winona is a cat' but not both.,It is certain that either 'Bernhard is a frog' or 'Winona is a cat' but not both.,0,Either 'Bernhard is a frog' or 'Winona is a cat' but not both. It is almost certain that Brian is white. It is probably the case that Mary went to the kitchen. It is unlikely that Lily is yellow.,It is certain that 'Mary went to the kitchen' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.5099019803960793,train,certain,highly unlikely,It is certain that 'Mary went to the kitchen' or 'Brian is white' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Brian is white' or both.,1,'Mary went to the kitchen' or 'Brian is white' or both. It is improbable that Mary discarded the apple. We believe that Lily is a swan. Chances are slight that John moved to the garden.,It is probably the case that either 'John moved 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.1::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.7977595519103821,train,probably,chances are slight,It is probably the case that either 'John moved to the garden' or 'Lily is a swan' but not both.,Chances are slight that either 'John moved to the garden' or 'Lily is a swan' but not both.,1,Either 'John moved to the garden' or 'Lily is a swan' but not both. It is almost certain that Mary left the football. Chances are slight that John discarded the apple. There is little chance that Gertrude is a cat.,There is little chance that 'Gertrude is a cat 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.95::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.5763152630526105,train,little chance,better than even,There is little chance that 'Gertrude is a cat and Mary left the football'.,There is a better than even chance that 'Gertrude is a cat and Mary left the football'.,1,'Gertrude is a cat and Mary left the football'. It is probable that John moved to the office. Chances are slight that Brian is a swan. There is little chance that Mary dropped the apple.,It is improbable that either 'John moved to the office' 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.10002000400080016,train,probable,improbable,It is probable that either 'John moved to the office' or 'Mary dropped the apple' but not both.,It is improbable that either 'John moved to the office' or 'Mary dropped the apple' but not both.,0,Either 'John moved to the office' or 'Mary dropped the apple' but not both. There is almost no chance that John moved to the office. It is certain that Greg is a swan. It is highly unlikely that Jessica is a cat.,It is almost certain 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.02::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.22544508901780355,train,almost certain,about even,It is almost certain that either 'Jessica is a cat' or 'Greg is a swan' but not both.,Chances are about even that either 'Jessica is a cat' or 'Greg is a swan' but not both.,1,Either 'Jessica is a cat' or 'Greg is a swan' but not both. It is probably the case that Bernhard is a frog. There is almost no chance that Jessica is a cat. It is probably not the case that Sandra took the football.,We believe that 'Bernhard is a frog' 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.7::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.775,0.16763352670534107,train,we believe,chances are slight,We believe that 'Bernhard is a frog' or 'Sandra took the football' or both.,Chances are slight that 'Bernhard is a frog' or 'Sandra took the football' or both.,1,'Bernhard is a frog' or 'Sandra took the football' or both. It is probably the case that Lily is a rhino. It is highly unlikely that Sandra took the milk. Chances are about even that Mary moved to the garden.,It is probably not the case that 'Mary 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.7::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.3499999999999999,0.016603320664132826,train,probably not,highly likely,It is probably not the case that 'Mary moved to the garden and Lily is a rhino'.,It is highly likely that 'Mary moved to the garden and Lily is a rhino'.,1,'Mary moved to the garden and Lily is a rhino'. We believe that Brian is a swan. It is highly likely that Greg is a lion. It is likely that John went to the garden.,It is almost certain that 'John went to the garden' 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.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.28285657131426284,train,almost certain,highly unlikely,It is almost certain that 'John went to the garden' or 'Brian is a swan' or both.,It is highly unlikely that 'John went to the garden' or 'Brian is a swan' or both.,1,'John went to the garden' or 'Brian is a swan' or both. It is improbable that Mary moved to the garden. It is likely that Bernhard is yellow. It is likely that Lily is a lion.,We believe that 'Lily is a lion' 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.3910782156431286,train,we believe,we doubt,We believe that 'Lily is a lion' or 'Mary moved to the garden' or both.,We doubt that 'Lily is a lion' or 'Mary moved to the garden' or both.,1,'Lily is a lion' or 'Mary moved to the garden' or both. It is unlikely that John went to the garden. We believe that Mary put down the milk. It is likely that Greg is a frog.,It is probably the case that either 'John went to the garden' 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.2::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.65,0.0008001600320064013,train,probably,unlikely,It is probably the case that either 'John went to the garden' or 'Mary put down the milk' but not both.,It is unlikely that either 'John went to the garden' or 'Mary put down the milk' but not both.,1,Either 'John went to the garden' or 'Mary put down the milk' but not both. We doubt that Lily is a frog. It is highly unlikely that Jeff moved to the office. It is almost certain that Bernhard is a lion.,It is almost certain that 'Lily is a frog' 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. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.96,0.3666733346669334,train,almost certain,chances are slight,It is almost certain that 'Lily is a frog' or 'Bernhard is a lion' or both.,Chances are slight that 'Lily is a frog' or 'Bernhard is a lion' or both.,1,'Lily is a frog' or 'Bernhard is a lion' or both. It is probably not the case that Mary dropped the apple. It is certain that Greg is yellow. There is almost no chance that John put down the milk.,Chances are slight that 'Greg is yellow' 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.25::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.0664132826565313,train,certain,chances are slight,It is certain that 'Greg is yellow' or 'Mary dropped the apple' or both.,Chances are slight that 'Greg is yellow' or 'Mary dropped the apple' or both.,0,'Greg is yellow' or 'Mary dropped the apple' or both. Chances are slight that Mary went to the garden. There is almost no chance that Daniel dropped the apple. There is almost no chance that Lily is a swan.,Chances are slight that either 'Daniel dropped 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.1::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.116,0.24384876975395078,train,chances are slight,very good chance,Chances are slight that either 'Daniel dropped the apple' or 'Mary went to the garden' but not both.,There is a very good chance that either 'Daniel dropped the apple' or 'Mary went to the garden' but not both.,1,Either 'Daniel dropped the apple' or 'Mary went to the garden' but not both. There is a very good chance that Mary got the milk. It is highly likely that Greg is gray. It is impossible that Lily is a lion.,It is improbable that 'Lily is a lion' 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.8::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8,0.03600720144028806,train,very good chance,improbable,There is a very good chance that 'Lily is a lion' or 'Mary got the milk' or both.,It is improbable that 'Lily is a lion' or 'Mary got the milk' or both.,0,'Lily is a lion' or 'Mary got the milk' or both. It is improbable that Lily is a rhino. It is highly likely that Bernhard is green. It is probably the case that Julius is a frog.,It is improbable that 'Bernhard 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.1::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.03580716143228646,train,improbable,probably,It is improbable that 'Bernhard is green and Lily is a rhino'.,It is probably the case that 'Bernhard is green and Lily is a rhino'.,1,'Bernhard is green and Lily is a rhino'. It is certain that Bill went to the kitchen. It is unlikely that John discarded the apple. There is a very good chance that Bernhard is gray.,We doubt that 'Bernhard is gray 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 1.0::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.16000000000000003,0.13582716543308662,train,we doubt,very good chance,We doubt that 'Bernhard is gray and John discarded the apple'.,There is a very good chance that 'Bernhard is gray and John discarded the apple'.,1,'Bernhard is gray and John discarded the apple'. There is little chance that Bernhard is yellow. There is almost no chance that John dropped the milk. It is probably the case that Julius is a swan.,We believe that 'John 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 0.1::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.11800000000000002,0.2468493698739748,train,improbable,we believe,It is improbable that 'John dropped the milk' or 'Bernhard is yellow' or both.,We believe that 'John dropped the milk' or 'Bernhard is yellow' or both.,0,'John dropped the milk' or 'Bernhard is yellow' or both. We doubt that Greg is a frog. It is impossible that Mary dropped the milk. It is almost certain that Lily is a rhino.,It is impossible that 'Lily is a rhino' 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.0::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.95,0.6047209441888378,train,almost certain,impossible,It is almost certain that 'Lily is a rhino' or 'Mary dropped the milk' or both.,It is impossible that 'Lily is a rhino' or 'Mary dropped the milk' or both.,0,'Lily is a rhino' or 'Mary dropped the milk' or both. It is highly likely that Jason is tired. It is improbable that Bernhard is white. We doubt that Mary left the football.,It is certain that either 'Bernhard is white' or 'Mary left the football' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.3142628525705141,train,probably not,certain,It is probably not the case that either 'Bernhard is white' or 'Mary left the football' but not both.,It is certain that either 'Bernhard is white' or 'Mary left the football' but not both.,0,Either 'Bernhard is white' or 'Mary left the football' but not both. It is likely that Jeff left the apple. It is impossible that Mary went to the garden. It is probably not the case that Brian is a frog.,It is probable that 'Mary went to the garden' 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.7::factA. 0.0::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.009601920384076815,train,probable,unlikely,It is probable that 'Mary went to the garden' or 'Jeff left the apple' or both.,It is unlikely that 'Mary went to the garden' or 'Jeff left the apple' or both.,1,'Mary went to the garden' or 'Jeff left the apple' or both. There is almost no chance that John took the football. It is probable that Brian is a lion. It is likely that Winona is a mouse.,It is unlikely that either 'Winona 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.02::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.5113022604520904,train,probably,unlikely,It is probably the case that either 'Winona is a mouse' or 'John took the football' but not both.,It is unlikely that either 'Winona is a mouse' or 'John took the football' but not both.,0,Either 'Winona is a mouse' or 'John took the football' but not both. There is little chance that Brian is a lion. There is a very good chance that Bernhard is a frog. It is improbable that John went to the hallway.,It is unlikely 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.8::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.19000000000000006,0.15603120624124825,train,unlikely,we believe,It is unlikely that 'Brian is a lion' or 'John went to the hallway' or both.,We believe 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. There is a better than even chance that Julius is yellow. There is little chance that Mary picked up the apple. It is probable that Brian is white.,It is highly likely that 'Brian is white' 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.1::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.17063412682536508,train,highly likely,highly unlikely,It is highly likely that 'Brian is white' or 'Julius is yellow' or both.,It is highly unlikely that 'Brian is white' or 'Julius is yellow' or both.,1,'Brian is white' or 'Julius is yellow' or both. It is improbable that Julius is a swan. We doubt that Mary dropped the milk. It is unlikely that Daniel got the football.,It is probably not the case that either 'Julius is a swan' 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.2::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.6893378675735147,train,probably not,likely,It is probably not the case that either 'Julius is a swan' or 'Daniel got the football' but not both.,It is likely that either 'Julius is a swan' or 'Daniel got the football' but not both.,1,Either 'Julius is a swan' or 'Daniel got the football' but not both. There is almost no chance that Bill went to the office. It is highly unlikely that Jason is tired. It is probable that Gertrude is a sheep.,It is probably the case that either 'Gertrude 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.02::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6799999999999999,0.3770754150830166,train,probably,improbable,It is probably the case that either 'Gertrude is a sheep' or 'Jason is tired' but not both.,It is improbable that either 'Gertrude is a sheep' or 'Jason is tired' but not both.,1,Either 'Gertrude is a sheep' or 'Jason is tired' but not both. Chances are about even that Daniel took the apple. It is highly unlikely that Emily is a cat. We believe that Bernhard is a rhino.,Chances are about even that either 'Daniel 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.5::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.007001400280056011,train,about even,almost no chance,Chances are about even that either 'Daniel took the apple' or 'Bernhard is a rhino' but not both.,There is almost no chance that either 'Daniel took the apple' or 'Bernhard is a rhino' but not both.,1,Either 'Daniel took the apple' or 'Bernhard is a rhino' but not both. We believe that Mary went to the bedroom. There is a better than even chance that Greg is a rhino. It is probably the case that Brian is gray.,It is highly unlikely that either 'Brian 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.6::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.4148829765953191,train,about even,highly unlikely,Chances are about even that either 'Brian is gray' or 'Mary went to the bedroom' but not both.,It is highly unlikely that either 'Brian is gray' or 'Mary went to the bedroom' but not both.,0,Either 'Brian is gray' or 'Mary went to the bedroom' but not both. It is certain that John discarded the apple. It is improbable that Julius is white. It is unlikely that Brian is green.,It is probable 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 1.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.04280856171234247,train,probably not,probable,It is probably not the case that 'Brian is green' or 'Julius is white' or both.,It is probable that 'Brian is green' or 'Julius is white' or both.,0,'Brian is green' or 'Julius is white' or both. Chances are slight that Lily is white. It is almost certain that Sandra is in the kitchen. It is probably not the case that Bernhard is a lion.,It is probably not the case that 'Sandra is in the kitchen' or 'Lily is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.955,0.7329465893178636,train,almost certain,probably not,It is almost certain that 'Sandra is in the kitchen' or 'Lily is white' or both.,It is probably not the case that 'Sandra is in the kitchen' or 'Lily is white' or both.,0,'Sandra is in the kitchen' or 'Lily is white' or both. It is probable that Brian is yellow. There is a better than even chance that Greg is a swan. We doubt that Mary went to the bedroom.,It is improbable that either 'Greg is a swan' 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.6::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5599999999999999,0.5705141028205641,train,better than even,improbable,There is a better than even chance that either 'Greg is a swan' or 'Mary went to the bedroom' but not both.,It is improbable that either 'Greg is a swan' or 'Mary went to the bedroom' but not both.,0,Either 'Greg is a swan' or 'Mary went to the bedroom' but not both. There is a better than even chance that Lily is a rhino. It is probable that John dropped the apple. It is probably the case that Julius is a lion.,Chances are about even 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.6593318663732747,train,about even,almost no chance,Chances are about even that either 'John dropped the apple' or 'Lily is a rhino' but not both.,There is almost no chance that either 'John dropped the apple' or 'Lily is a rhino' but not both.,1,Either 'John dropped the apple' or 'Lily is a rhino' but not both. It is probably not the case that Gertrude is a mouse. It is unlikely that Bernhard is green. It is improbable that Mary took the football.,It is certain that 'Gertrude 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.25::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.49249849969994,train,probably not,certain,It is probably not the case that 'Gertrude is a mouse' or 'Mary took the football' or both.,It is certain that 'Gertrude is a mouse' or 'Mary took the football' or both.,0,'Gertrude is a mouse' or 'Mary took the football' or both. There is little chance that Brian is white. It is likely that John moved to the office. There is almost no chance that Bill went to the bedroom.,There is a very good chance that 'Bill went to the bedroom 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.1::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.48009601920384076,train,almost no chance,very good chance,There is almost no chance that 'Bill went to the bedroom and John moved to the office'.,There is a very good chance that 'Bill went to the bedroom and John moved to the office'.,0,'Bill went to the bedroom and John moved to the office'. It is almost certain that Greg is a frog. It is likely that John dropped the apple. It is unlikely that Mary left the football.,Chances are slight that 'John dropped the apple' or 'Mary left the football' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.08021604320864173,train,we believe,chances are slight,We believe that 'John dropped the apple' or 'Mary left the football' or both.,Chances are slight that 'John dropped the apple' or 'Mary left the football' or both.,0,'John dropped the apple' or 'Mary left the football' or both. It is probable that Bernhard is a swan. It is certain that Julius is yellow. It is almost certain that Brian is white.,We doubt that 'Bernhard 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.7::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.6649999999999999,0.3632726545309062,train,probably,we doubt,It is probably the case that 'Bernhard is a swan and Brian is white'.,We doubt that 'Bernhard is a swan and Brian is white'.,0,'Bernhard is a swan and Brian is white'. There is little chance that Lily is gray. It is impossible that Sandra put down the milk. It is almost certain that Mary discarded the milk.,It is almost certain that either 'Mary discarded the milk' 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.1::factA. 0.0::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.95,0.4284856971394279,train,almost certain,highly unlikely,It is almost certain that either 'Mary discarded the milk' or 'Sandra put down the milk' but not both.,It is highly unlikely that either 'Mary discarded the milk' or 'Sandra put down the milk' but not both.,1,Either 'Mary discarded the milk' or 'Sandra put down the milk' but not both. It is probably not the case that Jessica is a sheep. There is little chance that Mary left the football. We doubt that Lily is a swan.,It is probable that either 'Mary left the football' 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.25::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.26585317063412683,train,probably not,probable,It is probably not the case that either 'Mary left the football' or 'Jessica is a sheep' but not both.,It is probable that either 'Mary left the football' or 'Jessica is a sheep' but not both.,0,Either 'Mary left the football' or 'Jessica is a sheep' but not both. It is highly likely that Sandra took the football. It is probable that John picked up the milk. There is a better than even chance that Brian is gray.,It is almost certain that 'Brian 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.9::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.1950390078015603,train,almost certain,impossible,It is almost certain that 'Brian is gray' or 'Sandra took the football' or both.,It is impossible that 'Brian is gray' or 'Sandra took the football' or both.,1,'Brian is gray' or 'Sandra took the football' or both. It is highly unlikely that John dropped the apple. It is likely that Julius is white. It is certain that Greg is yellow.,It is certain that 'Julius 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.05::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.6077215443088618,train,certain,highly unlikely,It is certain that 'Julius is white' or 'Greg is yellow' or both.,It is highly unlikely that 'Julius is white' or 'Greg is yellow' or both.,1,'Julius is white' or 'Greg is yellow' or both. It is probably the case that John went to the bedroom. There is a better than even chance that Fred moved to the office. It is certain that Julius is green.,Chances are about even that either 'Julius is green' 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.6::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.6873374674934987,train,about even,certain,Chances are about even that either 'Julius is green' or 'Fred moved to the office' but not both.,It is certain that either 'Julius is green' or 'Fred moved to the office' but not both.,1,Either 'Julius is green' or 'Fred moved to the office' but not both. There is almost no chance that Julius is a lion. It is almost certain that Yann is bored. It is probably the case that Brian is yellow.,It is probably not the case that 'Yann is bored 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.95::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.6649999999999999,0.7325465093018604,train,probably,probably not,It is probably the case that 'Yann is bored and Brian is yellow'.,It is probably not the case that 'Yann is bored and Brian is yellow'.,0,'Yann is bored and Brian is yellow'. Chances are about even that Mary went to the hallway. It is likely that Julius is a lion. It is certain that Brian is a frog.,It is probably not the case that 'Mary went to the hallway 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.5::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.27925585117023405,train,probably not,likely,It is probably not the case that 'Mary went to the hallway and Julius is a lion'.,It is likely that 'Mary went to the hallway and Julius is a lion'.,1,'Mary went to the hallway and Julius is a lion'. There is a better than even chance that John got the apple. It is improbable that Brian is a rhino. It is improbable that Greg is green.,It is unlikely that either 'Greg 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.7737547509501901,train,unlikely,we believe,It is unlikely that either 'Greg is green' or 'Brian is a rhino' but not both.,We believe that either 'Greg is green' or 'Brian is a rhino' but not both.,1,Either 'Greg is green' or 'Brian is a rhino' but not both. It is improbable that Mary left the apple. It is probable that John moved to the office. There is a very good chance that Sandra got the football.,There is a very good chance that 'Sandra got the football' 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.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.5613122624524906,train,very good chance,impossible,There is a very good chance that 'Sandra got the football' or 'Mary left the apple' or both.,It is impossible that 'Sandra got the football' or 'Mary left the apple' or both.,1,'Sandra got the football' or 'Mary left the apple' or both. It is highly likely that Lily is a frog. There is almost no chance that Mary moved to the garden. There is a better than even chance that Greg is yellow.,It is highly likely 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.9::factA. 0.02::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.884,0.7995599119823965,train,highly likely,we doubt,It is highly likely that either 'Lily is a frog' or 'Mary moved to the garden' but not both.,We doubt 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 a very good chance that John went to the bedroom. There is a very good chance that Brian is yellow. It is probably not the case that Daniel took the football.,Chances are slight 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.8::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8500000000000001,0.3500700140028006,train,highly likely,chances are slight,It is highly likely that 'Daniel took the football' or 'John went to the bedroom' or both.,Chances are slight 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. Chances are slight that John discarded the apple. It is unlikely that Bernhard is gray. Chances are about even that Lily is a lion.,It is probably the case 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.1::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.5431086217243448,train,probably not,probably,It is probably not the case that either 'John discarded the apple' or 'Bernhard is gray' but not both.,It is probably the case 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. It is certain that Mary went to the office. It is improbable that Emily is a cat. We doubt that Sumit is tired.,It is unlikely that either 'Sumit is tired' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.6097219443888777,train,very good chance,unlikely,There is a very good chance that either 'Sumit is tired' or 'Mary went to the office' but not both.,It is unlikely that either 'Sumit is tired' or 'Mary went to the office' but not both.,0,Either 'Sumit is tired' or 'Mary went to the office' but not both. We doubt that Mary went to the bedroom. It is highly likely that Bernhard is yellow. There is a better than even chance that Brian is yellow.,Chances are about even that 'Brian is yellow 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.9::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5399999999999999,0.4478895779155831,train,about even,almost no chance,Chances are about even that 'Brian is yellow and Bernhard is yellow'.,There is almost no chance that 'Brian is yellow and Bernhard is yellow'.,1,'Brian is yellow and Bernhard is yellow'. Chances are about even that Bernhard is yellow. We doubt that John dropped the apple. It is probably not the case that Brian is green.,It is impossible 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.5::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.381876375275055,train,about even,impossible,Chances are about even that either 'Bernhard is yellow' or 'Brian is green' but not both.,It is impossible that either 'Bernhard is yellow' or 'Brian is green' but not both.,0,Either 'Bernhard is yellow' or 'Brian is green' but not both. It is probably the case that John put down the milk. It is probable that Mary went to the office. It is impossible that Brian is a swan.,It is highly unlikely that either 'Brian 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.7::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7,0.15663132626525306,train,probable,highly unlikely,It is probable that either 'Brian is a swan' or 'John put down the milk' but not both.,It is highly unlikely that either 'Brian is a swan' or 'John put down the milk' but not both.,0,Either 'Brian is a swan' or 'John put down the milk' but not both. There is a better than even chance that John took the apple. It is probably the case that Sandra got the milk. It is probably the case that Mary went to the hallway.,Chances are about even that either 'Sandra got 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.6439287857571514,train,about even,certain,Chances are about even that either 'Sandra got the milk' or 'John took the apple' but not both.,It is certain that either 'Sandra got the milk' or 'John took the apple' but not both.,1,Either 'Sandra got the milk' or 'John took the apple' but not both. It is almost certain that Mary got the football. It is likely that Bill went to the kitchen. Chances are about even that Jeff discarded the milk.,It is certain that 'Jeff discarded the milk' 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.95::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.975,0.13882776555311063,train,certain,about even,It is certain that 'Jeff discarded the milk' or 'Mary got the football' or both.,Chances are about even that 'Jeff discarded the milk' or 'Mary got the football' or both.,1,'Jeff discarded the milk' or 'Mary got the football' or both. Chances are about even that Julius is a swan. It is highly likely that Bernhard is yellow. There is little chance that Mary is in the hallway.,Chances are about even 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.5::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.45000000000000007,0.273254650930186,train,about even,certain,Chances are about even that 'Julius is a swan and Bernhard is yellow'.,It is certain that 'Julius is a swan and Bernhard is yellow'.,1,'Julius is a swan and Bernhard is yellow'. We doubt that Greg is yellow. It is probably not the case that Jeff moved to the office. We doubt that Gertrude is a wolf.,It is certain that 'Jeff moved to the office' 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.25::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4,0.6801360272054411,train,about even,certain,Chances are about even that 'Jeff moved to the office' or 'Greg is yellow' or both.,It is certain that 'Jeff moved to the office' or 'Greg is yellow' or both.,0,'Jeff moved to the office' or 'Greg is yellow' or both. There is almost no chance that Mary took the football. It is certain that Julius is a lion. It is probably the case that Bernhard is green.,It is probable that 'Bernhard 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.02::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.706,0.47589517903580714,train,probable,unlikely,It is probable that 'Bernhard is green' or 'Mary took the football' or both.,It is unlikely that 'Bernhard is green' or 'Mary took the football' or both.,1,'Bernhard is green' or 'Mary took the football' or both. We doubt that Julius is a rhino. It is probable that Sandra got the football. Chances are about even that Gertrude is a cat.,It is probably not the case that 'Sandra got the football 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.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.4460892178435687,train,probably not,probably,It is probably not the case that 'Sandra got the football and Gertrude is a cat'.,It is probably the case that 'Sandra got the football and Gertrude is a cat'.,1,'Sandra got the football and Gertrude is a cat'. Chances are slight that John took the football. There is a better than even chance that Lily is a rhino. There is a better than even chance that Bernhard is a lion.,There is a better than even chance that 'Lily 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.1::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.08541708341668333,train,better than even,little chance,There is a better than even chance that 'Lily is a rhino' or 'John took the football' or both.,There is little chance that 'Lily is a rhino' or 'John took the football' or both.,1,'Lily is a rhino' or 'John took the football' or both. We doubt that Greg is yellow. There is little chance that Lily is a frog. We doubt that Jessica is a mouse.,It is probably the case that 'Jessica 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.04000000000000001,0.4700940188037607,train,highly unlikely,probably,It is highly unlikely that 'Jessica is a mouse and Greg is yellow'.,It is probably the case that 'Jessica is a mouse and Greg is yellow'.,0,'Jessica is a mouse and Greg is yellow'. There is a better than even chance that Julius is gray. There is little chance that Daniel took the milk. It is highly unlikely that Brian is a rhino.,It is impossible that 'Brian is a rhino 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.6::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.005000000000000002,0.3710742148429686,train,impossible,likely,It is impossible that 'Brian is a rhino and Daniel took the milk'.,It is likely that 'Brian is a rhino and Daniel took the milk'.,1,'Brian is a rhino and Daniel took the milk'. It is impossible that Greg is green. We doubt that John went to the office. We believe that Mary took the football.,It is probably the case that either 'Greg is green' 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.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.2,0.7593518703740748,train,we doubt,probably,We doubt that either 'Greg is green' or 'John went to the office' but not both.,It is probably the case that either 'Greg is green' or 'John went to the office' but not both.,0,Either 'Greg is green' or 'John went to the office' but not both. It is impossible that Julius is white. It is highly likely that Bernhard is a swan. It is improbable that Mary moved to the garden.,There is a very good chance that either 'Bernhard is a swan' 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.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.34046809361872377,train,very good chance,improbable,There is a very good chance that either 'Bernhard is a swan' or 'Mary moved to the garden' but not both.,It is improbable that either 'Bernhard is a swan' or 'Mary moved to the garden' but not both.,1,Either 'Bernhard is a swan' or 'Mary moved to the garden' but not both. We believe that Greg is a lion. Chances are about even that Lily is gray. It is almost certain that Sandra dropped the milk.,It is unlikely that 'Greg is a lion' 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.75::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.875,0.6773354670934186,train,highly likely,unlikely,It is highly likely that 'Greg is a lion' or 'Lily is gray' or both.,It is unlikely that 'Greg is a lion' or 'Lily is gray' or both.,0,'Greg is a lion' or 'Lily is gray' or both. We doubt that John discarded the apple. It is probably not the case that Sumit is hungry. It is improbable that Emily is a wolf.,It is almost certain that 'Emily is a wolf' 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.25::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.5621124224844969,train,probably not,almost certain,It is probably not the case that 'Emily is a wolf' or 'John discarded the apple' or both.,It is almost certain that 'Emily is a wolf' or 'John discarded the apple' or both.,0,'Emily is a wolf' or 'John discarded the apple' or both. There is little chance that Greg is a rhino. It is unlikely that Julius is a lion. We believe that John went to the garden.,There is a very good chance that 'Julius is a lion' 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.2::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.14222844568913784,train,very good chance,highly unlikely,There is a very good chance that 'Julius is a lion' or 'John went to the garden' or both.,It is highly unlikely that 'Julius is a lion' or 'John went to the garden' or both.,1,'Julius is a lion' or 'John went to the garden' or both. It is improbable that Jeff left the apple. Chances are about even that Fred is in the cinema. It is almost certain that Brian is a lion.,It is improbable that 'Jeff left 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.1::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09500000000000001,0.015203040608121624,train,improbable,very good chance,It is improbable that 'Jeff left the apple and Brian is a lion'.,There is a very good chance that 'Jeff left the apple and Brian is a lion'.,1,'Jeff left the apple and Brian is a lion'. It is certain that John grabbed the apple. It is improbable that Lily is yellow. It is unlikely that Gertrude is a mouse.,It is probably not the case that either 'Gertrude is a mouse' 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.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.4384876975395079,train,probably not,probable,It is probably not the case that either 'Gertrude is a mouse' or 'Lily is yellow' but not both.,It is probable that either 'Gertrude is a mouse' or 'Lily is yellow' but not both.,1,Either 'Gertrude is a mouse' or 'Lily is yellow' but not both. It is almost certain that Emily is a wolf. It is highly unlikely that Julius is a swan. It is unlikely that Mary took the milk.,It is probably not the case that 'Mary took the milk' 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.95::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.13682736547309463,train,almost certain,probably not,It is almost certain that 'Mary took the milk' or 'Emily is a wolf' or both.,It is probably not the case that 'Mary took the milk' or 'Emily is a wolf' or both.,0,'Mary took the milk' or 'Emily is a wolf' or both. Chances are about even that Julius is yellow. It is highly unlikely that Lily is a lion. It is probably not the case that John took the apple.,Chances are about even that either 'Julius 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.5::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.6425285057011403,train,about even,almost no chance,Chances are about even that either 'Julius is yellow' or 'Lily is a lion' but not both.,There is almost no chance that either 'Julius is yellow' or 'Lily is a lion' but not both.,1,Either 'Julius is yellow' or 'Lily is a lion' but not both. There is a very good chance that John moved to the office. It is certain that Julius is a rhino. There is almost no chance that Greg is white.,It is improbable that 'John moved to the office 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.8,0.785757151430286,train,very good chance,improbable,There is a very good chance that 'John moved to the office and Julius is a rhino'.,It is improbable that 'John moved to the office and Julius is a rhino'.,0,'John moved to the office and Julius is a rhino'. There is a better than even chance that Greg is white. It is certain that John went to the office. It is probable that Lily is a frog.,It is highly likely that 'Lily is a frog' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.354870974194839,train,highly likely,almost no chance,It is highly likely that 'Lily is a frog' or 'Greg is white' or both.,There is almost no chance that 'Lily is a frog' or 'Greg is white' or both.,1,'Lily is a frog' or 'Greg is white' or both. It is certain that Mary left the football. It is improbable that Brian is white. We doubt that Julius is yellow.,Chances are about even that 'Brian is white' 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 1.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.2628525705141028,train,certain,about even,It is certain that 'Brian is white' or 'Mary left the football' or both.,Chances are about even that 'Brian is white' or 'Mary left the football' or both.,0,'Brian is white' or 'Mary left the football' or both. Chances are about even that Winona is a wolf. It is probable that Sandra took the milk. It is likely that Lily is gray.,Chances are about even that either 'Winona is a wolf' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.49999999999999994,0.1856371274254851,train,about even,certain,Chances are about even that either 'Winona is a wolf' or 'Lily is gray' but not both.,It is certain that either 'Winona is a wolf' or 'Lily is gray' but not both.,1,Either 'Winona is a wolf' or 'Lily is gray' but not both. It is likely that Mary went to the garden. It is almost certain that John picked up the milk. We believe that Greg is yellow.,It is probably not the case that either 'Greg is yellow' 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.7::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.275,0.6123224644928986,train,probably not,certain,It is probably not the case that either 'Greg is yellow' or 'John picked up the milk' but not both.,It is certain that either 'Greg is yellow' or 'John picked up the milk' but not both.,1,Either 'Greg is yellow' or 'John picked up the milk' but not both. It is likely that Brian is a frog. It is probably not the case that Mary went 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 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.25::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.3702740548109622,train,very good chance,probably not,There is a very good chance that 'Mary went to the garden' or 'Brian is a frog' or both.,It is probably not the case that 'Mary went to the garden' or 'Brian is a frog' or both.,0,'Mary went to the garden' or 'Brian is a frog' or both. It is unlikely that Brian is yellow. It is highly unlikely that Bernhard is gray. It is unlikely that John went to the hallway.,It is highly unlikely 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.2::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.04000000000000001,0.499499899979996,train,highly unlikely,probable,It is highly unlikely that 'Brian is yellow and John went to the hallway'.,It is probable that 'Brian is yellow and John went to the hallway'.,1,'Brian is yellow and John went to the hallway'. There is a better than even chance that Sandra got the football. It is improbable that Brian is a frog. It is probable that Julius is white.,We doubt that either 'Brian is a frog' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.586117223444689,train,likely,we doubt,It is likely that either 'Brian is a frog' or 'Julius is white' but not both.,We doubt that either 'Brian is a frog' or 'Julius is white' but not both.,0,Either 'Brian is a frog' or 'Julius is white' but not both. It is probably the case that Lily is a rhino. Chances are slight that Brian is white. It is improbable that John put down the milk.,It is unlikely that either 'Lily is a rhino' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.119623924784957,train,probable,unlikely,It is probable that either 'Lily is a rhino' or 'John put down the milk' but not both.,It is unlikely that either 'Lily is a rhino' or 'John put down the milk' but not both.,0,Either 'Lily is a rhino' or 'John put down the milk' but not both. It is likely that Sumit is thirsty. There is little chance that Mary got the apple. We believe that Brian is a rhino.,It is probably not 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.7::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.925,0.7455491098219644,train,almost certain,probably not,It is almost certain that 'Sumit is thirsty' or 'Brian is a rhino' or both.,It is probably not the case that 'Sumit is thirsty' or 'Brian is a rhino' or both.,0,'Sumit is thirsty' or 'Brian is a rhino' or both. Chances are about even that Brian is a lion. It is impossible that Bernhard is a swan. There is a very good chance that John went to the garden.,It is probably the case 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.5::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.07461492298459692,train,impossible,probably,It is impossible that 'Brian is a lion and Bernhard is a swan'.,It is probably the case that 'Brian is a lion and Bernhard is a swan'.,0,'Brian is a lion and Bernhard is a swan'. There is a better than even chance that Greg is yellow. It is probably the case that John left the football. Chances are about even that Antoine is thirsty.,It is impossible that 'Greg is yellow 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.6::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.41999999999999993,0.5253050610122024,train,about even,impossible,Chances are about even that 'Greg is yellow and John left the football'.,It is impossible that 'Greg is yellow and John left the football'.,0,'Greg is yellow and John left the football'. It is improbable that Bernhard is a frog. It is improbable that Greg is yellow. It is impossible that John dropped the apple.,There is a better than even chance that 'John dropped 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.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.6803360672134426,train,impossible,better than even,It is impossible that 'John dropped the apple and Bernhard is a frog'.,There is a better than even chance that 'John dropped the apple and Bernhard is a frog'.,0,'John dropped the apple and Bernhard is a frog'. There is little chance that John dropped the milk. It is certain that Mary got the milk. It is likely that Sandra left the apple.,It is highly likely that either 'John dropped the milk' 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.1::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.46129225845169036,train,highly likely,highly unlikely,It is highly likely that either 'John dropped the milk' or 'Mary got the milk' but not both.,It is highly unlikely that either 'John dropped the milk' or 'Mary got the milk' but not both.,1,Either 'John dropped the milk' or 'Mary got the milk' but not both. There is a very good chance that Bernhard is a swan. There is almost no chance that Jessica is a cat. There is little chance that Mary moved to the office.,There is a very good chance that either 'Jessica is a cat' 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.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.788,0.509501900380076,train,very good chance,improbable,There is a very good chance that either 'Jessica is a cat' or 'Bernhard is a swan' but not both.,It is improbable that either 'Jessica is a cat' or 'Bernhard is a swan' but not both.,1,Either 'Jessica is a cat' or 'Bernhard is a swan' but not both. It is probable that John moved to the office. It is probably the case that Jason is tired. It is highly unlikely that Julius is gray.,It is highly unlikely that 'Julius is gray 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.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.5093018603720744,train,highly unlikely,very good chance,It is highly unlikely that 'Julius is gray and John moved to the office'.,There is a very good chance that 'Julius is gray and John moved to the office'.,1,'Julius is gray and John moved to the office'. Chances are about even that Lily is yellow. It is highly likely that Bernhard is a swan. Chances are about even that John dropped the apple.,It is almost certain that either 'John 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.5::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.4272854570914183,train,about even,almost certain,Chances are about even that either 'John dropped the apple' or 'Bernhard is a swan' but not both.,It is almost certain that either 'John dropped the apple' or 'Bernhard is a swan' but not both.,0,Either 'John dropped the apple' or 'Bernhard is a swan' but not both. There is a better than even chance that Greg is a lion. There is almost no chance that Bernhard is yellow. It is probably the case that Mary left the milk.,There is little chance that 'Mary left 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.6::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.5147029405881176,train,highly likely,little chance,It is highly likely that 'Mary left the milk' or 'Greg is a lion' or both.,There is little chance that 'Mary left the milk' or 'Greg is a lion' or both.,0,'Mary left the milk' or 'Greg is a lion' or both. There is a very good chance that John went to the office. It is probable that Gertrude is a sheep. It is probable that Brian is white.,It is almost certain that 'Brian is white' 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.94,0.7959591918383677,train,almost certain,highly unlikely,It is almost certain that 'Brian is white' or 'John went to the office' or both.,It is highly unlikely that 'Brian is white' or 'John went to the office' or both.,1,'Brian is white' or 'John went to the office' or both. It is almost certain that Brian is yellow. It is highly unlikely that Greg is yellow. Chances are slight that John got the apple.,It is likely 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.95::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0475,0.6507301460292059,train,highly unlikely,likely,It is highly unlikely that 'Brian is yellow and Greg is yellow'.,It is likely that 'Brian is yellow and Greg is yellow'.,0,'Brian is yellow and Greg is yellow'. It is unlikely that John took the football. It is probably the case that Jeff went to the garden. It is impossible that Julius is green.,It is likely that either 'Julius 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.2::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.613122624524905,train,we doubt,likely,We doubt that either 'Julius is green' or 'John took the football' but not both.,It is likely that either 'Julius is green' or 'John took the football' but not both.,0,Either 'Julius is green' or 'John took the football' but not both. There is a very good chance that Fred is in the cinema. Chances are about even that Lily is yellow. It is highly likely that Bernhard is a swan.,We doubt 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.8::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9500000000000001,0.34026805361072215,train,almost certain,we doubt,It is almost certain that 'Lily is yellow' or 'Bernhard is a swan' or both.,We doubt that 'Lily is yellow' or 'Bernhard is a swan' or both.,0,'Lily is yellow' or 'Bernhard is a swan' or both. There is little chance that Mary went to the office. It is unlikely that Daniel dropped the apple. There is almost no chance that Jason is tired.,It is almost certain that 'Jason is tired' or 'Daniel dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.21600000000000003,0.08361672334466894,train,unlikely,almost certain,It is unlikely that 'Jason is tired' or 'Daniel dropped the apple' or both.,It is almost certain that 'Jason is tired' or 'Daniel dropped the apple' or both.,0,'Jason is tired' or 'Daniel dropped the apple' or both. We doubt that Bill went to the office. Chances are about even that Jessica is a mouse. It is probable that John took the apple.,Chances are about even that either 'John took 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.2::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.49999999999999994,0.6867373474694939,train,about even,almost certain,Chances are about even that either 'John took the apple' or 'Jessica is a mouse' but not both.,It is almost certain that either 'John took the apple' or 'Jessica is a mouse' but not both.,1,Either 'John took the apple' or 'Jessica is a mouse' but not both. It is unlikely that John discarded the apple. It is highly likely that Sumit is thirsty. There is a very good chance that Bernhard is a rhino.,It is probably not the case that 'John discarded the apple' 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.2::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.70374074814963,train,highly likely,probably not,It is highly likely that 'John discarded the apple' or 'Sumit is thirsty' or both.,It is probably not the case that 'John discarded the apple' or 'Sumit is thirsty' or both.,0,'John discarded the apple' or 'Sumit is thirsty' or both. We doubt that Jeff dropped the apple. It is probably the case that Greg is gray. We doubt that Yann is tired.,It is probably the case that 'Jeff dropped 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.2::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.7665533106621324,train,improbable,probably,It is improbable that 'Jeff dropped the apple and Greg is gray'.,It is probably the case that 'Jeff dropped the apple and Greg is gray'.,0,'Jeff dropped the apple and Greg is gray'. It is almost certain that Brian is white. There is little chance that Lily is a frog. It is highly unlikely that Greg is a swan.,It is almost certain that 'Brian is white' 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.95::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.955,0.15043008601720345,train,almost certain,probably not,It is almost certain that 'Brian is white' or 'Lily is a frog' or both.,It is probably not the case that 'Brian is white' or 'Lily is a frog' or both.,1,'Brian is white' or 'Lily is a frog' or both. Chances are slight that Bill went to the kitchen. It is highly unlikely that Greg is a swan. Chances are about even that Mary took the football.,It is certain that 'Bill went to the kitchen 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.05::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.16583316663332667,train,highly unlikely,certain,It is highly unlikely that 'Bill went to the kitchen and Mary took the football'.,It is certain that 'Bill went to the kitchen and Mary took the football'.,0,'Bill went to the kitchen and Mary took the football'. There is almost no chance that Bernhard is a frog. It is probably not the case that Daniel dropped the apple. It is probably the case that Winona is a wolf.,There is almost no chance that either 'Bernhard 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.02::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.692,0.6117223444688937,train,probably,almost no chance,It is probably the case that either 'Bernhard is a frog' or 'Winona is a wolf' but not both.,There is almost no chance that either 'Bernhard is a frog' or 'Winona is a wolf' but not both.,0,Either 'Bernhard is a frog' or 'Winona is a wolf' but not both. It is unlikely that Sandra took the football. Chances are about even that Mary went to the kitchen. It is impossible that John picked up the milk.,It is probable that 'Mary went to the kitchen 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.2::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.10000000000000002,0.6243248649729946,train,improbable,probable,It is improbable that 'Mary went to the kitchen and Sandra took the football'.,It is probable that 'Mary went to the kitchen and Sandra took the football'.,0,'Mary went to the kitchen and Sandra took the football'. It is probable that John went to the garden. It is probably the case that Sumit is thirsty. Chances are about even that Brian is yellow.,Chances are about even that either 'John went to the garden' 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.7::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.5453090618123625,train,about even,almost no chance,Chances are about even that either 'John went to the garden' or 'Sumit is thirsty' but not both.,There is almost no chance that either 'John went to the garden' or 'Sumit is thirsty' but not both.,1,Either 'John went to the garden' or 'Sumit is thirsty' but not both. There is almost no chance that John discarded the apple. It is probably the case that Mary went to the kitchen. It is highly likely that Greg is green.,It is probably the case that 'Greg is green 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.7::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.018000000000000002,0.42188437687537506,train,almost no chance,probably,There is almost no chance that 'Greg is green and John discarded the apple'.,It is probably the case that 'Greg is green and John discarded the apple'.,0,'Greg is green and John discarded the apple'. It is almost certain that Emily is a cat. There is a better than even chance that John discarded the apple. It is highly likely that Greg is yellow.,Chances are slight that either 'Emily is a cat' 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.95::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.3108621724344869,train,chances are slight,very good chance,Chances are slight that either 'Emily is a cat' or 'Greg is yellow' but not both.,There is a very good chance that either 'Emily is a cat' or 'Greg is yellow' but not both.,1,Either 'Emily is a cat' or 'Greg is yellow' but not both. It is certain that Lily is a frog. It is highly unlikely that Bernhard is yellow. There is a better than even chance that Mary took the milk.,It is certain that 'Lily 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 1.0::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.5279055811162232,train,certain,probably not,It is certain that 'Lily is a frog' or 'Bernhard is yellow' or both.,It is probably not the case that 'Lily is a frog' or 'Bernhard is yellow' or both.,1,'Lily is a frog' or 'Bernhard is yellow' or both. It is improbable that Brian is a swan. It is impossible that Daniel got the milk. It is probably not the case that Mary went to the hallway.,It is probable that 'Brian is a swan' 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.0::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.7839567913582717,train,probably not,probable,It is probably not the case that 'Brian is a swan' or 'Mary went to the hallway' or both.,It is probable that 'Brian is a swan' or 'Mary went to the hallway' or both.,0,'Brian is a swan' or 'Mary went to the hallway' or both. There is little chance that Mary grabbed the milk. There is a better than even chance that Fred discarded the apple. We believe that Lily is white.,Chances are about even that 'Fred 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.1::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45,0.4822964592918584,train,about even,almost certain,Chances are about even that 'Fred discarded the apple and Lily is white'.,It is almost certain that 'Fred discarded the apple and Lily is white'.,1,'Fred discarded the apple and Lily is white'. It is improbable that Bill went to the garden. It is unlikely that John moved to the office. It is unlikely that Brian is gray.,It is likely that 'Bill 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.5923184636927386,train,probably not,likely,It is probably not the case that 'Bill went to the garden' or 'John moved to the office' or both.,It is likely that 'Bill went to the garden' or 'John moved to the office' or both.,0,'Bill went to the garden' or 'John moved to the office' or both. Chances are about even that Lily is green. It is unlikely that John picked up the milk. It is certain that Emily is a mouse.,There is a better than even chance that 'Lily is green' 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.2::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.6000000000000001,0.32706541308261655,train,better than even,impossible,There is a better than even chance that 'Lily is green' or 'John picked up the milk' or both.,It is impossible that 'Lily is green' or 'John picked up the milk' or both.,1,'Lily is green' or 'John picked up the milk' or both. Chances are about even that John went to the hallway. It is highly likely that Bernhard is gray. It is probably the case that Jeff moved to the office.,It is impossible that 'John went to the hallway' 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.5::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9500000000000001,0.7049409881976395,train,almost certain,impossible,It is almost certain that 'John went to the hallway' or 'Bernhard is gray' or both.,It is impossible that 'John went to the hallway' or 'Bernhard is gray' or both.,0,'John went to the hallway' or 'Bernhard is gray' or both. It is almost certain that Mary got the football. There is almost no chance that Greg is a frog. It is likely that John put down the apple.,It is almost certain that 'Greg is a frog' 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.95::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.951,0.31546309261852373,train,almost certain,we doubt,It is almost certain that 'Greg is a frog' or 'Mary got the football' or both.,We doubt that 'Greg is a frog' or 'Mary got the football' or both.,1,'Greg is a frog' or 'Mary got the football' or both. It is impossible that Jessica is a sheep. There is almost no chance that Bernhard is a frog. It is almost certain that John moved to the garden.,There is almost no chance that either 'Bernhard 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.0::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.02,0.5993198639727946,train,almost no chance,better than even,There is almost no chance that either 'Bernhard is a frog' or 'Jessica is a sheep' but not both.,There is a better than even chance that either 'Bernhard is a frog' or 'Jessica is a sheep' but not both.,1,Either 'Bernhard is a frog' or 'Jessica is a sheep' but not both. Chances are about even that John got the apple. It is highly unlikely that Bernhard is gray. It is highly likely that Jeff moved to the garden.,It is almost certain that 'John got the apple' 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.05::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9500000000000001,0.7441488297659532,train,almost certain,we doubt,It is almost certain that 'John got the apple' or 'Jeff moved to the garden' or both.,We doubt that 'John got the apple' or 'Jeff moved to the garden' or both.,1,'John got the apple' or 'Jeff moved to the garden' or both. It is improbable that Julius is a frog. It is probably the case that Bernhard is a lion. It is almost certain that John discarded the apple.,There is little chance 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.1::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09500000000000001,0.5669133826765353,train,little chance,certain,There is little chance that 'Julius is a frog and John discarded the apple'.,It is certain that 'Julius is a frog and John discarded the apple'.,1,'Julius is a frog and John discarded the apple'. It is probable that Mary grabbed the milk. It is impossible that John went to the garden. There is a better than even chance that Bernhard is a lion.,We doubt that 'John went to the garden' 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.7::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.4280856171234247,train,likely,we doubt,It is likely that 'John went to the garden' or 'Mary grabbed the milk' or both.,We doubt that 'John went to the garden' or 'Mary grabbed the milk' or both.,0,'John went to the garden' or 'Mary grabbed the milk' or both. It is improbable that Jeff went to the bedroom. It is probably the case that Mary left the football. It is certain that John put down the milk.,It is likely that 'Mary left 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.1::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.41128225645129024,train,likely,we doubt,It is likely that 'Mary left the football and John put down the milk'.,We doubt that 'Mary left the football and John put down the milk'.,1,'Mary left the football and John put down the milk'. There is little chance that Daniel dropped the apple. We believe that Julius is a swan. It is probable that Bernhard is yellow.,It is highly likely that 'Bernhard 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.1::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.09181836367273455,train,highly unlikely,highly likely,It is highly unlikely that 'Bernhard is yellow and Daniel dropped the apple'.,It is highly likely that 'Bernhard is yellow and Daniel dropped the apple'.,0,'Bernhard is yellow and Daniel dropped the apple'. It is unlikely that Bernhard is yellow. It is improbable that John grabbed the apple. We believe that Lily is green.,There is almost no chance that 'Lily is green' 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.2::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.1876375275055011,train,very good chance,almost no chance,There is a very good chance that 'Lily is green' or 'John grabbed the apple' or both.,There is almost no chance that 'Lily is green' or 'John grabbed the apple' or both.,0,'Lily is green' or 'John grabbed the apple' or both. It is probable that John went to the bedroom. It is almost certain that Brian is a lion. It is impossible that Jason is tired.,There is almost no chance that 'Brian is a lion 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.95::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.11562312462492498,train,likely,almost no chance,It is likely that 'Brian is a lion and John went to the bedroom'.,There is almost no chance that 'Brian is a lion and John went to the bedroom'.,0,'Brian is a lion and John went to the bedroom'. Chances are slight that Bernhard is yellow. It is probably not the case that Julius is green. It is unlikely that Jason is bored.,It is certain that 'Jason is bored' 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.25::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.4,0.1820364072814563,train,about even,certain,Chances are about even that 'Jason is bored' or 'Julius is green' or both.,It is certain that 'Jason is bored' or 'Julius is green' or both.,0,'Jason is bored' or 'Julius is green' or both. There is almost no chance that John picked up the apple. There is little chance that Greg is yellow. Chances are slight that Lily is green.,It is probable 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.02::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.3732746549309862,train,impossible,probable,It is impossible that 'Greg is yellow and John picked up the apple'.,It is probable that 'Greg is yellow and John picked up the apple'.,0,'Greg is yellow and John picked up the apple'. We doubt that Winona is a sheep. It is likely that Julius is a frog. Chances are about even that Greg is white.,Chances are slight that 'Winona is a sheep 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.7::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.22464492898579716,train,chances are slight,certain,Chances are slight that 'Winona is a sheep and Julius is a frog'.,It is certain that 'Winona is a sheep and Julius is a frog'.,1,'Winona is a sheep and Julius is a frog'. It is probably the case that John discarded the apple. It is impossible that Julius is white. It is probable that Mary went to the office.,We doubt 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.7::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9099999999999999,0.14802960592118425,train,highly likely,we doubt,It is highly likely 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.,0,'Mary went to the office' or 'John discarded the apple' or both. It is impossible that Mary got the football. There is little chance that Julius is a lion. There is a very good chance that Winona is a wolf.,It is impossible that either 'Winona is a wolf' 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.0::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.74,0.08881776355271054,train,we believe,impossible,We believe that either 'Winona is a wolf' or 'Julius is a lion' but not both.,It is impossible that either 'Winona is a wolf' or 'Julius is a lion' but not both.,0,Either 'Winona is a wolf' or 'Julius is a lion' but not both. It is certain that Bernhard is a frog. It is unlikely that Lily is a lion. It is probably the case that John moved to the garden.,Chances are slight 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 1.0::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7599999999999999,0.7579515903180636,train,we believe,chances are slight,We believe that 'John moved to the garden' or 'Lily is a lion' or both.,Chances are slight 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. It is probably the case that Mary moved to the garden. Chances are slight that Gertrude is a cat. It is probably the case that Brian is white.,It is almost certain that either 'Brian is white' 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. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.757751550310062,train,about even,almost certain,Chances are about even that either 'Brian is white' or 'Mary moved to the garden' but not both.,It is almost certain that either 'Brian is white' or 'Mary moved to the garden' but not both.,0,Either 'Brian is white' or 'Mary moved to the garden' but not both. It is certain that Winona is a mouse. It is unlikely that Julius is a lion. It is probably not the case that Sandra got the football.,It is probable that 'Winona is a mouse 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 1.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.25,0.3642728545709142,train,probably not,probable,It is probably not the case that 'Winona is a mouse and Sandra got the football'.,It is probable that 'Winona is a mouse and Sandra got the football'.,0,'Winona is a mouse and Sandra got the football'. It is impossible that Julius is yellow. It is almost certain that Greg is green. It is almost certain that Bernhard is a swan.,It is almost certain that either 'Julius is yellow' 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.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.95,0.08661732346469293,train,almost certain,probably not,It is almost certain that either 'Julius is yellow' or 'Bernhard is a swan' but not both.,It is probably not the case that either 'Julius is yellow' or 'Bernhard is a swan' but not both.,1,Either 'Julius is yellow' or 'Bernhard is a swan' but not both. It is improbable that Lily is green. It is impossible that John got the apple. There is a better than even chance that Sandra put down the milk.,Chances are slight that either 'Sandra put down the milk' 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.0::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.58,0.38887777555511105,train,better than even,chances are slight,There is a better than even chance that either 'Sandra put down the milk' or 'Lily is green' but not both.,Chances are slight that either 'Sandra put down the milk' or 'Lily is green' but not both.,0,Either 'Sandra put down the milk' or 'Lily is green' but not both. We doubt that Daniel dropped the milk. It is highly likely that Julius is yellow. It is probably the case that Jeff went to the bedroom.,It is probably not the case that either 'Julius is yellow' 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.9::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.33999999999999997,0.07781556311262253,train,probably not,we believe,It is probably not the case that either 'Julius is yellow' or 'Jeff went to the bedroom' but not both.,We believe that either 'Julius is yellow' or 'Jeff went to the bedroom' but not both.,1,Either 'Julius is yellow' or 'Jeff went to the bedroom' but not both. There is a better than even chance that Bernhard is gray. It is highly unlikely that Mary moved to the office. It is unlikely that Julius is a lion.,There is almost no chance that 'Julius is a lion 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.6::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.010000000000000004,0.4490898179635927,train,almost no chance,probable,There is almost no chance that 'Julius is a lion and Mary moved to the office'.,It is probable that 'Julius is a lion and Mary moved to the office'.,1,'Julius is a lion and Mary moved to the office'. There is a very good chance that Julius is a lion. There is little chance that Greg is yellow. It is probable that John grabbed the apple.,It is highly unlikely 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.8::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.08701740348069614,train,highly unlikely,we believe,It is highly unlikely that 'John grabbed the apple and Greg is yellow'.,We believe that 'John grabbed the apple and Greg is yellow'.,1,'John grabbed the apple and Greg is yellow'. There is a very good chance that Mary went to the bedroom. There is a very good chance that Gertrude is a sheep. It is highly likely that Daniel left the apple.,It is probably not the case that either 'Mary went to the bedroom' 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.8::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25999999999999995,0.7679535907181436,train,probably not,very good chance,It is probably not the case that either 'Mary went to the bedroom' or 'Daniel left the apple' but not both.,There is a very good chance that either 'Mary went to the bedroom' or 'Daniel left the apple' but not both.,1,Either 'Mary went to the bedroom' or 'Daniel left the apple' but not both. It is probable that Julius is a swan. There is a very good chance that Daniel dropped the apple. It is almost certain that Bill went to the kitchen.,It is highly unlikely that 'Bill went to the kitchen 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.8::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.46949389877975595,train,probably,highly unlikely,It is probably the case that 'Bill went to the kitchen and Julius is a swan'.,It is highly unlikely that 'Bill went to the kitchen and Julius is a swan'.,0,'Bill went to the kitchen and Julius is a swan'. We believe that Mary moved to the garden. Chances are about even that Brian is gray. It is highly unlikely that Lily is green.,It is highly likely that 'Brian is gray' 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.75::factA. 0.5::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8750000000000001,0.7615523104620924,train,highly likely,unlikely,It is highly likely that 'Brian is gray' or 'Mary moved to the garden' or both.,It is unlikely that 'Brian is gray' or 'Mary moved to the garden' or both.,1,'Brian is gray' or 'Mary moved to the garden' or both. It is certain that Mary got the football. There is almost no chance that Greg is green. It is probably the case that Bernhard is a swan.,It is unlikely that 'Mary got 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 1.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.7767553510702141,train,likely,unlikely,It is likely that 'Mary got the football and Bernhard is a swan'.,It is unlikely that 'Mary got the football and Bernhard is a swan'.,0,'Mary got the football and Bernhard is a swan'. It is probably not the case that Mary grabbed the milk. It is almost certain that Bernhard is a swan. There is a very good chance that Julius is a lion.,We doubt that 'Bernhard is a swan' 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.25::factA. 0.95::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.99,0.6909381876375275,train,certain,we doubt,It is certain that 'Bernhard is a swan' or 'Julius is a lion' or both.,We doubt that 'Bernhard is a swan' or 'Julius is a lion' or both.,0,'Bernhard is a swan' or 'Julius is a lion' or both. There is a very good chance that John went to the bedroom. We believe that Bernhard is a rhino. There is almost no chance that Julius is a swan.,There is almost no chance that 'Bernhard is a rhino 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.8::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6000000000000001,0.5485097019403881,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is a rhino and John went to the bedroom'.,There is almost no chance that 'Bernhard is a rhino and John went to the bedroom'.,0,'Bernhard is a rhino and John went to the bedroom'. It is probably the case that Bill moved to the office. It is highly likely that Gertrude is a wolf. There is a very good chance that Julius is a rhino.,There is almost no chance that 'Bill moved to the office 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.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.5599999999999999,0.7423484696939388,train,better than even,almost no chance,There is a better than even chance that 'Bill moved to the office and Julius is a rhino'.,There is almost no chance that 'Bill moved to the office and Julius is a rhino'.,0,'Bill moved to the office and Julius is a rhino'. Chances are about even that Greg is white. It is improbable that John moved to the garden. There is a very good chance that Lily is a lion.,It is probably not the case that 'Greg is white' 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.1::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9,0.7311462292458492,train,highly likely,probably not,It is highly likely that 'Greg is white' or 'Lily is a lion' or both.,It is probably not the case that 'Greg is white' or 'Lily is a lion' or both.,0,'Greg is white' or 'Lily is a lion' or both. It is highly unlikely that Mary went to the hallway. There is a better than even chance that Sandra got the football. It is highly likely that Bernhard is a frog.,Chances are about even that 'Bernhard is a frog 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.05::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5399999999999999,0.14642928585717144,train,about even,certain,Chances are about even that 'Bernhard is a frog and Sandra got the football'.,It is certain that 'Bernhard is a frog and Sandra got the football'.,1,'Bernhard is a frog and Sandra got the football'. It is impossible that Mary left the football. There is almost no chance that Greg is a rhino. We believe that Lily is a swan.,There is almost no chance that either 'Greg 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.0::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.02,0.6727345469093818,train,almost no chance,better than even,There is almost no chance that either 'Greg is a rhino' or 'Mary left the football' but not both.,There is a better than even chance that either 'Greg is a rhino' or 'Mary left the football' but not both.,1,Either 'Greg is a rhino' or 'Mary left the football' but not both. There is little chance that Bernhard is a frog. Chances are about even that Brian is a lion. It is probably the case that Mary went to the office.,It is probably the case that 'Mary went to the office 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.5063012602520505,train,probably not,probably,It is probably not the case that 'Mary went to the office and Brian is a lion'.,It is probably the case that 'Mary went to the office and Brian is a lion'.,0,'Mary went to the office and Brian is a lion'. It is almost certain that Lily is yellow. It is highly unlikely that Mary went to the bedroom. There is almost no chance that Gertrude is a sheep.,We doubt that 'Gertrude is a sheep' or 'Lily is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.951,0.2922584516903381,train,almost certain,we doubt,It is almost certain that 'Gertrude is a sheep' or 'Lily is yellow' or both.,We doubt that 'Gertrude is a sheep' or 'Lily is yellow' or both.,0,'Gertrude is a sheep' or 'Lily is yellow' or both. There is almost no chance that Lily is a swan. Chances are about even that Mary dropped the milk. It is highly likely that Brian is a frog.,There is almost no chance that 'Lily is a swan 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.02::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.655131026205241,train,almost no chance,about even,There is almost no chance that 'Lily is a swan and Mary dropped the milk'.,Chances are about even that 'Lily is a swan and Mary dropped the milk'.,1,'Lily is a swan and Mary dropped the milk'. There is a better than even chance that Winona is a mouse. There is little chance that Brian is a swan. It is impossible that Lily is a frog.,It is highly unlikely that 'Brian is a swan 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.6::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.06,0.6749349869973995,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a swan and Winona is a mouse'.,There is a very good chance that 'Brian is a swan and Winona is a mouse'.,1,'Brian is a swan and Winona is a mouse'. It is highly unlikely that Lily is white. Chances are slight that Mary left the football. It is unlikely that Greg is a lion.,It is probably not the case that either 'Greg 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.17963592718543708,train,probably not,probable,It is probably not the case that either 'Greg is a lion' or 'Mary left the football' but not both.,It is probable that either 'Greg is a lion' or 'Mary left the football' but not both.,1,Either 'Greg is a lion' or 'Mary left the football' but not both. It is unlikely that Winona is a cat. It is highly likely that Sandra put down the milk. We believe that Lily is green.,It is probably the case that either 'Lily is green' 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.9::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.7381476295259052,train,probably not,probably,It is probably not the case that either 'Lily is green' or 'Sandra put down the milk' but not both.,It is probably the case that either 'Lily is green' or 'Sandra put down the milk' but not both.,0,Either 'Lily is green' or 'Sandra put down the milk' but not both. It is probably not the case that Greg is green. We believe that Jessica is a wolf. We believe that Mary went to the office.,Chances are about even that either 'Jessica is a wolf' 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.75::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.375,0.39887977595519103,train,about even,certain,Chances are about even that either 'Jessica is a wolf' or 'Mary went to the office' but not both.,It is certain that either 'Jessica is a wolf' or 'Mary went to the office' but not both.,1,Either 'Jessica is a wolf' or 'Mary went to the office' but not both. Chances are slight that Mary dropped the milk. It is probably the case that Jason is tired. It is probably the case that Bernhard is a frog.,Chances are about even that 'Jason is tired 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. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.48999999999999994,0.03960792158431686,train,about even,certain,Chances are about even that 'Jason is tired and Bernhard is a frog'.,It is certain that 'Jason is tired and Bernhard is a frog'.,1,'Jason is tired and Bernhard is a frog'. Chances are slight that Lily is green. It is probably the case that John went to the garden. There is almost no chance that Winona is a wolf.,There is a better than even chance 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.1::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.20824164832966593,train,highly unlikely,better than even,It is highly unlikely that 'John went to the garden and Lily is green'.,There is a better than even chance that 'John went to the garden and Lily is green'.,0,'John went to the garden and Lily is green'. There is little chance that Julius is a lion. It is highly unlikely that Sandra grabbed the milk. It is highly likely that Mary dropped the milk.,It is probably the case that 'Sandra grabbed the milk 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.1::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.045000000000000005,0.4402880576115223,train,highly unlikely,probably,It is highly unlikely that 'Sandra grabbed the milk and Mary dropped the milk'.,It is probably the case that 'Sandra grabbed the milk and Mary dropped the milk'.,0,'Sandra grabbed the milk and Mary dropped the milk'. It is probably not the case that Brian is green. It is highly unlikely that John took the apple. Chances are about even that Lily is white.,It is improbable that 'Brian is green 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.05::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.12500000000000003,0.6215243048609722,train,improbable,certain,It is improbable that 'Brian is green and Lily is white'.,It is certain that 'Brian is green and Lily is white'.,1,'Brian is green and Lily is white'. It is certain that John went to the hallway. It is almost certain that Greg is yellow. It is unlikely that Lily is gray.,It is probably not the case that either 'Lily 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 1.0::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.4290858171634327,train,very good chance,probably not,There is a very good chance that either 'Lily is gray' or 'John went to the hallway' but not both.,It is probably not the case that either 'Lily is gray' or 'John went to the hallway' but not both.,0,Either 'Lily is gray' or 'John went to the hallway' but not both. Chances are about even that John moved to the garden. Chances are about even that Greg is white. There is a better than even chance that Sandra dropped the apple.,There is almost no chance that either 'Sandra dropped 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.5::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.41328265653130625,train,about even,almost no chance,Chances are about even that either 'Sandra dropped the apple' or 'John moved to the garden' but not both.,There is almost no chance that either 'Sandra dropped the apple' or 'John moved to the garden' but not both.,0,Either 'Sandra dropped the apple' or 'John moved to the garden' but not both. It is probable that Lily is gray. It is certain that Greg is a lion. Chances are slight that Fred is in the school.,It is probably not the case that either 'Greg is a lion' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.7289457891578316,train,probably not,probably,It is probably not the case that either 'Greg is a lion' or 'Lily is gray' but not both.,It is probably the case that either 'Greg is a lion' or 'Lily is gray' but not both.,1,Either 'Greg is a lion' or 'Lily is gray' but not both. It is likely that John took the apple. It is highly unlikely that Lily is yellow. It is probably the case that Jeff went to the garden.,It is likely that 'John took 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.481496299259852,train,likely,chances are slight,It is likely that 'John took the apple' or 'Lily is yellow' or both.,Chances are slight that 'John took the apple' or 'Lily is yellow' or both.,1,'John took the apple' or 'Lily is yellow' or both. It is almost certain that Sandra left the milk. There is a better than even chance that Mary got the football. There is almost no chance that John moved to the office.,It is impossible that either 'Sandra left the milk' 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.6::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.41000000000000003,0.33186637327465496,train,about even,impossible,Chances are about even that either 'Sandra left the milk' or 'Mary got the football' but not both.,It is impossible that either 'Sandra left the milk' or 'Mary got the football' but not both.,0,Either 'Sandra left the milk' or 'Mary got the football' but not both. It is likely that John moved to the garden. It is probably the case that Greg is yellow. We doubt that Lily is white.,We believe that 'Greg 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.7::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.4422884576915383,train,we believe,improbable,We believe that 'Greg is yellow' or 'Lily is white' or both.,It is improbable that 'Greg is yellow' or 'Lily is white' or both.,1,'Greg is yellow' or 'Lily is white' or both. It is improbable that Gertrude is a cat. It is probably the case that Fred went to the garden. Chances are slight that Lily is a lion.,It is certain that either 'Gertrude is a cat' 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. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.11182236447289458,train,unlikely,certain,It is unlikely that either 'Gertrude is a cat' or 'Lily is a lion' but not both.,It is certain that either 'Gertrude is a cat' or 'Lily is a lion' but not both.,0,Either 'Gertrude is a cat' or 'Lily is a lion' but not both. There is a better than even chance that Winona is a sheep. There is little chance that Bernhard is green. It is highly likely that Brian is a swan.,Chances are slight that 'Brian 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.6::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.635127025405081,train,highly likely,chances are slight,It is highly likely that 'Brian is a swan' or 'Bernhard is green' or both.,Chances are slight that 'Brian is a swan' or 'Bernhard is green' or both.,0,'Brian is a swan' or 'Bernhard is green' or both. It is highly likely that Mary is in the school. It is likely that Lily is gray. It is likely that John went to the office.,It is almost certain that 'John went to the office' or 'Mary 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.9::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.97,0.5207041408281656,train,almost certain,about even,It is almost certain that 'John went to the office' or 'Mary is in the school' or both.,Chances are about even that 'John went to the office' or 'Mary is in the school' or both.,1,'John went to the office' or 'Mary is in the school' or both. We doubt that Bill went to the garden. It is improbable that Greg is a frog. It is improbable that Mary is in the bathroom.,It is probably not the case that 'Bill went to the garden' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.4100820164032807,train,probably not,almost certain,It is probably not the case that 'Bill went to the garden' or 'Greg is a frog' or both.,It is almost certain that 'Bill went to the garden' or 'Greg is a frog' or both.,1,'Bill went to the garden' or 'Greg is a frog' or both. Chances are about even that Bernhard is a rhino. There is little chance that John left the milk. There is little chance that Gertrude is a sheep.,It is almost certain that either 'Bernhard is a rhino' 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.5::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.7701540308061612,train,about even,almost certain,Chances are about even that either 'Bernhard is a rhino' or 'John left the milk' but not both.,It is almost certain that either 'Bernhard is a rhino' or 'John left the milk' but not both.,0,Either 'Bernhard is a rhino' or 'John left the milk' but not both. We believe that John moved to the office. It is certain that Bill went to the kitchen. It is unlikely that Lily is a rhino.,It is impossible that either 'Lily is a rhino' 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.75::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.65,0.1912382476495299,train,probable,impossible,It is probable that either 'Lily is a rhino' or 'John moved to the office' but not both.,It is impossible that either 'Lily is a rhino' or 'John moved to the office' but not both.,0,Either 'Lily is a rhino' or 'John moved to the office' but not both. It is impossible that Greg is a swan. There is almost no chance that Julius is gray. It is certain that John moved to the garden.,It is impossible that 'Greg is a swan and John moved to the garden'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.4336867373474695,train,impossible,very good chance,It is impossible that 'Greg is a swan and John moved to the garden'.,There is a very good chance that 'Greg is a swan and John moved to the garden'.,1,'Greg is a swan and John moved to the garden'. It is unlikely that Fred went to the garden. Chances are slight that Lily is a lion. It is likely that Sandra grabbed the apple.,It is likely that either 'Fred went to the garden' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.6461292258451691,train,probably not,likely,It is probably not the case that either 'Fred went to the garden' or 'Lily is a lion' but not both.,It is likely that either 'Fred went to the garden' or 'Lily is a lion' but not both.,0,Either 'Fred went to the garden' or 'Lily is a lion' but not both. It is likely that Brian is yellow. It is probably not the case that John moved to the garden. There is almost no chance that Jessica is a cat.,We believe that 'Jessica is a cat 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.25::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.005000000000000002,0.5789157831566313,train,impossible,we believe,It is impossible that 'Jessica is a cat and John moved to the garden'.,We believe that 'Jessica is a cat and John moved to the garden'.,0,'Jessica is a cat and John moved to the garden'. It is probable that Mary moved to the office. Chances are about even that Sandra dropped the milk. It is impossible that John left the football.,It is impossible that either 'Mary moved 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.7::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.49999999999999994,0.16043208641728346,train,about even,impossible,Chances are about even that either 'Mary moved to the office' or 'Sandra dropped the milk' but not both.,It is impossible that either 'Mary moved to the office' or 'Sandra dropped the milk' but not both.,0,Either 'Mary moved to the office' or 'Sandra dropped the milk' but not both. It is almost certain that Julius is green. It is improbable that Sandra left the milk. It is highly likely that Lily is a swan.,It is improbable 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.95::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.14000000000000004,0.1850370074014803,train,improbable,almost certain,It is improbable that either 'Lily is a swan' or 'Julius is green' but not both.,It is almost certain that either 'Lily is a swan' or 'Julius is green' but not both.,1,Either 'Lily is a swan' or 'Julius is green' but not both. It is probably not the case that Daniel took the football. It is unlikely that Mary put down the apple. There is a better than even chance that Antoine is thirsty.,There is a very good chance that 'Daniel took the football 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.2::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.660132026405281,train,highly unlikely,very good chance,It is highly unlikely that 'Daniel took the football and Mary put down the apple'.,There is a very good chance that 'Daniel took the football and Mary put down the apple'.,0,'Daniel took the football and Mary put down the apple'. It is probably not the case that Mary left the milk. Chances are about even that Emily is a mouse. It is probable that John discarded the apple.,There is a better than even chance that 'Emily is a mouse' 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.25::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6250000000000001,0.21604320864172835,train,better than even,highly unlikely,There is a better than even chance that 'Emily is a mouse' or 'Mary left the milk' or both.,It is highly unlikely that 'Emily is a mouse' or 'Mary left the milk' or both.,1,'Emily is a mouse' or 'Mary left the milk' or both. There is little chance that John grabbed the apple. It is unlikely that Greg is yellow. Chances are slight that Gertrude is a mouse.,It is almost certain that 'Gertrude 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.1::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.6857371474294859,train,probably not,almost certain,It is probably not the case that 'Gertrude is a mouse' or 'Greg is yellow' or both.,It is almost certain that 'Gertrude is a mouse' or 'Greg is yellow' or both.,0,'Gertrude is a mouse' or 'Greg is yellow' or both. It is probably not the case that Bernhard is a frog. It is improbable that Julius is a rhino. It is improbable that Sumit is thirsty.,It is unlikely that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.22344468893778754,train,unlikely,probable,It is unlikely that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.,It is probable that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.,1,Either 'Sumit is thirsty' or 'Julius is a rhino' but not both. It is certain that Greg is a frog. We believe that Julius is a lion. Chances are slight that Brian is white.,It is probably not the case 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 1.0::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.0028005601120224045,train,certain,probably not,It is certain that 'Brian is white' or 'Greg is a frog' or both.,It is probably not the case that 'Brian is white' or 'Greg is a frog' or both.,0,'Brian is white' or 'Greg is a frog' or both. It is likely that Brian is white. We doubt that Gertrude is a mouse. There is almost no chance that Sandra dropped the milk.,It is probably the case that either 'Sandra dropped the milk' 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.2::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.21200000000000002,0.7249449889977996,train,we doubt,probably,We doubt that either 'Sandra dropped the milk' or 'Gertrude is a mouse' but not both.,It is probably the case that either 'Sandra dropped the milk' or 'Gertrude is a mouse' but not both.,0,Either 'Sandra dropped the milk' or 'Gertrude is a mouse' but not both. It is probable that Lily is yellow. It is almost certain that Bernhard is a swan. It is highly likely that John dropped the apple.,There is a very good chance that either 'John 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.7::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.3016603320664133,train,little chance,very good chance,There is little chance that either 'John dropped the apple' or 'Bernhard is a swan' but not both.,There is a very good chance that either 'John dropped the apple' or 'Bernhard is a swan' but not both.,0,Either 'John dropped the apple' or 'Bernhard is a swan' but not both. We doubt that John went to the bedroom. We believe that Brian is a swan. It is highly likely that Julius is gray.,It is improbable that 'Brian is a swan 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.75::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.675,0.22884576915383076,train,likely,improbable,It is likely that 'Brian is a swan and Julius is gray'.,It is improbable that 'Brian is a swan and Julius is gray'.,0,'Brian is a swan and Julius is gray'. It is improbable that Greg is a swan. It is improbable that John dropped the apple. It is impossible that Mary took the milk.,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.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.45889177835567113,train,unlikely,almost certain,It is unlikely that either 'John dropped the apple' or 'Greg is a swan' but not both.,It is almost certain 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. It is certain that Daniel left the apple. It is probably the case that Julius is green. It is highly likely that John moved to the garden.,It is almost certain 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 1.0::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.97,0.48489697939587917,train,almost certain,little chance,It is almost certain that 'Julius is green' or 'John moved to the garden' or both.,There is little chance 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 unlikely that Julius is gray. There is almost no chance that John went to the office. It is likely that Brian is a frog.,There is almost no chance that 'John 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.2::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.706,0.46789357871574316,train,likely,almost no chance,It is likely that 'John went to the office' or 'Brian is a frog' or both.,There is almost no chance that 'John went to the office' or 'Brian is a frog' or both.,0,'John went to the office' or 'Brian is a frog' or both. It is certain that Jeff dropped the apple. There is a very good chance that Greg is a rhino. It is probably not the case that Brian is yellow.,It is impossible that 'Greg 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 1.0::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8500000000000001,0.33926785357071415,train,highly likely,impossible,It is highly likely that 'Greg is a rhino' or 'Brian is yellow' or both.,It is impossible that 'Greg is a rhino' or 'Brian is yellow' or both.,0,'Greg is a rhino' or 'Brian is yellow' or both. There is a better than even chance that Brian is white. It is likely that John discarded the milk. It is likely that Bernhard is gray.,It is highly likely that 'John discarded the milk' or 'Brian is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.88,0.5547109421884376,train,highly likely,little chance,It is highly likely that 'John discarded the milk' or 'Brian is white' or both.,There is little chance that 'John discarded the milk' or 'Brian is white' or both.,1,'John discarded the milk' or 'Brian is white' or both. There is a very good chance that Bill left the milk. It is probably not the case that John went to the hallway. It is highly unlikely that Lily is a swan.,It is probably the case that either 'John went to the hallway' 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.8::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.052410482096419284,train,probably,probably not,It is probably the case that either 'John went to the hallway' or 'Bill left the milk' but not both.,It is probably not the case that either 'John went to the hallway' or 'Bill left the milk' but not both.,1,Either 'John went to the hallway' or 'Bill left the milk' but not both. Chances are slight that Sumit is thirsty. It is probably the case that Bernhard is a swan. It is almost certain that Fred went to the garden.,It is almost certain that 'Sumit is thirsty' 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.1::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.955,0.1170234046809362,train,almost certain,we doubt,It is almost certain that 'Sumit is thirsty' or 'Fred went to the garden' or both.,We doubt that 'Sumit is thirsty' or 'Fred went to the garden' or both.,1,'Sumit is thirsty' or 'Fred went to the garden' or both. Chances are slight that Yann is hungry. It is highly likely that Mary went to the office. Chances are about even that John got the apple.,It is highly unlikely that 'Yann is hungry' 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.1::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.33366673334666935,train,highly likely,highly unlikely,It is highly likely that 'Yann is hungry' or 'Mary went to the office' or both.,It is highly unlikely that 'Yann is hungry' or 'Mary went to the office' or both.,0,'Yann is hungry' or 'Mary went to the office' or both. Chances are about even that Greg is a swan. We doubt that Julius is a frog. Chances are about even that Sumit is tired.,Chances are about even that either 'Julius 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 0.5::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.3226645329065813,train,about even,impossible,Chances are about even that either 'Julius is a frog' or 'Greg is a swan' but not both.,It is impossible that either 'Julius is a frog' or 'Greg is a swan' but not both.,1,Either 'Julius is a frog' or 'Greg is a swan' but not both. It is probable that Gertrude is a sheep. It is unlikely that Julius is a rhino. It is highly unlikely that Daniel got the football.,It is probably not the case that 'Julius is a rhino' 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.2::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.24000000000000005,0.5845169033806762,train,probably not,probably,It is probably not the case that 'Julius is a rhino' or 'Daniel got the football' or both.,It is probably the case that 'Julius is a rhino' or 'Daniel got the football' or both.,1,'Julius is a rhino' or 'Daniel got the football' or both. It is probably the case that Greg is a frog. Chances are slight that Brian is white. There is a very good chance that Mary went to the kitchen.,It is impossible that either 'Greg 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 0.7::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.38,0.7695539107821564,train,about even,impossible,Chances are about even that either 'Greg is a frog' or 'Mary went to the kitchen' but not both.,It is impossible that either 'Greg is a frog' or 'Mary went to the kitchen' but not both.,0,Either 'Greg is a frog' or 'Mary went to the kitchen' but not both. It is unlikely that Lily is a frog. It is impossible that John dropped the milk. It is probable that Brian is yellow.,It is certain that 'John dropped the milk 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.007801560312062412,train,impossible,certain,It is impossible that 'John dropped the milk and Lily is a frog'.,It is certain that 'John dropped the milk and Lily is a frog'.,0,'John dropped the milk and Lily is a frog'. Chances are about even that Mary put down the apple. We doubt that Julius is a frog. There is a very good chance that Greg is a rhino.,It is almost certain that either 'Mary put down 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.5::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.26785357071414284,train,about even,almost certain,Chances are about even that either 'Mary put down the apple' or 'Julius is a frog' but not both.,It is almost certain that either 'Mary put down the apple' or 'Julius is a frog' but not both.,0,Either 'Mary put down the apple' or 'Julius is a frog' but not both. It is probably the case that Greg is white. There is almost no chance that Lily is a lion. We believe that John got the apple.,It is probably not the case that 'Lily 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.7::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.6169233846769354,train,we believe,probably not,We believe that 'Lily is a lion' or 'John got the apple' or both.,It is probably not the case that 'Lily is a lion' or 'John got the apple' or both.,0,'Lily is a lion' or 'John got the apple' or both. There is a very good chance that John moved to the office. It is probably not the case that Mary went to the office. We believe that Jessica is a sheep.,It is probable that either 'John moved to the office' 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.8::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.65,0.1854370874174835,train,probable,impossible,It is probable that either 'John moved to the office' or 'Mary went to the office' but not both.,It is impossible that either 'John moved to the office' or 'Mary went to the office' but not both.,1,Either 'John moved to the office' or 'Mary went to the office' but not both. It is likely that John went to the office. It is certain that Lily is yellow. It is improbable that Greg is a frog.,It is improbable that either 'Greg 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.7::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.09041808361672335,train,probably,improbable,It is probably the case that either 'Greg is a frog' or 'John went to the office' but not both.,It is improbable that either 'Greg is a frog' or 'John went to the office' but not both.,0,Either 'Greg is a frog' or 'John went to the office' but not both. It is improbable that Daniel dropped the apple. Chances are slight that Sumit is thirsty. It is impossible that John moved to the garden.,There is little chance that either 'Daniel dropped 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.1::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.10000000000000002,0.1956391278255651,train,little chance,highly likely,There is little chance that either 'Daniel dropped the apple' or 'John moved to the garden' but not both.,It is highly likely that either 'Daniel dropped the apple' or 'John moved to the garden' but not both.,1,Either 'Daniel dropped the apple' or 'John moved to the garden' but not both. It is likely that Mary went to the hallway. It is certain that Sandra took the football. There is almost no chance that Lily is a lion.,It is highly unlikely 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.98,0.26305261052210444,train,certain,highly unlikely,It is certain that either 'Sandra took the football' or 'Lily is a lion' but not both.,It is highly unlikely that either 'Sandra took the football' or 'Lily is a lion' but not both.,0,Either 'Sandra took the football' or 'Lily is a lion' but not both. Chances are about even that John went to the garden. There is almost no chance that Julius is yellow. It is unlikely that Brian is green.,It is impossible that 'Brian is green and Julius is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.004000000000000002,0.1328265653130626,train,impossible,likely,It is impossible that 'Brian is green and Julius is yellow'.,It is likely that 'Brian is green and Julius is yellow'.,1,'Brian is green and Julius is yellow'. We believe that Brian is white. It is likely that Bernhard is white. Chances are slight that John went to the kitchen.,It is improbable that 'Brian is white 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.14302860572114423,train,improbable,certain,It is improbable that 'Brian is white and John went to the kitchen'.,It is certain that 'Brian is white and John went to the kitchen'.,1,'Brian is white and John went to the kitchen'. There is a very good chance that Mary went to the office. It is likely that Julius is yellow. It is certain that John grabbed the apple.,It is highly unlikely that 'Mary went to the office' 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. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.04160832166433287,train,certain,highly unlikely,It is certain that 'Mary went to the office' or 'John grabbed the apple' or both.,It is highly unlikely that 'Mary went to the office' or 'John grabbed the apple' or both.,0,'Mary went to the office' or 'John grabbed the apple' or both. We believe that Jeff dropped the apple. It is highly likely that Brian is a swan. There is a better than even chance that Yann is tired.,Chances are about even that 'Yann 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.75::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5399999999999999,0.4178835767153431,train,about even,almost no chance,Chances are about even that 'Yann is tired and Brian is a swan'.,There is almost no chance that 'Yann is tired and Brian is a swan'.,1,'Yann is tired and Brian is a swan'. There is a very good chance that Daniel got the milk. Chances are about even that Brian is a lion. Chances are about even that John moved to the garden.,Chances are about even that either 'Daniel got 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.8::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.4292858571714343,train,about even,highly unlikely,Chances are about even that either 'Daniel got the milk' or 'John moved to the garden' but not both.,It is highly unlikely that either 'Daniel got the milk' or 'John moved to the garden' but not both.,1,Either 'Daniel got the milk' or 'John moved to the garden' but not both. There is almost no chance that Bernhard is a lion. Chances are about even that John got the milk. It is almost certain that Sandra took the football.,It is almost certain that either 'Bernhard is a lion' 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.02::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.5593118623724745,train,about even,almost certain,Chances are about even that either 'Bernhard is a lion' or 'John got the milk' but not both.,It is almost certain that either 'Bernhard is a lion' or 'John got the milk' but not both.,0,Either 'Bernhard is a lion' or 'John got the milk' but not both. It is probable that Lily is green. It is impossible that Julius is a lion. There is a very good chance that John put down the apple.,It is improbable 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.7::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.47709541908381675,train,likely,improbable,It is likely that either 'Lily is green' or 'Julius is a lion' but not both.,It is improbable that either 'Lily is green' or 'Julius is a lion' but not both.,0,Either 'Lily is green' or 'Julius is a lion' but not both. It is probable that Fred is in the cinema. It is probably not the case that Jason is tired. We believe that Brian is yellow.,It is highly unlikely that either 'Jason is tired' 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.25::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.2900580116023205,train,better than even,highly unlikely,There is a better than even chance that either 'Jason is tired' or 'Fred is in the cinema' but not both.,It is highly unlikely that either 'Jason is tired' or 'Fred is in the cinema' but not both.,0,Either 'Jason is tired' or 'Fred is in the cinema' but not both. We believe that Julius is gray. There is almost no chance that Mary went to the bedroom. It is probable that Greg is a swan.,There is almost no chance that 'Julius 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.75::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014999999999999998,0.3846769353870774,train,almost no chance,certain,There is almost no chance that 'Julius is gray and Mary went to the bedroom'.,It is certain that 'Julius is gray and Mary went to the bedroom'.,1,'Julius is gray and Mary went to the bedroom'. It is improbable that Mary took the milk. It is likely that Bernhard is a lion. It is likely that Brian is green.,We believe that 'Mary took 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.34646929385877173,train,we believe,chances are slight,We believe that 'Mary took the milk' or 'Brian is green' or both.,Chances are slight that 'Mary took the milk' or 'Brian is green' or both.,1,'Mary took the milk' or 'Brian is green' or both. It is unlikely that Mary went to the kitchen. It is certain that John picked up the apple. We believe that Bernhard is gray.,Chances are slight that 'Mary went to the kitchen' 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.2::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.5001000200040008,train,certain,chances are slight,It is certain that 'Mary went to the kitchen' or 'John picked up the apple' or both.,Chances are slight that 'Mary went to the kitchen' or 'John picked up the apple' or both.,0,'Mary went to the kitchen' or 'John picked up the apple' or both. Chances are about even that Brian is a lion. It is impossible that Jessica is a cat. It is highly unlikely that Fred went to the garden.,It is certain that 'Fred 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.5::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.05000000000000001,0.6947389477895579,train,highly unlikely,certain,It is highly unlikely that 'Fred went to the garden' or 'Jessica is a cat' or both.,It is certain that 'Fred went to the garden' or 'Jessica is a cat' or both.,0,'Fred went to the garden' or 'Jessica is a cat' or both. It is unlikely that John grabbed the apple. There is a very good chance that Julius is a rhino. We believe that Greg is green.,We believe that 'John grabbed the apple 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.2::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.0654130826165233,train,chances are slight,we believe,Chances are slight that 'John grabbed the apple and Greg is green'.,We believe that 'John grabbed the apple and Greg is green'.,0,'John grabbed the apple and Greg is green'. There is almost no chance that Brian is white. We doubt that John put down the apple. We believe that Greg is a swan.,It is probable that 'John 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.02::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.21600000000000003,0.6979395879175835,train,unlikely,probable,It is unlikely that 'John put down the apple' or 'Brian is white' or both.,It is probable that 'John put down the apple' or 'Brian is white' or both.,0,'John put down the apple' or 'Brian is white' or both. Chances are about even that Julius is white. It is certain that Brian is yellow. It is certain that Lily is green.,There is almost no chance that 'Julius is white' 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.5::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.6003200640128026,train,certain,almost no chance,It is certain that 'Julius is white' or 'Brian is yellow' or both.,There is almost no chance that 'Julius is white' or 'Brian is yellow' or both.,0,'Julius is white' or 'Brian is yellow' or both. It is unlikely that Lily is white. It is improbable that Bernhard is a rhino. We doubt that John took the apple.,There is a very good chance that either 'Lily is white' 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.2::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32,0.0022004400880176033,train,probably not,very good chance,It is probably not the case that either 'Lily is white' or 'John took the apple' but not both.,There is a very good chance that either 'Lily is white' or 'John took the apple' but not both.,0,Either 'Lily is white' or 'John took the apple' but not both. It is probably the case that John went to the kitchen. It is probable that Winona is a wolf. Chances are slight that Greg is green.,It is highly unlikely that 'Greg is green 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.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.5679135827165434,train,highly unlikely,certain,It is highly unlikely that 'Greg is green and John went to the kitchen'.,It is certain that 'Greg is green and John went to the kitchen'.,1,'Greg is green and John went to the kitchen'. We believe that John took the football. There is a better than even chance that Bernhard is a lion. We doubt that Brian is yellow.,There is a very good chance that 'John took 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.75::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.49229845969193836,train,chances are slight,very good chance,Chances are slight that 'John took the football and Brian is yellow'.,There is a very good chance that 'John took the football and Brian is yellow'.,0,'John took the football and Brian is yellow'. Chances are slight that Lily is a rhino. It is almost certain that Greg is a lion. Chances are slight that Winona is a mouse.,It is almost certain 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.1::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.5271054210842169,train,almost certain,impossible,It is almost certain 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.,1,'Winona is a mouse' or 'Greg is a lion' or both. There is a better than even chance that Brian is a frog. There is almost no chance that Lily is a lion. Chances are about even that Julius is gray.,It is almost certain that either 'Julius is gray' 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.02::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.6429285857171434,train,about even,almost certain,Chances are about even that either 'Julius is gray' or 'Brian is a frog' but not both.,It is almost certain that either 'Julius is gray' or 'Brian is a frog' but not both.,0,Either 'Julius is gray' or 'Brian is a frog' but not both. It is probably the case that Julius is gray. We doubt that Mary dropped the milk. It is impossible that Winona is a wolf.,It is likely that 'Winona is a wolf 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.2::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.5741148229645929,train,impossible,likely,It is impossible that 'Winona is a wolf and Julius is gray'.,It is likely that 'Winona is a wolf and Julius is gray'.,0,'Winona is a wolf and Julius is gray'. There is a better than even chance that Lily is green. We believe that Daniel took the milk. There is almost no chance that Greg is a lion.,There is almost no chance that 'Greg is a lion' or 'Lily is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.608,0.37827565513102623,train,better than even,almost no chance,There is a better than even chance that 'Greg is a lion' or 'Lily is green' or both.,There is almost no chance that 'Greg is a lion' or 'Lily is green' or both.,0,'Greg is a lion' or 'Lily is green' or both. There is a very good chance that Mary left the milk. There is a very good chance that Greg is white. It is improbable that Brian is a rhino.,We doubt that 'Greg is white' 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.8::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9600000000000001,0.6585317063412682,train,almost certain,we doubt,It is almost certain that 'Greg is white' or 'Mary left the milk' or both.,We doubt that 'Greg is white' or 'Mary left the milk' or both.,0,'Greg is white' or 'Mary left the milk' or both. Chances are about even that Winona is a cat. There is a very good chance that Sandra got the football. It is probably not the case that Bill went to the kitchen.,It is highly likely that 'Sandra got the football' or 'Bill 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.5::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8500000000000001,0.7333466693338668,train,highly likely,we doubt,It is highly likely that 'Sandra got the football' or 'Bill went to the kitchen' or both.,We doubt that 'Sandra got the football' or 'Bill went to the kitchen' or both.,1,'Sandra got the football' or 'Bill went to the kitchen' or both. It is highly unlikely that Bernhard is a frog. It is certain that Mary moved to the garden. It is probably the case that John went to the bedroom.,We doubt that either 'John went to the bedroom' 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.05::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.7505501100220044,train,likely,we doubt,It is likely that either 'John went to the bedroom' or 'Bernhard is a frog' but not both.,We doubt that either 'John went to the bedroom' or 'Bernhard is a frog' but not both.,0,Either 'John went to the bedroom' or 'Bernhard is a frog' but not both. It is almost certain that Winona is a sheep. It is unlikely that Mary put down the apple. It is probable that Julius is white.,We believe that 'Julius is white' 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.95::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7599999999999999,0.2902580516103221,train,we believe,chances are slight,We believe that 'Julius is white' or 'Mary put down the apple' or both.,Chances are slight that 'Julius is white' or 'Mary put down the apple' or both.,1,'Julius is white' or 'Mary put down the apple' or both. It is improbable that Bernhard is a frog. We believe that Mary got the apple. It is impossible that Greg is gray.,It is impossible 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.1::factA. 0.75::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.36587317463492697,train,impossible,probably,It is impossible that 'Mary got the apple and Greg is gray'.,It is probably the case that 'Mary got the apple and Greg is gray'.,1,'Mary got the apple and Greg is gray'. There is a very good chance that Gertrude is a mouse. There is a better than even chance that John grabbed the apple. It is impossible that Jessica is a sheep.,Chances are about even that 'Gertrude is a mouse 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.8::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48,0.3652730546109222,train,about even,almost no chance,Chances are about even that 'Gertrude is a mouse and John grabbed the apple'.,There is almost no chance that 'Gertrude is a mouse and John grabbed the apple'.,1,'Gertrude is a mouse and John grabbed the apple'. There is a very good chance that Fred went to the office. It is probable that Brian is green. It is impossible that Lily is a swan.,We doubt that either 'Lily is a swan' or 'Fred went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.6379275855171034,train,very good chance,we doubt,There is a very good chance that either 'Lily is a swan' or 'Fred went to the office' but not both.,We doubt that either 'Lily is a swan' or 'Fred went to the office' but not both.,0,Either 'Lily is a swan' or 'Fred went to the office' but not both. It is impossible that Jason is tired. Chances are about even that Bernhard is a frog. It is highly likely that Daniel took the football.,Chances are slight that 'Jason is tired' 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.0::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9,0.4090818163632727,train,highly likely,chances are slight,It is highly likely that 'Jason is tired' or 'Daniel took the football' or both.,Chances are slight that 'Jason is tired' or 'Daniel took the football' or both.,0,'Jason is tired' or 'Daniel took the football' or both. It is almost certain that John took the football. It is probably the case that Julius is white. It is almost certain that Yann is hungry.,It is highly unlikely that 'Yann is hungry' 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.7::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.985,0.6923384676935387,train,certain,highly unlikely,It is certain that 'Yann is hungry' or 'Julius is white' or both.,It is highly unlikely that 'Yann is hungry' or 'Julius is white' or both.,0,'Yann is hungry' or 'Julius is white' or both. It is probable that Brian is green. It is certain that Mary dropped the apple. It is likely that John put down the apple.,Chances are about even that either 'Brian is green' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.6745349069813963,train,about even,impossible,Chances are about even that either 'Brian is green' or 'John put down the apple' but not both.,It is impossible that either 'Brian is green' or 'John put down the apple' but not both.,1,Either 'Brian is green' or 'John put down the apple' but not both. There is a very good chance that Mary went to the bedroom. It is certain that Lily is gray. It is unlikely that Julius is a frog.,It is likely that 'Mary went to the bedroom 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.16000000000000003,0.7981596319263853,train,we doubt,likely,We doubt that 'Mary went to the bedroom and Julius is a frog'.,It is likely that 'Mary went to the bedroom and Julius is a frog'.,0,'Mary went to the bedroom and Julius is a frog'. There is little chance that Lily is gray. It is probable that Mary went to the bedroom. It is unlikely that Bill left the football.,It is highly unlikely that 'Mary went to the bedroom' 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.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.13722744548909782,train,we believe,highly unlikely,We believe that 'Mary went to the bedroom' or 'Bill left the football' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Bill left the football' or both.,0,'Mary went to the bedroom' or 'Bill left the football' or both. It is impossible that Lily is green. It is unlikely that Mary went to the bedroom. It is highly unlikely that Emily is a mouse.,It is probably the case 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.0::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.05000000000000001,0.4118823764752951,train,highly unlikely,probably,It is highly unlikely that either 'Emily is a mouse' or 'Lily is green' but not both.,It is probably the case that either 'Emily is a mouse' or 'Lily is green' but not both.,0,Either 'Emily is a mouse' or 'Lily is green' but not both. It is probably not the case that Lily is a swan. We believe that Greg is white. Chances are about even that Julius is a lion.,Chances are about even that either 'Julius is a lion' or 'Lily is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.08161632326465293,train,about even,certain,Chances are about even that either 'Julius is a lion' or 'Lily is a swan' but not both.,It is certain that either 'Julius is a lion' or 'Lily is a swan' but not both.,1,Either 'Julius is a lion' or 'Lily is a swan' but not both. Chances are about even that Greg is yellow. It is highly unlikely that John discarded the milk. It is certain that Mary went to the hallway.,It is highly unlikely that either 'Mary 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.5::factA. 0.05::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.16343268653730747,train,about even,highly unlikely,Chances are about even that either 'Mary went to the hallway' or 'Greg is yellow' but not both.,It is highly unlikely that either 'Mary went to the hallway' or 'Greg is yellow' but not both.,0,Either 'Mary went to the hallway' or 'Greg is yellow' but not both. It is unlikely that John went to the garden. There is a better than even chance that Lily is gray. It is improbable that Greg is a frog.,It is almost certain that 'Lily 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.2::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.06,0.08801760352070415,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is gray and Greg is a frog'.,It is almost certain that 'Lily is gray and Greg is a frog'.,0,'Lily is gray and Greg is a frog'. It is probable that Brian is green. It is highly likely that Winona is a sheep. There is a better than even chance that Mary went to the hallway.,It is unlikely that 'Winona is a sheep' or 'Brian is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.21424284856971396,train,almost certain,unlikely,It is almost certain that 'Winona is a sheep' or 'Brian is green' or both.,It is unlikely that 'Winona is a sheep' or 'Brian is green' or both.,0,'Winona is a sheep' or 'Brian is green' or both. It is certain that Daniel got the milk. It is unlikely that Julius is a swan. There is almost no chance that Mary moved to the garden.,It is certain that 'Julius is a swan' 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 1.0::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.7361472294458892,train,certain,probably not,It is certain that 'Julius is a swan' or 'Daniel got the milk' or both.,It is probably not the case that 'Julius is a swan' or 'Daniel got the milk' or both.,1,'Julius is a swan' or 'Daniel got the milk' or both. It is likely that John moved to the garden. Chances are slight that Julius is gray. There is a very good chance that Brian is green.,There is a very good chance that 'Brian 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.1::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.3032606521304261,train,very good chance,almost no chance,There is a very good chance that 'Brian is green' or 'Julius is gray' or both.,There is almost no chance that 'Brian is green' or 'Julius is gray' or both.,1,'Brian is green' or 'Julius is gray' or both. There is little chance that Sandra got the football. Chances are about even that Bernhard is a swan. We believe that Jeff dropped the apple.,There is a very good chance that 'Jeff 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.1::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.2560512102420484,train,very good chance,little chance,There is a very good chance that 'Jeff dropped the apple' or 'Sandra got the football' or both.,There is little chance that 'Jeff dropped the apple' or 'Sandra got the football' or both.,1,'Jeff dropped the apple' or 'Sandra got the football' or both. There is little chance that Julius is a swan. Chances are slight that Mary moved to the garden. It is unlikely that Bill went to the office.,There is almost no chance that 'Julius is a swan 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.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.36107221444288856,train,almost no chance,probable,There is almost no chance that 'Julius is a swan and Bill went to the office'.,It is probable that 'Julius is a swan and Bill went to the office'.,1,'Julius is a swan and Bill went to the office'. It is certain that Julius is a rhino. Chances are about even that Mary got the milk. It is likely that Bernhard is a swan.,It is certain that 'Julius is a rhino' 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 1.0::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.6529305861172234,train,certain,impossible,It is certain that 'Julius is a rhino' or 'Mary got the milk' or both.,It is impossible that 'Julius is a rhino' or 'Mary got the milk' or both.,1,'Julius is a rhino' or 'Mary got the milk' or both. Chances are about even that Julius is yellow. It is certain that John grabbed the apple. There is almost no chance that Bernhard is white.,It is impossible 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.5::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.5081016203240648,train,certain,impossible,It is certain that 'Julius is yellow' or 'John grabbed the apple' or both.,It is impossible that 'Julius is yellow' or 'John grabbed the apple' or both.,0,'Julius is yellow' or 'John grabbed the apple' or both. There is a better than even chance that Greg is white. There is almost no chance that Lily is a swan. It is impossible that John discarded the milk.,There is a better than even chance that 'Greg is white' 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.02::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.6,0.11982396479295859,train,better than even,improbable,There is a better than even chance that 'Greg is white' or 'John discarded the milk' or both.,It is improbable that 'Greg is white' or 'John discarded the milk' or both.,1,'Greg is white' or 'John discarded the milk' or both. It is probably not the case that Greg is a rhino. It is impossible that Brian is a lion. It is certain that John moved to the garden.,Chances are about even that 'John 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.25::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.10602120424084817,train,impossible,about even,It is impossible that 'John moved to the garden and Brian is a lion'.,Chances are about even that 'John moved to the garden and Brian is a lion'.,0,'John moved to the garden and Brian is a lion'. It is improbable that Brian is green. It is probable that Lily is a frog. We doubt that Jason is tired.,It is probably not the case that 'Brian is green' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.3074614922984597,train,probably not,certain,It is probably not the case that 'Brian is green' or 'Jason is tired' or both.,It is certain that 'Brian is green' or 'Jason is tired' or both.,1,'Brian is green' or 'Jason is tired' or both. It is unlikely that Greg is a lion. It is probably the case that John put down the milk. There is little chance that Bernhard is a swan.,It is probable that 'John put down the milk 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.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.5785157031406282,train,improbable,probable,It is improbable that 'John put down the milk and Greg is a lion'.,It is probable that 'John put down the milk and Greg is a lion'.,0,'John put down the milk and Greg is a lion'. It is likely that Julius is a lion. We believe that Sandra left the apple. It is improbable that John went to the hallway.,Chances are about even that 'Sandra 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.5681136227245449,train,about even,certain,Chances are about even that 'Sandra left the apple and Julius is a lion'.,It is certain that 'Sandra left the apple and Julius is a lion'.,1,'Sandra left the apple and Julius is a lion'. Chances are slight that Bernhard is a frog. There is a better than even chance that Brian is yellow. Chances are slight that Mary dropped the milk.,There is a better than even chance that either 'Mary dropped the milk' 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.6::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.58,0.3244648929785957,train,better than even,impossible,There is a better than even chance that either 'Mary dropped the milk' or 'Brian is yellow' but not both.,It is impossible that either 'Mary dropped the milk' or 'Brian is yellow' but not both.,1,Either 'Mary dropped the milk' or 'Brian is yellow' but not both. There is a better than even chance that Lily is yellow. It is likely that Bill left the milk. There is little chance that John took the football.,It is almost certain that 'Lily is yellow 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.6::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.41999999999999993,0.5369073814762952,train,about even,almost certain,Chances are about even that 'Lily is yellow and Bill left the milk'.,It is almost certain that 'Lily is yellow and Bill left the milk'.,0,'Lily is yellow and Bill left the milk'. There is little chance that Emily is a wolf. We believe that Sandra left the football. Chances are about even that Julius is gray.,It is probably the case that 'Sandra 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.1::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07500000000000002,0.2484496899379876,train,little chance,probably,There is little chance that 'Sandra left the football and Emily is a wolf'.,It is probably the case that 'Sandra left the football and Emily is a wolf'.,0,'Sandra left the football and Emily is a wolf'. Chances are slight that John grabbed the apple. Chances are about even that Mary went to the bedroom. It is unlikely that Lily is green.,There is a better than even chance that 'Lily 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.1::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6,0.3310662132426485,train,better than even,impossible,There is a better than even chance that 'Lily is green' or 'Mary went to the bedroom' or both.,It is impossible that 'Lily is green' or 'Mary went to the bedroom' or both.,1,'Lily is green' or 'Mary went to the bedroom' or both. There is almost no chance that Brian is white. It is probably the case that Jessica is a mouse. There is almost no chance that Sandra got the milk.,Chances are about even that 'Sandra got the milk 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.02::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.7869573914782957,train,almost no chance,about even,There is almost no chance that 'Sandra got the milk and Jessica is a mouse'.,Chances are about even that 'Sandra got the milk and Jessica is a mouse'.,0,'Sandra got the milk and Jessica is a mouse'. There is a very good chance that Sandra left the football. There is little chance that Lily is gray. It is unlikely that Greg is a lion.,There is a very good chance that 'Sandra left the football' 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.1::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8200000000000001,0.272254450890178,train,very good chance,unlikely,There is a very good chance that 'Sandra left the football' or 'Lily is gray' or both.,It is unlikely that 'Sandra left the football' or 'Lily is gray' or both.,1,'Sandra left the football' or 'Lily is gray' or both. It is highly likely that Lily is a swan. It is unlikely that Brian is yellow. It is highly unlikely that John got the apple.,We believe 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.9::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.737747549509902,train,we believe,impossible,We believe that either 'Lily is a swan' or 'Brian is yellow' but not both.,It is impossible that either 'Lily is a swan' or 'Brian is yellow' but not both.,1,Either 'Lily is a swan' or 'Brian is yellow' but not both. It is almost certain that Lily is a swan. It is probably the case that John dropped the milk. Chances are about even that Brian is a rhino.,Chances are about even that either 'Lily 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.95::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.7237447489497899,train,about even,highly unlikely,Chances are about even that either 'Lily is a swan' or 'Brian is a rhino' but not both.,It is highly unlikely that either 'Lily is a swan' or 'Brian is a rhino' but not both.,1,Either 'Lily is a swan' or 'Brian is a rhino' but not both. It is almost certain that Mary went to the office. It is likely that Daniel got the milk. It is highly unlikely that Sandra took the football.,It is improbable 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.95::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6649999999999999,0.5107021404280856,train,likely,improbable,It is likely that 'Mary went to the office and Daniel got the milk'.,It is improbable that 'Mary went to the office and Daniel got the milk'.,0,'Mary went to the office and Daniel got the milk'. It is highly unlikely that Julius is a rhino. It is unlikely that Sandra took the football. It is probably not the case that Fred dropped the milk.,It is impossible that 'Sandra took the football' 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.05::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.4,0.5007001400280056,train,about even,impossible,Chances are about even that 'Sandra took the football' or 'Fred dropped the milk' or both.,It is impossible that 'Sandra took the football' or 'Fred dropped the milk' or both.,0,'Sandra took the football' or 'Fred dropped the milk' or both. There is a very good chance that Mary discarded the milk. It is improbable that Brian is green. There is almost no chance that Bernhard is a frog.,We believe that either 'Brian is green' or 'Mary discarded the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.21564312862572516,train,we believe,we doubt,We believe that either 'Brian is green' or 'Mary discarded the milk' but not both.,We doubt that either 'Brian is green' or 'Mary discarded the milk' but not both.,1,Either 'Brian is green' or 'Mary discarded the milk' but not both. It is almost certain that Greg is a rhino. It is certain that Lily is green. It is improbable that Mary is in the hallway.,It is impossible that either 'Mary is in the hallway' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9,0.7291458291658331,train,highly likely,impossible,It is highly likely that either 'Mary is in the hallway' or 'Lily is green' but not both.,It is impossible that either 'Mary is in the hallway' or 'Lily is green' but not both.,0,Either 'Mary is in the hallway' or 'Lily is green' but not both. We believe that Julius is green. Chances are slight that Greg is a lion. It is certain that Fred went to the office.,It is unlikely that 'Julius 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.75::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.75,0.28785757151430286,train,we believe,unlikely,We believe that 'Julius is green and Fred went to the office'.,It is unlikely that 'Julius is green and Fred went to the office'.,0,'Julius is green and Fred went to the office'. It is impossible that Greg is yellow. It is highly likely that Sandra left the apple. There is almost no chance that Bernhard is a frog.,It is highly likely that 'Bernhard 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. 0.9::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.018000000000000002,0.6213242648529705,train,almost no chance,highly likely,There is almost no chance that 'Bernhard is a frog and Sandra left the apple'.,It is highly likely that 'Bernhard is a frog and Sandra left the apple'.,0,'Bernhard is a frog and Sandra left the apple'. It is impossible that John discarded the apple. It is highly likely that Julius is yellow. It is probable that Brian is white.,It is highly likely that either 'John discarded the apple' 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. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.054210842168433686,train,highly likely,impossible,It is highly likely that either 'John discarded the apple' or 'Julius is yellow' but not both.,It is impossible that either 'John discarded the apple' or 'Julius is yellow' but not both.,1,Either 'John discarded the apple' or 'Julius is yellow' but not both. There is a very good chance that Brian is a frog. It is probable that John put down the milk. There is a very good chance that Julius is white.,There is a better than even chance that 'John put down the milk and Julius is white'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5599999999999999,0.38947789557911583,train,better than even,highly unlikely,There is a better than even chance that 'John put down the milk and Julius is white'.,It is highly unlikely that 'John put down the milk and Julius is white'.,1,'John put down the milk and Julius is white'. There is little chance that John put down the apple. There is almost no chance that Bernhard is a frog. We believe that Jessica is a mouse.,It is impossible that 'John put down 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.02::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0020000000000000005,0.2806561312262453,train,impossible,probable,It is impossible that 'John put down the apple and Bernhard is a frog'.,It is probable that 'John put down the apple and Bernhard is a frog'.,1,'John put down the apple and Bernhard is a frog'. It is highly likely that John left the football. There is a better than even chance that Julius is yellow. There is almost no chance that Winona is a sheep.,There is a better than even chance that either 'Julius is yellow' 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.9::factA. 0.6::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.596,0.20464092818563712,train,better than even,highly unlikely,There is a better than even chance that either 'Julius is yellow' or 'Winona is a sheep' but not both.,It is highly unlikely that either 'Julius is yellow' or 'Winona is a sheep' but not both.,1,Either 'Julius is yellow' or 'Winona is a sheep' but not both. It is improbable that Lily is white. It is unlikely that Brian is green. It is certain that John got the milk.,We believe that 'Brian is green' 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. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.7479495899179835,train,probably not,we believe,It is probably not the case that 'Brian is green' or 'Lily is white' or both.,We believe that 'Brian is green' or 'Lily is white' or both.,0,'Brian is green' or 'Lily is white' or both. There is little chance that Emily is a mouse. Chances are about even that Brian is a rhino. There is a very good chance that John took the apple.,Chances are slight that either 'John took the apple' 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.1::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.09721944388877776,train,we believe,chances are slight,We believe that either 'John took the apple' or 'Emily is a mouse' but not both.,Chances are slight that either 'John took the apple' or 'Emily is a mouse' but not both.,0,Either 'John took the apple' or 'Emily is a mouse' but not both. It is probably not the case that Gertrude is a sheep. There is a better than even chance that Daniel dropped the milk. Chances are slight that Julius is a lion.,It is probably not the case 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.25::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.6765353070614123,train,probably not,very good chance,It is probably not the case 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.,1,Either 'Gertrude is a sheep' or 'Julius is a lion' but not both. It is impossible that Mary moved to the garden. We believe that Lily is green. It is probable that Julius is yellow.,Chances are about even that either 'Julius 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.0::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.7611522304460893,train,about even,certain,Chances are about even that either 'Julius is yellow' or 'Lily is green' but not both.,It is certain that either 'Julius is yellow' or 'Lily is green' but not both.,1,Either 'Julius is yellow' or 'Lily is green' but not both. It is highly unlikely that Mary went to the hallway. It is likely that Lily is a frog. It is improbable that Jason is thirsty.,It is improbable that either 'Mary went to the hallway' 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.05::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.4912982596519304,train,improbable,very good chance,It is improbable that either 'Mary went to the hallway' or 'Jason is thirsty' but not both.,There is a very good chance that either 'Mary went to the hallway' or 'Jason is thirsty' but not both.,1,Either 'Mary went to the hallway' or 'Jason is thirsty' but not both. It is probable that Gertrude is a mouse. There is little chance that Julius is a rhino. It is probably the case that Brian is a swan.,We doubt that either 'Brian 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.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.1822364472894579,train,probably,we doubt,It is probably the case that either 'Brian is a swan' or 'Julius is a rhino' but not both.,We doubt that either 'Brian is a swan' or 'Julius is a rhino' but not both.,0,Either 'Brian is a swan' or 'Julius is a rhino' but not both. It is probably the case that Lily is a swan. There is a better than even chance that John picked up the apple. There is a better than even chance that Mary went to the kitchen.,Chances are slight that 'Mary 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.7::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.88,0.022204440888177635,train,highly likely,chances are slight,It is highly likely that 'Mary went to the kitchen' or 'Lily is a swan' or both.,Chances are slight that 'Mary went to the kitchen' or 'Lily is a swan' or both.,0,'Mary went to the kitchen' or 'Lily is a swan' or both. It is highly likely that Sandra took the football. It is unlikely that Julius is a lion. It is improbable that John moved to the garden.,It is probably not the case that 'Julius is a lion' 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.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.08561712342468494,train,probably not,probably,It is probably not the case that 'Julius is a lion' or 'John moved to the garden' or both.,It is probably the case that 'Julius is a lion' or 'John moved to the garden' or both.,1,'Julius is a lion' or 'John moved to the garden' or both. It is impossible that Mary moved to the office. There is a better than even chance that Julius is a swan. We doubt that Greg is a lion.,It is almost certain 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.0::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.20504100820164034,train,little chance,almost certain,There is little chance that 'Julius is a swan and Greg is a lion'.,It is almost certain that 'Julius is a swan and Greg is a lion'.,0,'Julius is a swan and Greg is a lion'. We believe that Gertrude is a mouse. It is highly likely that Daniel dropped the apple. Chances are about even that Lily is white.,There is almost no chance that 'Lily is white' or 'Daniel dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9500000000000001,0.5479095819163833,train,almost certain,almost no chance,It is almost certain that 'Lily is white' or 'Daniel dropped the apple' or both.,There is almost no chance that 'Lily is white' or 'Daniel dropped the apple' or both.,0,'Lily is white' or 'Daniel dropped the apple' or both. It is certain that Brian is yellow. It is certain that Mary went to the kitchen. There is a very good chance that Jeff discarded the milk.,There is a very good chance that 'Jeff discarded the milk 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 1.0::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.8,0.3706741348269654,train,very good chance,chances are slight,There is a very good chance that 'Jeff discarded the milk and Mary went to the kitchen'.,Chances are slight that 'Jeff discarded the milk and Mary went to the kitchen'.,1,'Jeff discarded the milk and Mary went to the kitchen'. It is certain that Antoine is bored. We doubt that Bernhard is a rhino. There is little chance that Brian is white.,It is impossible that 'Brian is white' 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 1.0::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.3804760952190438,train,certain,impossible,It is certain that 'Brian is white' or 'Antoine is bored' or both.,It is impossible that 'Brian is white' or 'Antoine is bored' or both.,0,'Brian is white' or 'Antoine is bored' or both. We doubt that John left the apple. It is probable that Brian is a frog. We believe that Julius is a rhino.,It is highly unlikely that either 'John left 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.2::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.6911382276455291,train,better than even,highly unlikely,There is a better than even chance that either 'John left the apple' or 'Brian is a frog' but not both.,It is highly unlikely that either 'John left the apple' or 'Brian is a frog' but not both.,0,Either 'John left the apple' or 'Brian is a frog' but not both. It is highly likely that Sandra got the milk. It is impossible that Gertrude is a sheep. There is a better than even chance that Brian is a rhino.,There is little chance 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.9::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.10622124424884977,train,highly likely,little chance,It is highly likely that either 'Sandra got the milk' or 'Gertrude is a sheep' but not both.,There is little chance that either 'Sandra got the milk' or 'Gertrude is a sheep' but not both.,0,Either 'Sandra got the milk' or 'Gertrude is a sheep' but not both. It is certain that John moved to the garden. It is highly likely that Lily is yellow. It is probable that Brian is a swan.,It is unlikely 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 1.0::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.97,0.0598119623924785,train,almost certain,unlikely,It is almost certain that 'Lily is yellow' or 'Brian is a swan' or both.,It is unlikely that 'Lily is yellow' or 'Brian is a swan' or both.,0,'Lily is yellow' or 'Brian is a swan' or both. It is probably not the case that Mary went to the bedroom. Chances are slight that John moved to the office. Chances are about even that Brian is yellow.,It is highly unlikely that 'John moved to the office 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.25::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.374874974994999,train,highly unlikely,better than even,It is highly unlikely that 'John moved to the office and Brian is yellow'.,There is a better than even chance that 'John moved to the office and Brian is yellow'.,1,'John moved to the office and Brian is yellow'. It is almost certain that Brian is yellow. We believe that John dropped the milk. Chances are about even that Julius is a swan.,It is probably not the case that either 'Brian 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.95::factA. 0.75::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.275,0.7971594318863773,train,probably not,certain,It is probably not the case that either 'Brian is yellow' or 'John dropped the milk' but not both.,It is certain that either 'Brian is yellow' or 'John dropped the milk' but not both.,1,Either 'Brian is yellow' or 'John dropped the milk' but not both. It is probably the case that Bernhard is a swan. There is a very good chance that Fred went to the office. It is improbable that Brian is a rhino.,We believe that 'Bernhard 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.7::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.13242648529705942,train,we believe,unlikely,We believe that 'Bernhard is a swan' or 'Brian is a rhino' or both.,It is unlikely that 'Bernhard is a swan' or 'Brian is a rhino' or both.,1,'Bernhard is a swan' or 'Brian is a rhino' or both. It is unlikely that Mary moved to the garden. It is probably not the case that Lily is a rhino. It is improbable that Antoine is bored.,It is probably not the case that 'Antoine 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.2::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.1878375675135027,train,probably not,probable,It is probably not the case that 'Antoine is bored' or 'Mary moved to the garden' or both.,It is probable that 'Antoine is bored' or 'Mary moved to the garden' or both.,1,'Antoine is bored' or 'Mary moved to the garden' or both. Chances are about even that Jessica is a cat. Chances are slight that John went to the kitchen. It is almost certain that Lily is a lion.,It is almost certain 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.5::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.4222844568913783,train,almost certain,about even,It is almost certain that 'John went to the kitchen' or 'Lily is a lion' or both.,Chances are about even 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. Chances are about even that Mary moved to the garden. We believe that Bernhard is yellow. It is improbable that Gertrude is a mouse.,It is impossible that 'Gertrude is a mouse' 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.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.4350870174034807,train,we believe,impossible,We believe that 'Gertrude is a mouse' or 'Bernhard is yellow' or both.,It is impossible that 'Gertrude is a mouse' or 'Bernhard is yellow' or both.,0,'Gertrude is a mouse' or 'Bernhard is yellow' or both. We believe that Brian is gray. It is almost certain that Greg is a rhino. Chances are about even that Gertrude is a wolf.,It is likely that 'Brian is gray 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.75::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.375,0.6035207041408281,train,probably not,likely,It is probably not the case that 'Brian is gray and Gertrude is a wolf'.,It is likely that 'Brian is gray and Gertrude is a wolf'.,0,'Brian is gray and Gertrude is a wolf'. It is certain that Gertrude is a cat. There is a better than even chance that Sandra left the milk. It is probable that John got the apple.,It is probably not the case that either 'John got 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 1.0::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.6557311462292459,train,probably not,certain,It is probably not the case that either 'John got the apple' or 'Gertrude is a cat' but not both.,It is certain that either 'John got the apple' or 'Gertrude is a cat' but not both.,1,Either 'John got the apple' or 'Gertrude is a cat' but not both. We doubt that Lily is green. There is little chance that Mary left the apple. There is a very good chance that Julius is gray.,It is improbable 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.2::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.68,0.508501700340068,train,probable,improbable,It is probable that either 'Lily is green' or 'Julius is gray' but not both.,It is improbable that either 'Lily is green' or 'Julius is gray' but not both.,0,Either 'Lily is green' or 'Julius is gray' but not both. It is improbable that Julius is a frog. It is almost certain that Brian is white. It is unlikely that Lily is a lion.,It is highly likely 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.1::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.3530706141228246,train,probably not,highly likely,It is probably not the case that either 'Julius is a frog' or 'Lily is a lion' but not both.,It is highly likely that either 'Julius is a frog' or 'Lily is a lion' but not both.,0,Either 'Julius is a frog' or 'Lily is a lion' but not both. We believe that Sandra dropped the milk. It is probably not the case that Jessica is a cat. It is probable that Greg is a lion.,There is a very good chance that 'Sandra 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.75::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8125000000000001,0.3682736547309462,train,very good chance,unlikely,There is a very good chance that 'Sandra dropped the milk' or 'Jessica is a cat' or both.,It is unlikely that 'Sandra dropped the milk' or 'Jessica is a cat' or both.,1,'Sandra dropped the milk' or 'Jessica is a cat' or both. There is a better than even chance that Mary moved to the office. It is likely that Winona is a wolf. It is almost certain that Brian is green.,There is a better than even 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.6::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.57,0.6889377875575114,train,better than even,impossible,There is a better than even chance that 'Brian is green and Mary moved to the office'.,It is impossible that 'Brian is green and Mary moved to the office'.,1,'Brian is green and Mary moved to the office'. There is almost no chance that John went to the hallway. It is likely that Lily is a swan. It is almost certain that Brian is green.,Chances are slight that 'Lily 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 0.02::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.7787557511502301,train,certain,chances are slight,It is certain that 'Lily is a swan' or 'Brian is green' or both.,Chances are slight that 'Lily is a swan' or 'Brian is green' or both.,0,'Lily is a swan' or 'Brian is green' or both. It is highly likely that Jessica is a wolf. We doubt that Mary went to the bedroom. There is a very good chance that Brian is yellow.,It is probably the case that 'Jessica 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.9::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7200000000000001,0.6987397479495899,train,probably,highly unlikely,It is probably the case that 'Jessica is a wolf and Brian is yellow'.,It is highly unlikely that 'Jessica is a wolf and Brian is yellow'.,1,'Jessica is a wolf and Brian is yellow'. It is highly likely that Greg is a frog. We doubt that Mary left the football. It is highly unlikely that John discarded the milk.,We doubt that 'Mary 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.9::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.18000000000000002,0.358871774354871,train,we doubt,certain,We doubt that 'Mary left the football and Greg is a frog'.,It is certain that 'Mary left the football and Greg is a frog'.,1,'Mary left the football and Greg is a frog'. It is highly likely that Greg is a swan. It is probably the case that John went to the office. Chances are about even that Lily is a lion.,There is little chance that 'Lily is a lion' 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.9::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8499999999999999,0.5195039007801561,train,very good chance,little chance,There is a very good chance that 'Lily is a lion' or 'John went to the office' or both.,There is little chance that 'Lily is a lion' or 'John went to the office' or both.,0,'Lily is a lion' or 'John went to the office' or both. It is highly likely that Mary left the football. It is probable that Sandra got the milk. There is a very good chance that Bernhard is green.,It is almost certain that 'Sandra got 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.9::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.94,0.13342668533706742,train,almost certain,unlikely,It is almost certain that 'Sandra got the milk' or 'Bernhard is green' or both.,It is unlikely that 'Sandra got the milk' or 'Bernhard is green' or both.,1,'Sandra got the milk' or 'Bernhard is green' or both. It is impossible that Gertrude is a mouse. It is probably the case that Mary dropped the apple. We doubt that Bernhard is yellow.,It is likely that 'Mary dropped 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.0::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.01840368073614723,train,impossible,likely,It is impossible that 'Mary dropped the apple and Gertrude is a mouse'.,It is likely that 'Mary dropped the apple and Gertrude is a mouse'.,0,'Mary dropped the apple and Gertrude is a mouse'. There is a very good chance that Bernhard is a rhino. There is little chance that Fred went to the garden. There is a very good chance that Lily is a lion.,There is a very good chance that 'Fred 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.8::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.08000000000000002,0.7973594718943788,train,little chance,very good chance,There is little chance that 'Fred went to the garden and Lily is a lion'.,There is a very good chance that 'Fred went to the garden and Lily is a lion'.,0,'Fred went to the garden and Lily is a lion'. It is impossible that Mary moved to the office. It is probably the case that John left the football. It is likely that Brian is a frog.,It is probably the case that 'Mary moved 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.0::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.3196639327865573,train,probably,we doubt,It is probably the case that 'Mary moved to the office' or 'John left the football' or both.,We doubt that 'Mary moved to the office' or 'John left the football' or both.,1,'Mary moved to the office' or 'John left the football' or both. There is a very good chance that Bernhard is a lion. It is unlikely that Mary went to the kitchen. It is unlikely that Lily is a swan.,It is likely that either 'Bernhard is a lion' or 'Lily is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.68,0.07381476295259051,train,likely,impossible,It is likely that either 'Bernhard is a lion' or 'Lily is a swan' but not both.,It is impossible that either 'Bernhard is a lion' or 'Lily is a swan' but not both.,1,Either 'Bernhard is a lion' or 'Lily is a swan' but not both. It is certain that Bill got the milk there. There is a better than even chance that John grabbed the apple. It is almost certain that Greg is a swan.,It is almost certain that 'Greg is a swan 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 1.0::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.95,0.03080616123224645,train,almost certain,probably not,It is almost certain that 'Greg is a swan and Bill got the milk there'.,It is probably not the case that 'Greg is a swan and Bill got the milk there'.,1,'Greg is a swan and Bill got the milk there'. There is little chance that Bernhard is white. It is highly unlikely that Greg is a lion. It is improbable that Jessica is a cat.,It is impossible that 'Bernhard 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.1::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.005000000000000002,0.7007401480296059,train,impossible,certain,It is impossible that 'Bernhard is white and Greg is a lion'.,It is certain that 'Bernhard is white and Greg is a lion'.,1,'Bernhard is white and Greg is a lion'. There is almost no chance that Lily is green. It is unlikely that Daniel grabbed the milk. It is probably not the case that Brian is a swan.,It is impossible that 'Lily 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.02::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.005000000000000002,0.7319463892778556,train,impossible,better than even,It is impossible that 'Lily is green and Brian is a swan'.,There is a better than even chance that 'Lily is green and Brian is a swan'.,1,'Lily is green and Brian is a swan'. We believe that Gertrude is a sheep. Chances are slight that Greg is white. It is certain that Sandra dropped the apple.,It is improbable that either 'Sandra dropped 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.1::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9,0.08681736347269454,train,highly likely,improbable,It is highly likely that either 'Sandra dropped the apple' or 'Greg is white' but not both.,It is improbable that either 'Sandra dropped the apple' or 'Greg is white' but not both.,0,Either 'Sandra dropped the apple' or 'Greg is white' but not both. There is a very good chance that Emily is a mouse. It is highly likely that Bill went to the bedroom. It is highly unlikely that Greg is white.,It is unlikely that 'Greg 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.8::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.81,0.14822964592918583,train,very good chance,unlikely,There is a very good chance that 'Greg is white' or 'Emily is a mouse' or both.,It is unlikely that 'Greg is white' or 'Emily is a mouse' or both.,0,'Greg is white' or 'Emily is a mouse' or both. There is almost no chance that Bernhard is gray. It is probably not the case that John went to the office. We believe that Mary grabbed the milk.,It is probably the case that 'Mary grabbed 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.02::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014999999999999998,0.123624724944989,train,almost no chance,probably,There is almost no chance that 'Mary grabbed the milk and Bernhard is gray'.,It is probably the case that 'Mary grabbed the milk and Bernhard is gray'.,0,'Mary grabbed the milk and Bernhard is gray'. Chances are slight that Brian is yellow. It is almost certain that Mary dropped the apple. It is improbable that Julius is a rhino.,It is highly likely that either 'Mary dropped 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.95::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.86,0.04320864172834567,train,highly likely,almost no chance,It is highly likely that either 'Mary dropped the apple' or 'Brian is yellow' but not both.,There is almost no chance that either 'Mary dropped the apple' or 'Brian is yellow' but not both.,1,Either 'Mary dropped the apple' or 'Brian is yellow' but not both. It is impossible that Julius is a lion. There is little chance that Mary discarded the apple. There is a better than even chance that John went to the office.,It is probable that 'John went to the office 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.0::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.4802960592118424,train,impossible,probable,It is impossible that 'John went to the office and Julius is a lion'.,It is probable that 'John went to the office and Julius is a lion'.,0,'John went to the office and Julius is a lion'. It is probably not the case that Lily is white. Chances are slight that Sandra took the football. It is probably not the case that Mary grabbed the milk.,There is a better than even chance that 'Lily is white 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.25::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.48089617923584715,train,almost no chance,better than even,There is almost no chance that 'Lily is white and Sandra took the football'.,There is a better than even chance that 'Lily is white and Sandra took the football'.,0,'Lily is white and Sandra took the football'. It is impossible that Gertrude is a mouse. It is highly likely that Jason is tired. It is probable that John took the apple.,It is almost certain that 'John took 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.0::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.7513502700540108,train,almost certain,probably not,It is almost certain that 'John took the apple' or 'Jason is tired' or both.,It is probably not the case that 'John took the apple' or 'Jason is tired' or both.,1,'John took the apple' or 'Jason is tired' or both. There is little chance that Bernhard is a swan. Chances are slight that Jeff dropped the apple. It is unlikely that Julius is gray.,There is almost no chance that 'Bernhard is a swan 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.76375275055011,train,almost no chance,better than even,There is almost no chance that 'Bernhard is a swan and Julius is gray'.,There is a better than even chance that 'Bernhard is a swan and Julius is gray'.,1,'Bernhard is a swan and Julius is gray'. There is a very good chance that Bernhard is white. It is unlikely that Fred went to the garden. It is impossible that Daniel grabbed the apple.,We believe that 'Daniel grabbed 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.8::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.2,0.5197039407881576,train,we doubt,we believe,We doubt that 'Daniel grabbed the apple' or 'Fred went to the garden' or both.,We believe that 'Daniel grabbed the apple' or 'Fred went to the garden' or both.,0,'Daniel grabbed the apple' or 'Fred went to the garden' or both. There is almost no chance that Mary took the football. Chances are slight that Jason is tired. It is highly unlikely that Julius is a rhino.,We believe that either 'Julius is a rhino' 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.02::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.068,0.10742148429685937,train,highly unlikely,we believe,It is highly unlikely that either 'Julius is a rhino' or 'Mary took the football' but not both.,We believe that either 'Julius is a rhino' or 'Mary took the football' but not both.,0,Either 'Julius is a rhino' or 'Mary took the football' but not both. It is almost certain that Lily is green. It is probably not the case that John picked up the apple. It is highly likely that Greg is white.,There is little chance that either 'Lily 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.95::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.7751550310062012,train,little chance,certain,There is little chance that either 'Lily is green' or 'Greg is white' but not both.,It is certain that either 'Lily is green' or 'Greg is white' but not both.,1,Either 'Lily is green' or 'Greg is white' but not both. It is likely that Bernhard is green. It is probable that Sandra took the milk. It is impossible that Mary went to the garden.,It is impossible that 'Bernhard is green 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.7::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.612122424484897,train,about even,impossible,Chances are about even that 'Bernhard is green and Sandra took the milk'.,It is impossible that 'Bernhard is green and Sandra took the milk'.,0,'Bernhard is green and Sandra took the milk'. It is likely that Mary went to the hallway. It is highly unlikely that Bernhard is white. There is almost no chance that John left the milk.,There is almost no chance that 'John left the milk 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.05::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.6693338667733547,train,almost no chance,almost certain,There is almost no chance that 'John left the milk and Mary went to the hallway'.,It is almost certain that 'John left the milk and Mary went to the hallway'.,1,'John left the milk and Mary went to the hallway'. Chances are about even that Daniel dropped the apple. It is improbable that Brian is a frog. It is likely that Mary grabbed the milk.,Chances are about even that either 'Daniel dropped 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.5::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.1888377675535107,train,about even,almost no chance,Chances are about even that either 'Daniel dropped the apple' or 'Brian is a frog' but not both.,There is almost no chance that either 'Daniel dropped the apple' or 'Brian is a frog' but not both.,1,Either 'Daniel dropped the apple' or 'Brian is a frog' but not both. Chances are about even that Sandra left the milk. It is almost certain that Greg is white. It is unlikely that Bernhard is a rhino.,It is certain that 'Sandra left 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.5::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.475,0.7753550710142029,train,about even,certain,Chances are about even that 'Sandra left the milk and Greg is white'.,It is certain that 'Sandra left the milk and Greg is white'.,0,'Sandra left the milk and Greg is white'. There is a better than even chance that Sandra left the apple. It is likely that Emily is a wolf. It is unlikely that Mary put down the apple.,It is probably not the case that 'Sandra left 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.6::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.88,0.495499099819964,train,highly likely,probably not,It is highly likely that 'Sandra left the apple' or 'Emily is a wolf' or both.,It is probably not the case that 'Sandra left the apple' or 'Emily is a wolf' or both.,0,'Sandra left the apple' or 'Emily is a wolf' or both. It is likely that Jessica is a mouse. It is highly likely that Julius is a rhino. Chances are slight that Greg is gray.,It is highly unlikely that 'Greg 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.40188037607521504,train,highly unlikely,about even,It is highly unlikely that 'Greg is gray and Jessica is a mouse'.,Chances are about even that 'Greg is gray and Jessica is a mouse'.,1,'Greg is gray and Jessica is a mouse'. Chances are about even that Mary got the milk. It is probably not the case that John went to the bedroom. There is a better than even chance that Brian is a frog.,We believe 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.5::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.12500000000000003,0.5281056211242249,train,chances are slight,we believe,Chances are slight that 'John went to the bedroom and Mary got the milk'.,We believe that 'John went to the bedroom and Mary got the milk'.,0,'John went to the bedroom and Mary got the milk'. There is almost no chance that Mary took the milk. Chances are slight that Bernhard is white. It is certain that Greg is a frog.,There is a very good chance that either 'Mary took 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.02::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.116,0.7163432686537308,train,chances are slight,very good chance,Chances are slight that either 'Mary took the milk' or 'Bernhard is white' but not both.,There is a very good chance that either 'Mary took the milk' or 'Bernhard is white' but not both.,0,Either 'Mary took the milk' or 'Bernhard is white' but not both. It is almost certain that Mary discarded the milk. It is improbable that Sandra took the football. There is a better than even chance that Bernhard is a swan.,There is a better than even chance that 'Bernhard is a swan 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.95::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.57,0.40668133626725345,train,better than even,impossible,There is a better than even chance that 'Bernhard is a swan and Mary discarded the milk'.,It is impossible that 'Bernhard is a swan and Mary discarded the milk'.,1,'Bernhard is a swan and Mary discarded the milk'. Chances are about even that John put down the apple. It is impossible that Greg is a lion. There is almost no chance that Lily is green.,Chances are about even 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.5::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.11602320464092819,train,almost no chance,about even,There is almost no chance that 'Lily is green and John put down the apple'.,Chances are about even that 'Lily is green and John put down the apple'.,0,'Lily is green and John put down the apple'. There is a very good chance that Mary grabbed the milk. We doubt that Bill went to the garden. It is likely that Julius is white.,There is a better than even chance that either 'Julius is white' or 'Bill went to the garden' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.12142428485697139,train,better than even,chances are slight,There is a better than even chance that either 'Julius is white' or 'Bill went to the garden' but not both.,Chances are slight that either 'Julius is white' or 'Bill went to the garden' but not both.,1,Either 'Julius is white' or 'Bill went to the garden' but not both. We doubt that Sumit is thirsty. There is a better than even chance that Bernhard is green. It is almost certain that Brian is yellow.,There is almost no chance 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.2::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.41000000000000003,0.22584516903380678,train,about even,almost no chance,Chances are about even that either 'Brian is yellow' or 'Bernhard is green' but not both.,There is almost no chance that either 'Brian is yellow' or 'Bernhard is green' but not both.,0,Either 'Brian is yellow' or 'Bernhard is green' but not both. It is highly likely that Sandra took the football. We believe that Bernhard is a rhino. There is little chance that Fred moved to the office.,There is a very good chance that either 'Fred moved to the office' 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.9::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.82,0.08081616323264652,train,very good chance,almost no chance,There is a very good chance that either 'Fred moved to the office' or 'Sandra took the football' but not both.,There is almost no chance that either 'Fred moved to the office' or 'Sandra took the football' but not both.,1,Either 'Fred moved to the office' or 'Sandra took the football' but not both. It is unlikely that Emily is a wolf. There is a very good chance that Greg is a rhino. There is a better than even chance that John picked up the apple.,It is highly likely that 'John picked up 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.2::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9199999999999999,0.7831566313262652,train,highly likely,probably not,It is highly likely that 'John picked up the apple' or 'Greg is a rhino' or both.,It is probably not the case that 'John picked up the apple' or 'Greg is a rhino' or both.,1,'John picked up the apple' or 'Greg is a rhino' or both. Chances are slight that Bill went to the kitchen. There is little chance that Sandra dropped the milk. There is almost no chance that Julius is gray.,It is impossible that 'Bill went to the kitchen 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.046609321864372874,train,impossible,likely,It is impossible that 'Bill went to the kitchen and Julius is gray'.,It is likely that 'Bill went to the kitchen and Julius is gray'.,1,'Bill went to the kitchen and Julius is gray'. It is probably not the case that Bill went to the bedroom. It is highly unlikely that Brian is yellow. It is unlikely that Gertrude is a sheep.,There is a better than even chance that 'Brian is yellow and Gertrude is a sheep'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.268253650730146,train,almost no chance,better than even,There is almost no chance that 'Brian is yellow and Gertrude is a sheep'.,There is a better than even chance that 'Brian is yellow and Gertrude is a sheep'.,0,'Brian is yellow and Gertrude is a sheep'. There is a better than even chance that Mary left the apple. It is impossible that Jessica is a mouse. Chances are slight that Julius is a swan.,It is impossible that 'Jessica 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.6::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.5843168633726745,train,impossible,very good chance,It is impossible that 'Jessica is a mouse and Julius is a swan'.,There is a very good chance that 'Jessica is a mouse and Julius is a swan'.,1,'Jessica is a mouse and Julius is a swan'. It is highly unlikely that Sandra got the milk. It is impossible that John went to the hallway. It is improbable that Bernhard is gray.,It is impossible that 'Bernhard is gray and Sandra got the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.40268053610722143,train,impossible,certain,It is impossible that 'Bernhard is gray and Sandra got the milk'.,It is certain that 'Bernhard is gray and Sandra got the milk'.,1,'Bernhard is gray and Sandra got the milk'. It is probable that Mary went to the office. It is likely that Greg is a frog. There is almost no chance that Emily is a cat.,There is almost no chance that either 'Emily 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.692,0.5529105821164233,train,likely,almost no chance,It is likely that either 'Emily is a cat' or 'Greg is a frog' but not both.,There is almost no chance that either 'Emily is a cat' or 'Greg is a frog' but not both.,0,Either 'Emily is a cat' or 'Greg is a frog' but not both. It is probably the case that Greg is a rhino. It is likely that John went to the bedroom. We doubt that Bernhard is yellow.,It is almost certain that either 'Greg is a rhino' 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.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.5137027405481096,train,about even,almost certain,Chances are about even that either 'Greg is a rhino' or 'John went to the bedroom' but not both.,It is almost certain that either 'Greg is a rhino' or 'John went to the bedroom' but not both.,0,Either 'Greg is a rhino' or 'John went to the bedroom' but not both. It is unlikely that Fred went to the garden. Chances are about even that Bernhard is yellow. There is little chance that Greg is yellow.,Chances are about even that either 'Bernhard is yellow' 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.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.35727145429085816,train,about even,almost certain,Chances are about even that either 'Bernhard is yellow' or 'Fred went to the garden' but not both.,It is almost certain that either 'Bernhard is yellow' or 'Fred went to the garden' but not both.,1,Either 'Bernhard is yellow' or 'Fred went to the garden' but not both. It is probable that Julius is white. It is highly unlikely that Greg is green. There is little chance that John went to the kitchen.,There is little chance that 'Julius is white' 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.6289257851570315,train,probable,little chance,It is probable that 'Julius is white' or 'Greg is green' or both.,There is little chance that 'Julius is white' or 'Greg is green' or both.,0,'Julius is white' or 'Greg is green' or both. It is almost certain that Julius is a lion. We doubt that Sandra grabbed the milk. We believe that Bernhard is a swan.,We believe that 'Sandra grabbed 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.95::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.19,0.46169233846769353,train,unlikely,we believe,It is unlikely that 'Sandra grabbed the milk and Julius is a lion'.,We believe that 'Sandra grabbed the milk and Julius is a lion'.,0,'Sandra grabbed the milk and Julius is a lion'. It is certain that John went to the hallway. There is almost no chance that Emily is a mouse. Chances are slight that Yann is tired.,There is little chance that 'John went to the hallway 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 1.0::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.33646729345869175,train,little chance,certain,There is little chance that 'John went to the hallway and Yann is tired'.,It is certain that 'John went to the hallway and Yann is tired'.,1,'John went to the hallway and Yann is tired'. We believe that Brian is a lion. It is probably not the case that Julius is white. It is improbable that Mary left the football.,We doubt 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.75::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.1875,0.39827965593118625,train,we doubt,almost certain,We doubt that 'Brian is a lion and Julius is white'.,It is almost certain that 'Brian is a lion and Julius is white'.,1,'Brian is a lion and Julius is white'. Chances are slight that Jessica is a cat. We doubt that Julius is a frog. We doubt that Brian is green.,We believe that 'Jessica is a cat 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.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.4444888977795559,train,almost no chance,we believe,There is almost no chance that 'Jessica is a cat and Julius is a frog'.,We believe that 'Jessica is a cat and Julius is a frog'.,0,'Jessica is a cat and Julius is a frog'. It is highly likely that Fred went to the garden. Chances are slight that Lily is a frog. Chances are slight that Mary got the milk.,It is likely that 'Lily is a frog' 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.9::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.7041408281656332,train,unlikely,likely,It is unlikely that 'Lily is a frog' or 'Mary got the milk' or both.,It is likely that 'Lily is a frog' or 'Mary got the milk' or both.,0,'Lily is a frog' or 'Mary got the milk' or both. It is impossible that Fred discarded the apple. Chances are about even that John moved to the office. We doubt that Brian is gray.,It is unlikely that either 'Fred discarded 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.0::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.2,0.5377075415083017,train,unlikely,very good chance,It is unlikely that either 'Fred discarded the apple' or 'Brian is gray' but not both.,There is a very good chance that either 'Fred discarded the apple' or 'Brian is gray' but not both.,1,Either 'Fred discarded the apple' or 'Brian is gray' but not both. It is impossible that Bernhard is gray. It is probably the case that Lily is a frog. It is improbable that Jeff moved to the garden.,It is probably the case that either 'Lily 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.0::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.6785357071414283,train,probably,chances are slight,It is probably the case that either 'Lily is a frog' or 'Jeff moved to the garden' but not both.,Chances are slight that either 'Lily is a frog' or 'Jeff moved to the garden' but not both.,1,Either 'Lily is a frog' or 'Jeff moved to the garden' but not both. It is almost certain that Yann is bored. Chances are about even that John got the apple. We believe that Lily is a swan.,It is almost certain that 'John got 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.95::factA. 0.5::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.375,0.33666733346669336,train,about even,almost certain,Chances are about even that 'John got the apple and Lily is a swan'.,It is almost certain that 'John got the apple and Lily is a swan'.,0,'John got the apple and Lily is a swan'. It is highly unlikely that Mary went to the office. It is highly likely that Julius is a rhino. We doubt that John moved to the garden.,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.05::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.7719543908781756,train,almost no chance,almost certain,There is almost no chance 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'. There is little chance that Julius is a lion. It is highly unlikely that John dropped the milk. It is almost certain that Brian is yellow.,It is highly unlikely that 'Julius 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.1::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.955,0.1932386477295459,train,almost certain,highly unlikely,It is almost certain that 'Julius is a lion' or 'Brian is yellow' or both.,It is highly unlikely that 'Julius is a lion' or 'Brian is yellow' or both.,0,'Julius is a lion' or 'Brian is yellow' or both. It is impossible that Mary discarded the apple. It is almost certain that Brian is green. It is certain that Sumit is tired.,There is almost no chance that 'Mary discarded 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.0::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.95,0.6897379475895179,train,almost certain,almost no chance,It is almost certain that 'Mary discarded the apple' or 'Brian is green' or both.,There is almost no chance that 'Mary discarded the apple' or 'Brian is green' or both.,0,'Mary discarded the apple' or 'Brian is green' or both. It is likely that Lily is a frog. It is unlikely that Julius is a rhino. There is a better than even chance that Brian is yellow.,There is little chance that either 'Lily is a frog' 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.2::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.35327065413082614,train,better than even,little chance,There is a better than even chance that either 'Lily is a frog' or 'Julius is a rhino' but not both.,There is little chance that either 'Lily is a frog' or 'Julius is a rhino' but not both.,0,Either 'Lily is a frog' or 'Julius is a rhino' but not both. It is likely that Mary got the football. It is unlikely that Julius is a lion. We believe that Brian is yellow.,It is impossible that 'Julius is a lion' 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.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.10062012402480495,train,we believe,impossible,We believe that 'Julius is a lion' or 'Mary got the football' or both.,It is impossible that 'Julius is a lion' or 'Mary got the football' or both.,0,'Julius is a lion' or 'Mary got the football' or both. It is likely that Lily is yellow. It is highly likely that Mary left the football. It is improbable that Julius is a frog.,It is likely 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.6929385877175435,train,likely,impossible,It is likely that either 'Julius is a frog' or 'Lily is yellow' but not both.,It is impossible 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. It is probably not the case that Brian is gray. We doubt that Jeff moved to the garden. It is probably not the case that Gertrude is a cat.,It is certain that 'Jeff 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.25::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.07561512302460492,train,highly unlikely,certain,It is highly unlikely that 'Jeff moved to the garden and Gertrude is a cat'.,It is certain that 'Jeff moved to the garden and Gertrude is a cat'.,0,'Jeff moved to the garden and Gertrude is a cat'. We doubt that Sandra got the football. There is little chance that Brian is a rhino. It is certain that Julius is gray.,There is a very good chance that either 'Julius 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.2::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.5779155831166233,train,very good chance,impossible,There is a very good chance that either 'Julius is gray' or 'Sandra got the football' but not both.,It is impossible that either 'Julius is gray' or 'Sandra got the football' but not both.,1,Either 'Julius is gray' or 'Sandra got the football' but not both. Chances are slight that Lily is green. There is almost no chance that Jeff moved to the garden. It is likely that John went to the office.,It is impossible that either 'Lily is green' 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.1::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.38967793558711744,train,probably,impossible,It is probably the case that either 'Lily is green' or 'John went to the office' but not both.,It is impossible that either 'Lily is green' or 'John went to the office' but not both.,0,Either 'Lily is green' or 'John went to the office' but not both. It is almost certain that Jessica is a mouse. It is certain that Bernhard is a frog. It is certain that Fred left the football.,It is certain that 'Fred left the football' 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. 1.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.7913582716543308,train,certain,probably not,It is certain that 'Fred left the football' or 'Jessica is a mouse' or both.,It is probably not the case that 'Fred left the football' or 'Jessica is a mouse' or both.,1,'Fred left the football' or 'Jessica is a mouse' or both. It is probably not the case that Greg is yellow. We doubt that Sandra got the milk. There is a very good chance that Jessica is a sheep.,It is certain that 'Sandra got 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.25::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.3014602920584117,train,highly unlikely,certain,It is highly unlikely that 'Sandra got the milk and Greg is yellow'.,It is certain that 'Sandra got the milk and Greg is yellow'.,0,'Sandra got the milk and Greg is yellow'. It is unlikely that Sandra got the football. Chances are about even that Greg is yellow. It is impossible that Mary went to the bedroom.,It is unlikely that either 'Mary went to the bedroom' 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.5::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.23764752950590118,train,unlikely,probable,It is unlikely that either 'Mary went to the bedroom' or 'Sandra got the football' but not both.,It is probable that either 'Mary went to the bedroom' or 'Sandra got the football' but not both.,1,Either 'Mary went to the bedroom' or 'Sandra got the football' but not both. Chances are slight that John left the football. Chances are slight that Lily is a frog. It is unlikely that Greg is a lion.,There is almost no chance that 'Greg 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.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.3050610122024405,train,almost no chance,very good chance,There is almost no chance that 'Greg is a lion and Lily is a frog'.,There is a very good chance that 'Greg is a lion and Lily is a frog'.,1,'Greg is a lion and Lily is a frog'. It is highly likely that John went to the garden. Chances are slight that Julius is yellow. Chances are slight that Brian is white.,It is improbable that 'Julius 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.1::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.34586917383476695,train,improbable,better than even,It is improbable that 'Julius is yellow and John went to the garden'.,There is a better than even chance that 'Julius is yellow and John went to the garden'.,1,'Julius is yellow and John went to the garden'. It is highly unlikely that Julius is a swan. We believe that Bernhard is a frog. There is little chance that Gertrude is a mouse.,It is probably the case that either 'Bernhard is a frog' 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.75::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.6309261852370475,train,probably,chances are slight,It is probably the case that either 'Bernhard is a frog' or 'Gertrude is a mouse' but not both.,Chances are slight that either 'Bernhard is a frog' or 'Gertrude is a mouse' but not both.,1,Either 'Bernhard is a frog' or 'Gertrude is a mouse' but not both. There is little chance that Bernhard is a swan. We doubt that Mary discarded the milk. It is almost certain that Brian is a swan.,We believe that 'Mary discarded 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.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.3844768953790758,train,almost no chance,we believe,There is almost no chance that 'Mary discarded the milk and Bernhard is a swan'.,We believe that 'Mary discarded the milk and Bernhard is a swan'.,0,'Mary discarded the milk and Bernhard is a swan'. We doubt that Bernhard is gray. There is a very good chance that Winona is a sheep. It is highly likely that Lily is a rhino.,We doubt that 'Lily 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.2::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7200000000000001,0.7555511102220445,train,likely,we doubt,It is likely that 'Lily is a rhino and Winona is a sheep'.,We doubt that 'Lily is a rhino and Winona is a sheep'.,0,'Lily is a rhino and Winona is a sheep'. It is probably not the case that Bernhard is gray. It is probable that Brian is a rhino. It is almost certain that Sandra took the football.,We believe that 'Bernhard 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.25::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.7071414282856572,train,we believe,unlikely,We believe that 'Bernhard is gray' or 'Brian is a rhino' or both.,It is unlikely that 'Bernhard is gray' or 'Brian is a rhino' or both.,1,'Bernhard is gray' or 'Brian is a rhino' or both. It is unlikely that Lily is a rhino. Chances are about even that Mary went to the hallway. It is improbable that Bernhard is gray.,There is a better than even chance that 'Lily 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.2::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.6,0.36027205441088217,train,better than even,impossible,There is a better than even chance that 'Lily is a rhino' or 'Mary went to the hallway' or both.,It is impossible that 'Lily is a rhino' or 'Mary went to the hallway' or both.,1,'Lily is a rhino' or 'Mary went to the hallway' or both. It is highly likely that Brian is a swan. It is highly unlikely that Mary put down the apple. We doubt that Greg is a rhino.,It is probably not the case that either 'Mary put down the apple' or 'Greg is a rhino' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.636127225445089,train,probably not,highly likely,It is probably not the case that either 'Mary put down the apple' or 'Greg is a rhino' but not both.,It is highly likely that either 'Mary put down the apple' or 'Greg is a rhino' but not both.,1,Either 'Mary put down the apple' or 'Greg is a rhino' but not both. It is likely that John went to the garden. It is likely that Mary left the apple. It is probable that Lily is white.,Chances are about even that either 'Mary left 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.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.42,0.11542308461692338,train,about even,highly unlikely,Chances are about even that either 'Mary left the apple' or 'Lily is white' but not both.,It is highly unlikely that either 'Mary left the apple' or 'Lily is white' but not both.,1,Either 'Mary left the apple' or 'Lily is white' but not both. It is highly unlikely that Mary moved to the garden. Chances are slight that Bernhard is yellow. There is almost no chance that Brian is a swan.,It is impossible that 'Mary 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.05::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.005000000000000002,0.05641128225645129,train,impossible,about even,It is impossible that 'Mary moved to the garden and Bernhard is yellow'.,Chances are about even that 'Mary moved to the garden and Bernhard is yellow'.,1,'Mary moved to the garden and Bernhard is yellow'. There is little chance that Greg is green. It is likely that Brian is a rhino. It is impossible that John dropped the apple.,It is highly likely that either 'Greg is green' 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.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.10000000000000002,0.1248249649929986,train,little chance,highly likely,There is little chance that either 'Greg is green' or 'John dropped the apple' but not both.,It is highly likely that either 'Greg is green' or 'John dropped the apple' but not both.,0,Either 'Greg is green' or 'John dropped the apple' but not both. It is highly likely that Lily is yellow. We doubt that Greg is a swan. We believe that John got the milk.,It is highly likely that 'Lily is yellow' 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.2::factB. 0.75::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.92,0.14702940588117624,train,highly likely,unlikely,It is highly likely that 'Lily is yellow' or 'Greg is a swan' or both.,It is unlikely that 'Lily is yellow' or 'Greg is a swan' or both.,1,'Lily is yellow' or 'Greg is a swan' or both. It is highly likely that Mary got the milk. We believe that John picked up the apple. It is highly likely that Bill went to the kitchen.,It is impossible that 'Mary got the milk 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.9::factA. 0.75::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.81,0.5087017403480696,train,very good chance,impossible,There is a very good chance that 'Mary got the milk and Bill went to the kitchen'.,It is impossible that 'Mary got the milk and Bill went to the kitchen'.,0,'Mary got the milk and Bill went to the kitchen'. We doubt that Greg is yellow. It is probable that Mary left the apple. We believe that Julius is white.,It is probably the case that either 'Greg 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.2::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.65,0.136627325465093,train,probably,unlikely,It is probably the case that either 'Greg is yellow' or 'Julius is white' but not both.,It is unlikely that either 'Greg is yellow' or 'Julius is white' but not both.,1,Either 'Greg is yellow' or 'Julius is white' but not both. We believe that Antoine is hungry. It is likely that Lily is a frog. It is improbable that John went to the hallway.,It is certain that either 'Lily 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.13742748549709943,train,about even,certain,Chances are about even that either 'Lily is a frog' or 'Antoine is hungry' but not both.,It is certain that either 'Lily is a frog' or 'Antoine is hungry' but not both.,0,Either 'Lily is a frog' or 'Antoine is hungry' but not both. It is probably not the case that Brian is a lion. It is highly unlikely that Daniel left the apple. It is unlikely that Lily is a swan.,It is probably not the case that either 'Brian is a lion' 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.25::factA. 0.05::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.27499999999999997,0.503500700140028,train,probably not,certain,It is probably not the case that either 'Brian is a lion' or 'Daniel left the apple' but not both.,It is certain that either 'Brian is a lion' or 'Daniel left the apple' but not both.,1,Either 'Brian is a lion' or 'Daniel left the apple' but not both. It is highly unlikely that Julius is a rhino. Chances are slight that John dropped the apple. It is highly unlikely that Bernhard is a lion.,It is likely that 'John dropped the apple' or 'Bernhard is a lion' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.14500000000000005,0.5537107421484296,train,little chance,likely,There is little chance that 'John dropped the apple' or 'Bernhard is a lion' or both.,It is likely that 'John dropped the apple' or 'Bernhard is a lion' or both.,0,'John dropped the apple' or 'Bernhard is a lion' or both. It is improbable that Brian is green. There is almost no chance that Bernhard is a lion. Chances are about even that Lily is a rhino.,There is a better than even chance that 'Brian is green' 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.02::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.55,0.10942188437687538,train,better than even,little chance,There is a better than even chance that 'Brian is green' or 'Lily is a rhino' or both.,There is little chance that 'Brian is green' or 'Lily is a rhino' or both.,1,'Brian is green' or 'Lily is a rhino' or both. It is impossible that John put down the apple. It is probably the case that Mary went to the hallway. We believe that Julius is gray.,Chances are about even that 'Julius is gray 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.0::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.6583316663332667,train,about even,almost certain,Chances are about even that 'Julius is gray and Mary went to the hallway'.,It is almost certain that 'Julius is gray and Mary went to the hallway'.,1,'Julius is gray and Mary went to the hallway'. We believe that Jessica is a cat. We doubt that Daniel put down the milk. It is likely that John moved to the garden.,It is probable that either 'Daniel put down 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.75::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.07081416283256652,train,probable,unlikely,It is probable that either 'Daniel put down the milk' or 'Jessica is a cat' but not both.,It is unlikely that either 'Daniel put down the milk' or 'Jessica is a cat' but not both.,1,Either 'Daniel put down the milk' or 'Jessica is a cat' but not both. We believe that Mary left the apple. We believe that Sandra got the milk. There is little chance that Gertrude is a mouse.,We doubt that 'Gertrude is a mouse' 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.75::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.6843368673734747,train,very good chance,we doubt,There is a very good chance that 'Gertrude is a mouse' or 'Mary left the apple' or both.,We doubt that 'Gertrude is a mouse' or 'Mary left the apple' or both.,0,'Gertrude is a mouse' or 'Mary left the apple' or both. We doubt that Sandra left the milk. It is impossible that Gertrude is a sheep. It is almost certain that Julius is a swan.,Chances are slight that 'Gertrude is a sheep' 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.0::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.95,0.6435287057411482,train,almost certain,chances are slight,It is almost certain that 'Gertrude is a sheep' or 'Julius is a swan' or both.,Chances are slight that 'Gertrude is a sheep' or 'Julius is a swan' or both.,0,'Gertrude is a sheep' or 'Julius is a swan' or both. It is likely that John took the football. We believe that Mary went to the office. It is highly unlikely that Lily is a lion.,It is unlikely that either 'John 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.75::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6799999999999999,0.584116823364673,train,likely,unlikely,It is likely that either 'John took the football' or 'Lily is a lion' but not both.,It is unlikely that either 'John took the football' or 'Lily is a lion' but not both.,0,Either 'John took the football' or 'Lily is a lion' but not both. It is likely that Lily is a rhino. It is improbable that John grabbed the apple. It is certain that Greg is a swan.,It is impossible that 'Greg is a swan 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.1::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7,0.3112622524504901,train,probable,impossible,It is probable that 'Greg is a swan and Lily is a rhino'.,It is impossible that 'Greg is a swan and Lily is a rhino'.,0,'Greg is a swan and Lily is a rhino'. It is probably not the case that Daniel got the milk. It is improbable that Julius is a lion. It is probable that Lily is a swan.,It is probably the case that 'Julius is a lion 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.25::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025000000000000012,0.29525905181036205,train,almost no chance,probably,There is almost no chance that 'Julius is a lion and Daniel got the milk'.,It is probably the case that 'Julius is a lion and Daniel got the milk'.,0,'Julius is a lion and Daniel got the milk'. There is a better than even chance that Jessica is a cat. There is a better than even chance that Winona is a mouse. We doubt that John left the milk.,There is a better than even chance that either 'Jessica is a cat' 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.6::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5599999999999999,0.10022004400880176,train,better than even,little chance,There is a better than even chance that either 'Jessica is a cat' or 'John left the milk' but not both.,There is little chance that either 'Jessica is a cat' or 'John left the milk' but not both.,1,Either 'Jessica is a cat' or 'John left the milk' but not both. It is probable that Bernhard is gray. Chances are about even that Jessica is a mouse. It is highly likely that Julius is a frog.,It is highly unlikely 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.7::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.85,0.7231446289257851,train,very good chance,highly unlikely,There is a very good chance that 'Bernhard is gray' or 'Jessica is a mouse' or both.,It is highly unlikely that 'Bernhard is gray' or 'Jessica is a mouse' or both.,0,'Bernhard is gray' or 'Jessica is a mouse' or both. We doubt that Jeff moved to the garden. Chances are slight that John discarded the milk. It is impossible that Bernhard is a rhino.,It is unlikely that 'Jeff 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.2::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2,0.45909181836367274,train,unlikely,likely,It is unlikely that 'Jeff moved to the garden' or 'Bernhard is a rhino' or both.,It is likely that 'Jeff moved to the garden' or 'Bernhard is a rhino' or both.,1,'Jeff moved to the garden' or 'Bernhard is a rhino' or both. It is probably the case that Sandra took the football. It is unlikely that Mary moved to the garden. It is likely that Gertrude is a cat.,There is almost no chance that either 'Sandra took 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.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.6143228645729146,train,better than even,almost no chance,There is a better than even chance that either 'Sandra took the football' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Sandra took the football' or 'Mary moved to the garden' but not both.,0,Either 'Sandra took the football' or 'Mary moved to the garden' but not both. Chances are slight that Brian is gray. Chances are slight that Greg is white. It is highly likely that John took the apple.,It is probably the case that either 'Greg 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.1::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.21984396879375875,train,we doubt,probably,We doubt that either 'Greg is white' or 'Brian is gray' but not both.,It is probably the case that either 'Greg is white' or 'Brian is gray' but not both.,0,Either 'Greg is white' or 'Brian is gray' but not both. It is likely that Bernhard is a lion. There is almost no chance that Sandra put down the milk. We believe that Mary got the apple.,Chances are about even that either 'Mary got the apple' 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.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.16503300660132025,train,about even,almost certain,Chances are about even that either 'Mary got the apple' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Mary got the apple' or 'Bernhard is a lion' but not both.,1,Either 'Mary got the apple' or 'Bernhard is a lion' but not both. We believe that Daniel took the apple. It is probably not the case that Mary is in the hallway. It is highly unlikely that Winona is a sheep.,It is probably not the case that either 'Winona is a sheep' 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 0.75::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.27499999999999997,0.5263052610522104,train,probably not,highly likely,It is probably not the case that either 'Winona is a sheep' or 'Mary is in the hallway' but not both.,It is highly likely that either 'Winona is a sheep' or 'Mary is in the hallway' but not both.,1,Either 'Winona is a sheep' or 'Mary is in the hallway' but not both. It is highly unlikely that John went to the hallway. It is likely that Brian is a rhino. It is probable that Mary dropped the apple.,Chances are about even that 'Mary dropped 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.05::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.741748349669934,train,about even,highly unlikely,Chances are about even that 'Mary dropped the apple and Brian is a rhino'.,It is highly unlikely that 'Mary dropped the apple and Brian is a rhino'.,1,'Mary dropped the apple and Brian is a rhino'. It is certain that Lily is white. It is highly unlikely that Mary went to the kitchen. It is probably the case that Greg is yellow.,It is probably the case that 'Lily is white 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 1.0::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.4376875375075015,train,probably,highly unlikely,It is probably the case that 'Lily is white and Greg is yellow'.,It is highly unlikely that 'Lily is white and Greg is yellow'.,1,'Lily is white and Greg is yellow'. Chances are about even that Lily is gray. It is probably not the case that Fred discarded the apple. There is a better than even chance that Sandra took the football.,It is impossible that either 'Fred 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.5::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.05041008201640328,train,about even,impossible,Chances are about even that either 'Fred discarded the apple' or 'Lily is gray' but not both.,It is impossible that either 'Fred discarded the apple' or 'Lily is gray' but not both.,0,Either 'Fred discarded the apple' or 'Lily is gray' but not both. There is a very good chance that Lily is gray. There is a very good chance that Mary went to the hallway. It is likely that Sandra dropped the milk.,It is almost certain that 'Lily is gray' 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9600000000000001,0.38207641528305664,train,almost certain,little chance,It is almost certain that 'Lily is gray' or 'Mary went to the hallway' or both.,There is little chance that 'Lily is gray' or 'Mary went to the hallway' or both.,1,'Lily is gray' or 'Mary went to the hallway' or both. There is a very good chance that Brian is white. Chances are about even that Bill went to the garden. Chances are about even that Winona is a wolf.,It is likely that 'Bill went to the garden and Winona is a wolf'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.5::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.25,0.7305461092218444,train,probably not,likely,It is probably not the case that 'Bill went to the garden and Winona is a wolf'.,It is likely that 'Bill went to the garden and Winona is a wolf'.,0,'Bill went to the garden and Winona is a wolf'. It is probably not the case that Mary moved to the garden. It is almost certain that John dropped the apple. There is a better than even chance that Lily is a lion.,It is likely that 'Mary moved 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.25::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.3122624524904981,train,chances are slight,likely,Chances are slight that 'Mary moved to the garden and Lily is a lion'.,It is likely that 'Mary moved to the garden and Lily is a lion'.,0,'Mary moved to the garden and Lily is a lion'. Chances are slight that Lily is yellow. It is impossible that Greg is white. It is highly likely that John moved to the garden.,It is highly unlikely that either 'Lily 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.1::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.7179435887177436,train,very good chance,highly unlikely,There is a very good chance that either 'Lily is yellow' or 'John moved to the garden' but not both.,It is highly unlikely that either 'Lily is yellow' or 'John moved to the garden' but not both.,0,Either 'Lily is yellow' or 'John moved to the garden' but not both. It is almost certain that Jeff moved to the office. It is probably not the case that Bernhard is yellow. It is highly unlikely that Gertrude is a mouse.,There is almost no chance that 'Bernhard is yellow 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.95::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.012500000000000006,0.10322064412882577,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is yellow and Gertrude is a mouse'.,It is almost certain that 'Bernhard is yellow and Gertrude is a mouse'.,1,'Bernhard is yellow and Gertrude is a mouse'. Chances are slight that Julius is white. It is highly likely that Bernhard is gray. It is probable that Fred left the football.,There is a very good chance that either 'Bernhard is gray' 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.1::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.33999999999999997,0.5333066613322665,train,probably not,very good chance,It is probably not the case that either 'Bernhard is gray' or 'Fred left the football' but not both.,There is a very good chance that either 'Bernhard is gray' or 'Fred left the football' but not both.,0,Either 'Bernhard is gray' or 'Fred left the football' but not both. It is improbable that Yann is tired. We believe that Lily is gray. It is probably the case that John discarded the apple.,Chances are slight that 'Lily is gray' 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.1::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.048409681936387276,train,very good chance,chances are slight,There is a very good chance that 'Lily is gray' or 'Yann is tired' or both.,Chances are slight that 'Lily is gray' or 'Yann is tired' or both.,0,'Lily is gray' or 'Yann is tired' or both. It is highly unlikely that Brian is a lion. It is unlikely that Greg is green. It is almost certain that Sandra left the milk.,It is almost certain that 'Sandra left 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.05::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9525,0.4940988197639528,train,almost certain,impossible,It is almost certain that 'Sandra left the milk' or 'Brian is a lion' or both.,It is impossible that 'Sandra left the milk' or 'Brian is a lion' or both.,1,'Sandra left the milk' or 'Brian is a lion' or both. It is likely that Mary went to the kitchen. It is highly likely that Bernhard is white. There is a very good chance that 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.7::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5599999999999999,0.5969193838767753,train,better than even,almost no chance,There is a better than even chance that 'Lily is a lion and Mary went to the kitchen'.,There is almost no chance that 'Lily is a lion and Mary went to the kitchen'.,0,'Lily is a lion and Mary went to the kitchen'. We doubt that John discarded the apple. It is impossible that Julius is a swan. It is probably the case that Sandra dropped the milk.,We believe that 'Sandra dropped the milk 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.0692138427685537,train,impossible,we believe,It is impossible that 'Sandra dropped the milk and Julius is a swan'.,We believe that 'Sandra dropped the milk and Julius is a swan'.,0,'Sandra dropped the milk and Julius is a swan'. Chances are slight that Brian is gray. It is impossible that Greg is a swan. It is highly unlikely that John went to the kitchen.,It is likely that 'Greg 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.1::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.09281856371274255,train,impossible,likely,It is impossible that 'Greg is a swan and Brian is gray'.,It is likely that 'Greg is a swan and Brian is gray'.,0,'Greg is a swan and Brian is gray'. It is improbable that Greg is white. There is little chance that Jeff went to the bedroom. It is improbable that Gertrude is a sheep.,We doubt that 'Greg is white' 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.19000000000000006,0.40748149629925984,train,we doubt,we believe,We doubt that 'Greg is white' or 'Jeff went to the bedroom' or both.,We believe that 'Greg is white' or 'Jeff went to the bedroom' or both.,1,'Greg is white' or 'Jeff went to the bedroom' or both. It is impossible that Greg is a frog. It is certain that Bernhard is gray. It is probably not the case that John went to the office.,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.0::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.2636527305461092,train,impossible,certain,It is impossible 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'. Chances are slight that Brian is a rhino. It is highly likely that Jeff discarded the milk. It is improbable that Sandra got the milk.,There is a very good chance that either 'Brian is a rhino' 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.1::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.82,0.17043408681736347,train,very good chance,improbable,There is a very good chance that either 'Brian is a rhino' or 'Jeff discarded the milk' but not both.,It is improbable that either 'Brian is a rhino' or 'Jeff discarded the milk' but not both.,1,Either 'Brian is a rhino' or 'Jeff discarded the milk' but not both. It is improbable that Winona is a wolf. We believe that Mary left the milk. There is little chance that Jeff went to the garden.,There is almost no chance that either 'Mary left the milk' 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.75::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.00040008001600320064,train,probable,almost no chance,It is probable that either 'Mary left the milk' or 'Jeff went to the garden' but not both.,There is almost no chance that either 'Mary left the milk' or 'Jeff went to the garden' but not both.,0,Either 'Mary left the milk' or 'Jeff went to the garden' but not both. It is probably the case that Mary took the milk. There is almost no chance that Emily is a sheep. It is almost certain that Lily is a lion.,It is probable that 'Emily is a sheep' 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.7::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.1230246049209842,train,probable,improbable,It is probable that 'Emily is a sheep' or 'Mary took the milk' or both.,It is improbable that 'Emily is a sheep' or 'Mary took the milk' or both.,1,'Emily is a sheep' or 'Mary took the milk' or both. It is impossible that John went to the bedroom. It is probably not the case that Brian is yellow. It is certain that Bernhard is a rhino.,It is highly unlikely that 'John went to the bedroom' 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.0::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.35167033406681336,train,certain,highly unlikely,It is certain that 'John went to the bedroom' or 'Bernhard is a rhino' or both.,It is highly unlikely that 'John went to the bedroom' or 'Bernhard is a rhino' or both.,0,'John went to the bedroom' or 'Bernhard is a rhino' or both. Chances are about even that John went to the hallway. It is probably not the case that Antoine is thirsty. We believe that Bernhard is gray.,It is certain that either 'Antoine is thirsty' 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.5::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.15983196639327865,train,about even,certain,Chances are about even that either 'Antoine is thirsty' or 'John went to the hallway' but not both.,It is certain that either 'Antoine is thirsty' or 'John went to the hallway' but not both.,0,Either 'Antoine is thirsty' or 'John went to the hallway' but not both. It is probably the case that Lily is a rhino. It is almost certain that Julius is a swan. There is almost no chance that John went to the kitchen.,There is almost no chance that 'John went to the kitchen 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.95::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.6845369073814763,train,almost no chance,very good chance,There is almost no chance that 'John went to the kitchen and Lily is a rhino'.,There is a very good chance that 'John went to the kitchen and Lily is a rhino'.,1,'John went to the kitchen and Lily is a rhino'. It is probably the case that Sandra dropped the milk. Chances are slight that Mary is in the bathroom. It is improbable that John went to the office.,We believe that 'Sandra dropped the milk' or 'Mary is in the bathroom' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(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. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.2576515303060612,train,we believe,impossible,We believe that 'Sandra dropped the milk' or 'Mary is in the bathroom' or both.,It is impossible that 'Sandra dropped the milk' or 'Mary is in the bathroom' or both.,1,'Sandra dropped the milk' or 'Mary is in the bathroom' or both. Chances are slight that Jason is thirsty. Chances are slight that John went to the kitchen. There is little chance that Greg is green.,It is likely that 'Greg is green' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.19000000000000006,0.27585517103420687,train,unlikely,likely,It is unlikely that 'Greg is green' or 'John went to the kitchen' or both.,It is likely that 'Greg is green' or 'John went to the kitchen' or both.,0,'Greg is green' or 'John went to the kitchen' or both. We doubt that Winona is a wolf. It is likely that Julius is gray. It is unlikely that John dropped the milk.,It is highly unlikely that 'Winona is a wolf 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.04000000000000001,0.01300260052010402,train,highly unlikely,about even,It is highly unlikely that 'Winona is a wolf and John dropped the milk'.,Chances are about even that 'Winona is a wolf and John dropped the milk'.,1,'Winona is a wolf and John dropped the milk'. Chances are slight that Greg is a rhino. It is probably not the case that Daniel grabbed the apple. There is a better than even chance that Jeff moved to the office.,It is probably not the case that 'Greg is a rhino' 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.1::factA. 0.25::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.325,0.1304260852170434,train,probably not,probably,It is probably not the case that 'Greg is a rhino' or 'Daniel grabbed the apple' or both.,It is probably the case that 'Greg is a rhino' or 'Daniel grabbed the apple' or both.,1,'Greg is a rhino' or 'Daniel grabbed the apple' or both. It is improbable that John went to the garden. It is almost certain that Greg is yellow. There is almost no chance that Brian is a swan.,There is a better than even chance that either 'Brian is a swan' 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.95::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.5865173034606921,train,little chance,better than even,There is little chance that either 'Brian is a swan' or 'John went to the garden' but not both.,There is a better than even chance that either 'Brian is a swan' or 'John went to the garden' but not both.,0,Either 'Brian is a swan' or 'John went to the garden' but not both. We believe that Lily is a lion. It is likely that Mary got the milk. It is unlikely that Bernhard is green.,There is almost no chance that 'Bernhard is green' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.76,0.7717543508701741,train,we believe,almost no chance,We believe that 'Bernhard is green' or 'Mary got the milk' or both.,There is almost no chance that 'Bernhard is green' or 'Mary got the milk' or both.,0,'Bernhard is green' or 'Mary got the milk' or both. It is highly likely that John moved to the garden. We believe that Fred discarded the apple. There is almost no chance that Julius is a swan.,There is almost no chance that 'Fred discarded 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.9::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.675,0.13102620524104822,train,probable,almost no chance,It is probable that 'Fred discarded the apple and John moved to the garden'.,There is almost no chance that 'Fred discarded the apple and John moved to the garden'.,0,'Fred discarded the apple and John moved to the garden'. There is almost no chance that Mary dropped the milk. We doubt that Bernhard is gray. It is highly unlikely that Daniel took the apple.,It is highly likely that 'Bernhard is gray' 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.02::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.24000000000000005,0.06821364272854571,train,probably not,highly likely,It is probably not the case that 'Bernhard is gray' or 'Daniel took the apple' or both.,It is highly likely that 'Bernhard is gray' or 'Daniel took the apple' or both.,0,'Bernhard is gray' or 'Daniel took the apple' or both. Chances are slight that Jessica is a cat. It is almost certain that Julius is a swan. It is highly unlikely that Gertrude is a mouse.,It is probable that 'Gertrude is a mouse 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.95::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.6485297059411882,train,impossible,probable,It is impossible that 'Gertrude is a mouse and Jessica is a cat'.,It is probable that 'Gertrude is a mouse and Jessica is a cat'.,0,'Gertrude is a mouse and Jessica is a cat'. It is probably not the case that John grabbed the apple. It is likely that Lily is green. It is impossible that Yann is tired.,It is probable that 'Yann is tired' or 'Lily is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7,0.7091418283656732,train,probable,we doubt,It is probable that 'Yann is tired' or 'Lily is green' or both.,We doubt that 'Yann is tired' or 'Lily is green' or both.,1,'Yann is tired' or 'Lily is green' or both. There is little chance that Sandra dropped the milk. It is unlikely that Greg is green. There is little chance that John left the football.,It is probably the case that 'Greg 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.1::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.6079215843168634,train,almost no chance,probably,There is almost no chance that 'Greg is green and John left the football'.,It is probably the case that 'Greg is green and John left the football'.,0,'Greg is green and John left the football'. There is a better than even chance that Lily is a frog. Chances are about even that Greg is a swan. Chances are slight that Mary went to the bedroom.,We doubt that 'Greg 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.6::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.09581916383276655,train,very good chance,we doubt,There is a very good chance that 'Greg is a swan' or 'Lily is a frog' or both.,We doubt that 'Greg is a swan' or 'Lily is a frog' or both.,0,'Greg is a swan' or 'Lily is a frog' or both. It is probably the case that Bernhard is white. It is probably the case that Brian is a rhino. We doubt that Mary took the milk.,We believe that 'Bernhard is white' 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.7::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7599999999999999,0.39947989597919586,train,we believe,highly unlikely,We believe that 'Bernhard is white' or 'Mary took the milk' or both.,It is highly unlikely that 'Bernhard is white' or 'Mary took the milk' or both.,1,'Bernhard is white' or 'Mary took the milk' or both. We believe that Brian is a rhino. There is a better than even chance that Gertrude is a mouse. There is little chance that Julius is green.,It is highly unlikely that 'Julius is green 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.75::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.4756951390278056,train,highly unlikely,probable,It is highly unlikely that 'Julius is green and Gertrude is a mouse'.,It is probable that 'Julius is green and Gertrude is a mouse'.,1,'Julius is green and Gertrude is a mouse'. There is a very good chance that Jason is tired. It is unlikely that Bill left the milk. There is little chance that Greg is white.,It is unlikely that 'Jason is tired 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.8::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.16000000000000003,0.6135227045409082,train,unlikely,likely,It is unlikely that 'Jason is tired and Bill left the milk'.,It is likely that 'Jason is tired and Bill left the milk'.,1,'Jason is tired and Bill left the milk'. It is highly unlikely that Jessica is a cat. It is probably the case that Jeff left the football. It is highly unlikely that Julius is a lion.,It is impossible that 'Julius is a lion 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.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0025000000000000005,0.10862172434486897,train,impossible,certain,It is impossible that 'Julius is a lion and Jessica is a cat'.,It is certain that 'Julius is a lion and Jessica is a cat'.,1,'Julius is a lion and Jessica is a cat'. It is unlikely that Fred left the apple. It is probable that Bernhard is white. There is little chance that Brian is green.,It is highly unlikely that 'Brian 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. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.6967393478695739,train,highly unlikely,likely,It is highly unlikely that 'Brian is green and Bernhard is white'.,It is likely that 'Brian is green and Bernhard is white'.,1,'Brian is green and Bernhard is white'. It is unlikely that Lily is a swan. It is impossible that Gertrude is a cat. It is probably the case that Emily is a sheep.,Chances are about even that 'Lily is a swan 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.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.21764352870574116,train,impossible,about even,It is impossible that 'Lily is a swan and Gertrude is a cat'.,Chances are about even that 'Lily is a swan and Gertrude is a cat'.,0,'Lily is a swan and Gertrude is a cat'. We believe that Sandra got the milk. It is certain that Bernhard is green. It is highly unlikely that Bill left the football.,It is probably not the case that either 'Bernhard is green' 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.75::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.25,0.039407881576315265,train,probably not,probable,It is probably not the case that either 'Bernhard is green' or 'Sandra got the milk' but not both.,It is probable that either 'Bernhard is green' or 'Sandra got the milk' but not both.,1,Either 'Bernhard is green' or 'Sandra got the milk' but not both. It is probably the case that Winona is a mouse. It is probable that John got the milk. It is unlikely that Bernhard is a frog.,It is almost certain that 'Bernhard 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.1750350070014003,train,improbable,almost certain,It is improbable that 'Bernhard is a frog and Winona is a mouse'.,It is almost certain that 'Bernhard is a frog and Winona is a mouse'.,0,'Bernhard is a frog and Winona is a mouse'. It is highly unlikely that John discarded the apple. It is probably the case that Mary moved to the garden. It is certain that Greg is a lion.,It is certain that 'Greg is a lion' 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.05::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6195239047809562,train,certain,probably not,It is certain that 'Greg is a lion' or 'John discarded the apple' or both.,It is probably not the case that 'Greg is a lion' or 'John discarded the apple' or both.,1,'Greg is a lion' or 'John discarded the apple' or both. We doubt that Brian is yellow. It is probably not the case that Greg is a swan. It is almost certain that Julius is gray.,Chances are about even that 'Greg 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.2::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4,0.34266853370674133,train,about even,certain,Chances are about even that 'Greg is a swan' or 'Brian is yellow' or both.,It is certain that 'Greg is a swan' or 'Brian is yellow' or both.,1,'Greg is a swan' or 'Brian is yellow' or both. It is highly unlikely that Julius is a rhino. It is improbable that Bernhard is a swan. It is probably the case that Sandra dropped the apple.,It is highly unlikely that 'Sandra dropped the apple 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.05::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.5797159431886377,train,highly unlikely,certain,It is highly unlikely that 'Sandra dropped the apple and Julius is a rhino'.,It is certain that 'Sandra dropped the apple and Julius is a rhino'.,1,'Sandra dropped the apple and Julius is a rhino'. It is probably not the case that Winona is a mouse. There is little chance that Lily is a lion. Chances are slight that Daniel left the milk.,It is unlikely that either 'Lily is a lion' 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.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.03340668133626725,train,unlikely,likely,It is unlikely that either 'Lily is a lion' or 'Daniel left the milk' but not both.,It is likely that either 'Lily is a lion' or 'Daniel left the milk' but not both.,1,Either 'Lily is a lion' or 'Daniel left the milk' but not both. It is almost certain that Mary got the apple. Chances are about even that Bernhard is a swan. It is likely that Julius is white.,There is almost no chance that 'Bernhard is a swan' or 'Mary got the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.975,0.5027005401080216,train,certain,almost no chance,It is certain that 'Bernhard is a swan' or 'Mary got the apple' or both.,There is almost no chance that 'Bernhard is a swan' or 'Mary got the apple' or both.,0,'Bernhard is a swan' or 'Mary got the apple' or both. Chances are about even that Sandra left the apple. It is certain that Mary got the football. It is probable that Julius is gray.,There is a very good chance that 'Julius is gray' 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.5::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.85,0.26765353070614123,train,very good chance,impossible,There is a very good chance that 'Julius is gray' or 'Sandra left the apple' or both.,It is impossible that 'Julius is gray' or 'Sandra left the apple' or both.,1,'Julius is gray' or 'Sandra left the apple' or both. It is impossible that Julius is a swan. It is certain that Mary left the milk. We believe that Bernhard is yellow.,We believe that either 'Bernhard is yellow' or 'Julius is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.75,0.5527105421084216,train,we believe,we doubt,We believe that either 'Bernhard is yellow' or 'Julius is a swan' but not both.,We doubt that either 'Bernhard is yellow' or 'Julius is a swan' but not both.,1,Either 'Bernhard is yellow' or 'Julius is a swan' but not both. There is almost no chance that John dropped the milk. It is unlikely that Jeff went to the bedroom. We doubt that Mary left the football.,It is likely that 'John 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.02::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.21600000000000003,0.127625525105021,train,we doubt,likely,We doubt that 'John dropped the milk' or 'Mary left the football' or both.,It is likely that 'John dropped the milk' or 'Mary left the football' or both.,0,'John dropped the milk' or 'Mary left the football' or both. There is a very good chance that Daniel left the milk. It is probable that Mary got the football. It is likely that Greg is a rhino.,Chances are about even that either 'Mary got the football' 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.20444088817763553,train,about even,certain,Chances are about even that either 'Mary got the football' or 'Daniel left the milk' but not both.,It is certain that either 'Mary got the football' or 'Daniel left the milk' but not both.,1,Either 'Mary got the football' or 'Daniel left the milk' but not both. It is likely that Greg is white. It is almost certain that Julius is a swan. It is likely that Daniel left the football.,It is highly likely that 'Greg is white' 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9099999999999999,0.4184836967393479,train,highly likely,unlikely,It is highly likely that 'Greg is white' or 'Daniel left the football' or both.,It is unlikely that 'Greg is white' or 'Daniel left the football' or both.,1,'Greg is white' or 'Daniel left the football' or both. There is almost no chance that Julius is green. We doubt that Greg is a lion. Chances are about even that Lily is a frog.,It is certain that 'Julius 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.02::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.10762152430486097,train,almost no chance,certain,There is almost no chance that 'Julius is green and Lily is a frog'.,It is certain that 'Julius is green and Lily is a frog'.,0,'Julius is green and Lily is a frog'. It is unlikely that John dropped the milk. We doubt that Bernhard is a frog. There is a very good chance that Mary put down the apple.,We believe that 'John 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.2::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.20704140828165632,train,highly unlikely,we believe,It is highly unlikely that 'John dropped the milk and Bernhard is a frog'.,We believe that 'John dropped the milk and Bernhard is a frog'.,0,'John dropped the milk and Bernhard is a frog'. It is impossible that Mary put down the apple. It is likely that Julius is a rhino. There is a better than even chance that Greg is white.,It is unlikely that 'Julius 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.0::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.6337267453490698,train,highly likely,unlikely,It is highly likely that 'Julius is a rhino' or 'Greg is white' or both.,It is unlikely that 'Julius is a rhino' or 'Greg is white' or both.,0,'Julius is a rhino' or 'Greg is white' or both. There is almost no chance that Bernhard is a rhino. Chances are slight that Bill got the milk there. We doubt that Sumit is hungry.,It is probably the case that either 'Bernhard is a rhino' 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.02::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.116,0.5963192638527706,train,improbable,probably,It is improbable that either 'Bernhard is a rhino' or 'Bill got the milk there' but not both.,It is probably the case that either 'Bernhard is a rhino' or 'Bill got the milk there' but not both.,0,Either 'Bernhard is a rhino' or 'Bill got the milk there' but not both. We believe that Greg is a frog. Chances are slight that Lily is a swan. There is almost no chance that Winona is a wolf.,It is highly unlikely 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.75::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.0604120824164833,train,very good chance,highly unlikely,There is a very good chance that 'Lily is a swan' or 'Greg is a frog' or both.,It is highly unlikely 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 almost certain that Julius is a rhino. It is probably the case that Greg is a lion. It is highly likely that Winona is a cat.,It is highly unlikely that 'Greg is a lion 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.95::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.6525305061012202,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a lion and Winona is a cat'.,It is highly unlikely that 'Greg is a lion and Winona is a cat'.,0,'Greg is a lion and Winona is a cat'. It is probable that Brian is white. We doubt that Mary went to the office. It is certain that Sandra left the milk.,We believe that 'Mary went to the office' or 'Brian is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.2862572514502901,train,we believe,unlikely,We believe that 'Mary went to the office' or 'Brian is white' or both.,It is unlikely that 'Mary went to the office' or 'Brian is white' or both.,1,'Mary went to the office' or 'Brian is white' or both. It is probably not the case that Lily is a swan. We doubt that John went to the office. It is likely that Jessica is a mouse.,There is a better than even chance 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 0.25::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.3792758551710342,train,better than even,improbable,There is a better than even chance that either 'Lily is a swan' or 'Jessica is a mouse' but not both.,It is improbable 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. There is almost no chance that Mary left the football. It is certain that Julius is a frog. Chances are slight that John picked up the apple.,It is certain 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.02::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.007601520304060812,train,certain,we doubt,It is certain that 'John picked up the apple' or 'Julius is a frog' or both.,We doubt 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 about even that Bernhard is a swan. It is probable that John went to the kitchen. Chances are slight that Lily is a lion.,There is a better than even chance that 'Bernhard 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.5::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.55,0.7551510302060412,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is a swan' or 'Lily is a lion' or both.,There is almost no chance that 'Bernhard is a swan' or 'Lily is a lion' or both.,1,'Bernhard is a swan' or 'Lily is a lion' or both. There is a very good chance that John took the apple. Chances are slight that Sandra dropped the milk. It is highly likely that Brian is gray.,It is improbable that 'John took 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.1::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.7065413082616523,train,improbable,better than even,It is improbable that 'John took the apple and Sandra dropped the milk'.,There is a better than even chance that 'John took the apple and Sandra dropped the milk'.,1,'John took the apple and Sandra dropped the milk'. It is probably the case that Lily is a rhino. Chances are about even that Brian is a swan. It is improbable that Julius is a frog.,Chances are about even that either 'Julius is a frog' or 'Brian is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.4340868173634727,train,about even,certain,Chances are about even that either 'Julius is a frog' or 'Brian is a swan' but not both.,It is certain that either 'Julius is a frog' or 'Brian is a swan' but not both.,1,Either 'Julius is a frog' or 'Brian is a swan' but not both. We believe that John went to the hallway. It is improbable that Mary took the milk. We doubt that Brian is a frog.,There is almost no chance that 'Brian 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.75::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.6931386277255451,train,almost no chance,probable,There is almost no chance that 'Brian is a frog and Mary took the milk'.,It is probable that 'Brian is a frog and Mary took the milk'.,1,'Brian is a frog and Mary took the milk'. It is highly likely that Emily is a wolf. It is probable that Bill went to the bedroom. There is almost no chance that Lily is white.,It is probably not the case that 'Lily is white' 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.7::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.902,0.005001000200040008,train,highly likely,probably not,It is highly likely that 'Lily is white' or 'Emily is a wolf' or both.,It is probably not the case that 'Lily is white' or 'Emily is a wolf' or both.,0,'Lily is white' or 'Emily is a wolf' or both. Chances are about even that Daniel got the milk. There is little chance that Julius is green. There is a very good chance that Bernhard is yellow.,We believe that either 'Julius is green' 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.1::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.242248449689938,train,we believe,little chance,We believe that either 'Julius is green' or 'Bernhard is yellow' but not both.,There is little chance that either 'Julius is green' or 'Bernhard is yellow' but not both.,1,Either 'Julius is green' or 'Bernhard is yellow' but not both. It is probably not the case that John took the football. It is probable that Lily is a lion. There is a very good chance that Daniel grabbed the apple.,It is probable that either 'Daniel grabbed 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.25::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.65,0.35627125425085016,train,probable,impossible,It is probable that either 'Daniel grabbed the apple' or 'John took the football' but not both.,It is impossible that either 'Daniel grabbed the apple' or 'John took the football' but not both.,1,Either 'Daniel grabbed the apple' or 'John took the football' but not both. It is impossible that Jessica is a cat. It is certain that Brian is a frog. Chances are slight that Daniel dropped the apple.,It is probable that 'Brian is a frog and Jessica is a cat'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.7519503900780156,train,impossible,probable,It is impossible that 'Brian is a frog and Jessica is a cat'.,It is probable that 'Brian is a frog and Jessica is a cat'.,0,'Brian is a frog and Jessica is a cat'. It is almost certain that Mary left the football. Chances are slight that Bernhard is gray. It is almost certain that Gertrude is a cat.,It is highly likely that either 'Bernhard is gray' 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.1::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.86,0.40848169633926784,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is gray' or 'Mary left the football' but not both.,There is almost no chance that either 'Bernhard is gray' or 'Mary left the football' but not both.,1,Either 'Bernhard is gray' or 'Mary left the football' but not both. It is likely that Bill moved to the office. It is unlikely that Brian is a swan. It is almost certain that Greg is yellow.,There is a very good chance that 'Brian 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.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.355871174234847,train,chances are slight,very good chance,Chances are slight that 'Brian is a swan and Bill moved to the office'.,There is a very good chance that 'Brian is a swan and Bill moved to the office'.,0,'Brian is a swan and Bill moved to the office'. There is almost no chance that Fred left the apple. It is highly unlikely that Greg is gray. It is probable that John went to the garden.,There is almost no chance that either 'John went to the garden' 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.02::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.42108421684336866,train,likely,almost no chance,It is likely that either 'John went to the garden' or 'Fred left the apple' but not both.,There is almost no chance that either 'John went to the garden' or 'Fred left the apple' but not both.,0,Either 'John went to the garden' or 'Fred left the apple' but not both. It is probably the case that Brian is a swan. Chances are slight that Lily is green. It is improbable that Bernhard is a frog.,We believe that 'Bernhard is a frog' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.26685337067413484,train,we believe,impossible,We believe that 'Bernhard is a frog' or 'Brian is a swan' or both.,It is impossible that 'Bernhard is a frog' or 'Brian is a swan' or both.,1,'Bernhard is a frog' or 'Brian is a swan' or both. It is improbable that Mary dropped the milk. There is almost no chance that Lily is a frog. There is almost no chance that Julius is white.,It is certain that 'Julius 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.1::factA. 0.02::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0004000000000000001,0.4528905781156231,train,impossible,certain,It is impossible that 'Julius is white and Lily is a frog'.,It is certain that 'Julius is white and Lily is a frog'.,0,'Julius is white and Lily is a frog'. It is improbable that Brian is a rhino. It is likely that Julius is a lion. It is probably the case that John put down the apple.,Chances are about even that 'Brian is a rhino 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.2036407281456291,train,highly unlikely,about even,It is highly unlikely that 'Brian is a rhino and John put down the apple'.,Chances are about even that 'Brian is a rhino and John put down the apple'.,0,'Brian is a rhino and John put down the apple'. It is probably the case that Brian is a frog. It is likely that Julius is gray. It is highly likely that Jeff moved to the office.,There is a better than even chance that 'Julius is gray 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.7::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.6609321864372875,train,better than even,chances are slight,There is a better than even chance that 'Julius is gray and Jeff moved to the office'.,Chances are slight that 'Julius is gray and Jeff moved to the office'.,1,'Julius is gray and Jeff moved to the office'. There is a better than even chance that Lily is a swan. It is highly unlikely that Brian is white. It is almost certain that Bernhard is a frog.,It is almost certain 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.6::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9524999999999999,0.023004600920184037,train,almost certain,almost no chance,It is almost certain that 'Brian is white' or 'Bernhard is a frog' or both.,There is almost no chance that 'Brian is white' or 'Bernhard is a frog' or both.,1,'Brian is white' or 'Bernhard is a frog' or both. It is likely that John discarded the milk. There is a better than even chance that Mary moved to the garden. It is unlikely that Bernhard is gray.,It is likely 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.7::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12000000000000001,0.484496899379876,train,improbable,likely,It is improbable that 'Bernhard is gray and Mary moved to the garden'.,It is likely that 'Bernhard is gray and Mary moved to the garden'.,0,'Bernhard is gray and Mary moved to the garden'. We doubt that Jason is tired. Chances are about even that Greg is yellow. It is likely that Julius is a rhino.,There is a very good chance that 'Julius is a rhino and Jason is tired'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.021804360872174435,train,improbable,very good chance,It is improbable that 'Julius is a rhino and Jason is tired'.,There is a very good chance that 'Julius is a rhino and Jason is tired'.,0,'Julius is a rhino and Jason is tired'. It is highly likely that Lily is a frog. It is unlikely that Bernhard is a swan. It is unlikely that Sandra grabbed the milk.,It is probably not the case that 'Bernhard is a swan' or 'Sandra 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.9::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.36000000000000004,0.5109021804360873,train,probably not,highly likely,It is probably not the case that 'Bernhard is a swan' or 'Sandra grabbed the milk' or both.,It is highly likely that 'Bernhard is a swan' or 'Sandra grabbed the milk' or both.,1,'Bernhard is a swan' or 'Sandra grabbed the milk' or both. It is impossible that Lily is gray. We believe that Daniel took the football. It is unlikely that Mary picked up the milk.,It is highly unlikely that either 'Daniel took the football' 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.0::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.5417083416683337,train,probably,highly unlikely,It is probably the case that either 'Daniel took the football' or 'Mary picked up the milk' but not both.,It is highly unlikely that either 'Daniel took the football' or 'Mary picked up the milk' but not both.,0,Either 'Daniel took the football' or 'Mary picked up the milk' but not both. There is a better than even chance that Brian is yellow. It is highly unlikely that Sumit is thirsty. We believe that Mary grabbed the milk.,It is impossible that 'Sumit is thirsty' 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.05::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6199999999999999,0.5151030206041208,train,better than even,impossible,There is a better than even chance that 'Sumit is thirsty' or 'Brian is yellow' or both.,It is impossible that 'Sumit is thirsty' or 'Brian is yellow' or both.,0,'Sumit is thirsty' or 'Brian is yellow' or both. There is a very good chance that Greg is yellow. It is highly likely that Sandra left the milk. There is a better than even chance that Mary dropped the milk.,It is probably not the case that either 'Greg 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.8::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.25999999999999995,0.4080816163232647,train,probably not,probable,It is probably not the case that either 'Greg is yellow' or 'Sandra left the milk' but not both.,It is probable that either 'Greg is yellow' or 'Sandra left the milk' but not both.,1,Either 'Greg is yellow' or 'Sandra left the milk' but not both. We doubt that Mary went to the hallway. It is probably the case that Sandra put down the milk. It is impossible that John discarded the apple.,It is probably the case that 'Sandra put down the milk' 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.7::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.002400480096019204,train,probably,little chance,It is probably the case that 'Sandra put down the milk' or 'John discarded the apple' or both.,There is little chance that 'Sandra put down the milk' or 'John discarded the apple' or both.,1,'Sandra put down the milk' or 'John discarded the apple' or both. We doubt that Brian is a rhino. There is little chance that Lily is green. It is highly likely that Mary went to the bedroom.,Chances are slight that 'Lily is green and Mary went to the bedroom'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.6901380276055211,train,chances are slight,better than even,Chances are slight that 'Lily is green and Mary went to the bedroom'.,There is a better than even chance that 'Lily is green and Mary went to the bedroom'.,1,'Lily is green and Mary went to the bedroom'. There is little chance that Sandra left the milk. There is almost no chance that John picked up the apple. It is probably the case that Bernhard is a swan.,It is probably the case that 'Bernhard 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.1::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.05481096219243849,train,highly unlikely,probably,It is highly unlikely that 'Bernhard is a swan and Sandra left the milk'.,It is probably the case that 'Bernhard is a swan and Sandra left the milk'.,0,'Bernhard is a swan and Sandra left the milk'. It is certain that Julius is a lion. Chances are about even that Mary went to the kitchen. There is a very good chance that Sandra dropped the milk.,Chances are about even that 'Sandra dropped the milk 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 1.0::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.4,0.2496499299859972,train,about even,almost no chance,Chances are about even that 'Sandra dropped the milk and Mary went to the kitchen'.,There is almost no chance that 'Sandra dropped the milk and Mary went to the kitchen'.,1,'Sandra dropped the milk and Mary went to the kitchen'. We doubt that Mary went to the office. Chances are slight that Greg is a rhino. We doubt that John picked up the milk.,It is probably not the case that 'Greg is a rhino' 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. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.28,0.14242848569713942,train,probably not,certain,It is probably not the case that 'Greg is a rhino' or 'John picked up the milk' or both.,It is certain that 'Greg is a rhino' or 'John picked up the milk' or both.,1,'Greg is a rhino' or 'John picked up the milk' or both. It is highly likely that John moved to the garden. It is highly unlikely that Brian is white. It is almost certain that Bernhard is a frog.,It is highly unlikely that 'Brian is white 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.05::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0475,0.7005401080216043,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is white and Bernhard is a frog'.,There is a very good chance that 'Brian is white and Bernhard is a frog'.,1,'Brian is white and Bernhard is a frog'. It is certain that Julius is a swan. It is probably the case that Bernhard is green. It is highly unlikely that Lily is white.,It is probably not the case that 'Julius 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 1.0::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7,0.7255451090218044,train,probable,probably not,It is probable that 'Julius is a swan and Bernhard is green'.,It is probably not the case that 'Julius is a swan and Bernhard is green'.,0,'Julius is a swan and Bernhard is green'. It is highly unlikely that Sandra got the milk. It is highly likely that Lily is white. There is almost no chance that Jason is tired.,It is probably the case that 'Jason is tired 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.9::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.018000000000000002,0.587117423484697,train,almost no chance,probably,There is almost no chance that 'Jason is tired and Lily is white'.,It is probably the case that 'Jason is tired and Lily is white'.,0,'Jason is tired and Lily is white'. It is likely that Sandra left the milk. It is highly likely that Mary picked up the apple. It is improbable that John went to the kitchen.,It is highly unlikely 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.7::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.21864372874574914,train,almost certain,highly unlikely,It is almost certain that 'Sandra left the milk' or 'Mary picked up the apple' or both.,It is highly unlikely that 'Sandra left the milk' or 'Mary picked up the apple' or both.,0,'Sandra left the milk' or 'Mary picked up the apple' or both. Chances are about even that Greg is a swan. We doubt that Sumit is tired. It is unlikely that Sandra left the apple.,Chances are slight that 'Greg is a swan 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.5::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.1264252850570114,train,chances are slight,very good chance,Chances are slight that 'Greg is a swan and Sandra left the apple'.,There is a very good chance that 'Greg is a swan and Sandra left the apple'.,1,'Greg is a swan and Sandra left the apple'. It is improbable that Brian is yellow. It is likely that Lily is green. We doubt that John went to the bedroom.,Chances are slight that 'Lily is green' or 'Brian is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.7345469093818764,train,we believe,chances are slight,We believe that 'Lily is green' or 'Brian is yellow' or both.,Chances are slight that 'Lily is green' or 'Brian is yellow' or both.,0,'Lily is green' or 'Brian is yellow' or both. It is probably the case that Mary dropped the milk. We doubt that Lily is a swan. Chances are about even that John went to the office.,It is impossible that 'Mary dropped 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.7::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.85,0.3066613322664533,train,very good chance,impossible,There is a very good chance that 'Mary dropped the milk' or 'John went to the office' or both.,It is impossible that 'Mary dropped the milk' or 'John went to the office' or both.,0,'Mary dropped the milk' or 'John went to the office' or both. It is highly unlikely that Gertrude is a cat. It is probable that Brian is a lion. It is almost certain that John moved to the office.,It is highly unlikely that 'Gertrude is a cat 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.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0475,0.34206841368273655,train,highly unlikely,probable,It is highly unlikely that 'Gertrude is a cat and John moved to the office'.,It is probable that 'Gertrude is a cat and John moved to the office'.,1,'Gertrude is a cat and John moved to the office'. Chances are about even that Bernhard is white. It is unlikely that Daniel dropped the apple. Chances are slight that Brian is yellow.,There is little chance that 'Brian is yellow' 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.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.55,0.028205641128225645,train,better than even,little chance,There is a better than even chance that 'Brian is yellow' or 'Bernhard is white' or both.,There is little chance that 'Brian is yellow' or 'Bernhard is white' or both.,0,'Brian is yellow' or 'Bernhard is white' or both. There is little chance that Brian is a rhino. We believe that Mary went to the bedroom. We believe that Lily is white.,It is certain that 'Lily is white 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.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.2910582116423285,train,chances are slight,certain,Chances are slight that 'Lily is white and Brian is a rhino'.,It is certain that 'Lily is white and Brian is a rhino'.,0,'Lily is white and Brian is a rhino'. There is a very good chance that Bernhard is green. It is certain that Mary left the milk. We believe that Julius is white.,We doubt that either 'Bernhard is green' or 'Mary left the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.19999999999999998,0.6427285457091418,train,we doubt,probable,We doubt that either 'Bernhard is green' or 'Mary left the milk' but not both.,It is probable that either 'Bernhard is green' or 'Mary left the milk' but not both.,1,Either 'Bernhard is green' or 'Mary left the milk' but not both. We doubt that Mary dropped the milk. It is likely that Bernhard is a lion. There is almost no chance that Brian is a rhino.,There is little chance that either 'Mary dropped 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.2::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.028005601120224044,train,better than even,little chance,There is a better than even chance that either 'Mary dropped the milk' or 'Bernhard is a lion' but not both.,There is little chance that either 'Mary dropped the milk' or 'Bernhard is a lion' but not both.,0,Either 'Mary dropped the milk' or 'Bernhard is a lion' but not both. There is a better than even chance that John got the apple. Chances are about even that Greg is yellow. It is likely that Emily is a mouse.,It is impossible that 'Emily 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.6::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.85,0.02460492098419684,train,very good chance,impossible,There is a very good chance that 'Emily is a mouse' or 'Greg is yellow' or both.,It is impossible that 'Emily is a mouse' or 'Greg is yellow' or both.,0,'Emily is a mouse' or 'Greg is yellow' or both. It is almost certain that Bernhard is green. It is impossible that Lily is yellow. It is improbable that Gertrude is a cat.,It is unlikely that 'Gertrude is a cat' 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.95::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.955,0.40128025605121026,train,almost certain,unlikely,It is almost certain that 'Gertrude is a cat' or 'Bernhard is green' or both.,It is unlikely that 'Gertrude is a cat' or 'Bernhard is green' or both.,0,'Gertrude is a cat' or 'Bernhard is green' or both. It is probably the case that Brian is a lion. It is certain that Fred went to the garden. We doubt that Jessica is a wolf.,There is a very good chance that either 'Jessica is a wolf' 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.8,0.15063012602520504,train,very good chance,highly unlikely,There is a very good chance that either 'Jessica is a wolf' or 'Fred went to the garden' but not both.,It is highly unlikely that either 'Jessica is a wolf' or 'Fred went to the garden' but not both.,1,Either 'Jessica is a wolf' or 'Fred went to the garden' but not both. It is probable that Mary left the football. It is likely that Julius is a rhino. It is probable that Bernhard is a frog.,It is almost certain 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.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.34606921384276856,train,about even,almost certain,Chances are about even that 'Bernhard is a frog and Julius is a rhino'.,It is almost certain that 'Bernhard is a frog and Julius is a rhino'.,0,'Bernhard is a frog and Julius is a rhino'. It is probably the case that Fred put down the apple. It is probable that Mary went to the kitchen. Chances are slight that Daniel left the football.,We believe that 'Daniel left the football' 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.7::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.6835367073414683,train,we believe,probably not,We believe that 'Daniel left the football' or 'Mary went to the kitchen' or both.,It is probably not the case that 'Daniel left the football' or 'Mary went to the kitchen' or both.,1,'Daniel left the football' or 'Mary went to the kitchen' or both. We believe that Brian is gray. It is likely that Emily is a sheep. It is likely that Greg is a lion.,There is almost no chance that 'Greg is a lion 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.75::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.08581716343268654,train,about even,almost no chance,Chances are about even that 'Greg is a lion and Emily is a sheep'.,There is almost no chance that 'Greg is a lion and Emily is a sheep'.,0,'Greg is a lion and Emily is a sheep'. It is probably not the case that Mary left the milk. There is little chance that Bernhard is green. It is certain that John moved to the office.,It is highly likely that either 'Bernhard is green' 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.25::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.3136627325465093,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is green' or 'John moved to the office' but not both.,There is almost no chance that either 'Bernhard is green' or 'John moved to the office' but not both.,1,Either 'Bernhard is green' or 'John moved to the office' but not both. It is almost certain that Greg is a frog. It is probably not the case that Julius is a lion. We doubt that Winona is a sheep.,It is unlikely that either 'Julius is a lion' 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.95::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.725,0.4270854170834167,train,probably,unlikely,It is probably the case that either 'Julius is a lion' or 'Greg is a frog' but not both.,It is unlikely that either 'Julius is a lion' or 'Greg is a frog' but not both.,0,Either 'Julius is a lion' or 'Greg is a frog' but not both. It is impossible that John went to the office. There is almost no chance that Emily is a sheep. We believe that Julius is yellow.,It is probable that 'Julius 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.0::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014999999999999998,0.03140628125625125,train,almost no chance,probable,There is almost no chance that 'Julius is yellow and Emily is a sheep'.,It is probable that 'Julius is yellow and Emily is a sheep'.,0,'Julius is yellow and Emily is a sheep'. There is a very good chance that Bernhard is gray. It is unlikely that Sandra left the milk. It is impossible that Greg is a frog.,It is improbable that either 'Sandra left the milk' or 'Bernhard is gray' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.68,0.24244848969793958,train,probably,improbable,It is probably the case that either 'Sandra left the milk' or 'Bernhard is gray' but not both.,It is improbable that either 'Sandra left the milk' or 'Bernhard is gray' but not both.,0,Either 'Sandra left the milk' or 'Bernhard is gray' but not both. It is probably not the case that Jeff discarded the milk. It is certain that Greg is a rhino. It is highly unlikely that Bernhard is green.,There is almost no chance that 'Bernhard is green 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.25::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.012500000000000006,0.543508701740348,train,almost no chance,highly likely,There is almost no chance that 'Bernhard is green and Jeff discarded the milk'.,It is highly likely that 'Bernhard is green and Jeff discarded the milk'.,1,'Bernhard is green and Jeff discarded the milk'. We doubt that John discarded the milk. It is highly unlikely that Winona is a sheep. It is almost certain that Brian is yellow.,It is unlikely that 'Brian is yellow' 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.2::factA. 0.05::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9525,0.05561112222444489,train,almost certain,unlikely,It is almost certain that 'Brian is yellow' or 'Winona is a sheep' or both.,It is unlikely that 'Brian is yellow' or 'Winona is a sheep' or both.,0,'Brian is yellow' or 'Winona is a sheep' or both. There is almost no chance that John went to the garden. It is impossible that Bernhard is a rhino. Chances are about even that Julius is white.,Chances are about even that 'John went 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.02::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.02,0.5875175035007001,train,almost no chance,about even,There is almost no chance that 'John went to the garden' or 'Bernhard is a rhino' or both.,Chances are about even that 'John went to the garden' or 'Bernhard is a rhino' or both.,0,'John went to the garden' or 'Bernhard is a rhino' or both. It is highly likely that Mary left the apple. It is unlikely that Greg is white. Chances are about even that Lily is a rhino.,It is probably the case that 'Mary left the apple 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.9::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.18000000000000002,0.3330666133226645,train,unlikely,probably,It is unlikely that 'Mary left the apple and Greg is white'.,It is probably the case that 'Mary left the apple and Greg is white'.,0,'Mary left the apple and Greg is white'. It is likely that Daniel put down the milk. It is probably not the case that Lily is a lion. Chances are about even that Mary dropped the apple.,There is a better than even chance that 'Lily is a lion' 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.25::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.625,0.3128625725145029,train,better than even,highly unlikely,There is a better than even chance that 'Lily is a lion' or 'Mary dropped the apple' or both.,It is highly unlikely that 'Lily is a lion' or 'Mary dropped the apple' or both.,1,'Lily is a lion' or 'Mary dropped the apple' or both. It is almost certain that Julius is a frog. It is likely that Bernhard is gray. There is almost no chance that Bill got the milk there.,There is almost no chance that 'Bernhard is gray 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.95::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.014000000000000007,0.40688137627525506,train,almost no chance,better than even,There is almost no chance that 'Bernhard is gray and Bill got the milk there'.,There is a better than even chance that 'Bernhard is gray and Bill got the milk there'.,1,'Bernhard is gray and Bill got the milk there'. We believe that Sandra got the milk. There is a very good chance that John moved to the office. It is likely that Winona is a sheep.,There is little chance that 'Sandra got 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.75::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.925,0.661132226445289,train,almost certain,little chance,It is almost certain that 'Sandra got the milk' or 'Winona is a sheep' or both.,There is little chance that 'Sandra got the milk' or 'Winona is a sheep' or both.,0,'Sandra got the milk' or 'Winona is a sheep' or both. It is improbable that Mary grabbed the milk. We doubt that Emily is a mouse. There is a better than even chance that Jessica is a wolf.,We believe that 'Emily is a mouse 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.1::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.7277455491098219,train,little chance,we believe,There is little chance that 'Emily is a mouse and Jessica is a wolf'.,We believe that 'Emily is a mouse and Jessica is a wolf'.,0,'Emily is a mouse and Jessica is a wolf'. It is highly likely that John picked up the milk. It is highly likely that Greg is a lion. It is probable that Brian is a swan.,It is unlikely that 'Greg 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.9::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.99,0.22124424884976995,train,certain,unlikely,It is certain that 'Greg is a lion' or 'John picked up the milk' or both.,It is unlikely that 'Greg is a lion' or 'John picked up the milk' or both.,0,'Greg is a lion' or 'John picked up the milk' or both. Chances are slight that Sandra left the milk. It is unlikely that Mary moved to the garden. Chances are slight that Julius is a swan.,It is unlikely that 'Julius 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.1::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.19000000000000006,0.29345869173834765,train,unlikely,probable,It is unlikely that 'Julius is a swan' or 'Sandra left the milk' or both.,It is probable that 'Julius is a swan' or 'Sandra left the milk' or both.,1,'Julius is a swan' or 'Sandra left the milk' or both. Chances are about even that Jason is tired. We doubt that Mary went to the garden. There is a very good chance that Julius is a frog.,It is probably the case that either 'Julius is a frog' or 'Mary went to the garden' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.68,0.09521904380876176,train,probably,almost no chance,It is probably the case that either 'Julius is a frog' or 'Mary went to the garden' but not both.,There is almost no chance that either 'Julius is a frog' or 'Mary went to the garden' but not both.,1,Either 'Julius is a frog' or 'Mary went to the garden' but not both. There is a better than even chance that Brian is a rhino. Chances are about even that John took the football. It is impossible that Winona is a sheep.,Chances are about even that either 'John took 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.6::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5000000000000001,0.7171434286857371,train,about even,certain,Chances are about even that either 'John took the football' or 'Brian is a rhino' but not both.,It is certain that either 'John took the football' or 'Brian is a rhino' but not both.,1,Either 'John took the football' or 'Brian is a rhino' but not both. It is highly likely that Jason is thirsty. It is impossible that Bernhard is a swan. It is unlikely that Winona is a wolf.,Chances are slight that 'Bernhard 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.9::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.47829565913182637,train,highly likely,chances are slight,It is highly likely that 'Bernhard is a swan' or 'Jason is thirsty' or both.,Chances are slight that 'Bernhard is a swan' or 'Jason is thirsty' or both.,0,'Bernhard is a swan' or 'Jason is thirsty' or both. It is certain that Brian is a rhino. It is improbable that Bill moved to the office. There is a very good chance that Daniel dropped the apple.,There is a very good chance that either 'Brian is a rhino' 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 1.0::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.19999999999999998,0.7885577115423085,train,unlikely,very good chance,It is unlikely that either 'Brian is a rhino' or 'Daniel dropped the apple' but not both.,There is a very good chance that either 'Brian is a rhino' or 'Daniel dropped the apple' but not both.,0,Either 'Brian is a rhino' or 'Daniel dropped the apple' but not both. It is highly likely that Julius is a lion. It is probably the case that Jessica is a cat. It is almost certain that Greg is a swan.,It is almost certain that 'Jessica is a cat' 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.9::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.7943588717743548,train,almost certain,chances are slight,It is almost certain that 'Jessica is a cat' or 'Julius is a lion' or both.,Chances are slight that 'Jessica is a cat' or 'Julius is a lion' or both.,1,'Jessica is a cat' or 'Julius is a lion' or both. Chances are about even that Lily is a rhino. It is certain that John went to the hallway. It is unlikely that Daniel grabbed the milk.,It is unlikely that 'Daniel grabbed 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.2,0.09801960392078415,train,unlikely,we believe,It is unlikely that 'Daniel grabbed the milk and John went to the hallway'.,We believe that 'Daniel grabbed the milk and John went to the hallway'.,1,'Daniel grabbed the milk and John went to the hallway'. We believe that John grabbed the milk. It is impossible that Daniel left the football. It is certain that Bill went to the kitchen.,It is certain that 'Daniel left the football' or 'Bill 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. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.2778555711142228,train,certain,almost no chance,It is certain that 'Daniel left the football' or 'Bill went to the kitchen' or both.,There is almost no chance that 'Daniel left the football' or 'Bill went to the kitchen' or both.,1,'Daniel left the football' or 'Bill went to the kitchen' or both. Chances are slight that Brian is gray. It is impossible that Daniel put down the milk. Chances are about even that Sandra grabbed the apple.,It is impossible that 'Sandra grabbed the apple and Daniel put down the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.28685737147429485,train,impossible,about even,It is impossible that 'Sandra grabbed the apple and Daniel put down the milk'.,Chances are about even that 'Sandra grabbed the apple and Daniel put down the milk'.,1,'Sandra grabbed the apple and Daniel put down the milk'. It is probably not the case that John went to the garden. It is probably the case that Mary picked up the apple. It is unlikely that Brian is white.,It is impossible that either 'Brian is white' 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.25::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.792758551710342,train,better than even,impossible,There is a better than even chance that either 'Brian is white' or 'Mary picked up the apple' but not both.,It is impossible that either 'Brian is white' or 'Mary picked up the apple' but not both.,0,Either 'Brian is white' or 'Mary picked up the apple' but not both. It is unlikely that Mary moved to the office. We doubt that Daniel left the apple. There is a better than even chance that Lily is a lion.,It is probably not the case that 'Mary moved to the office' 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.2::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.36000000000000004,0.5605121024204841,train,probably not,almost certain,It is probably not the case that 'Mary moved to the office' or 'Daniel left the apple' or both.,It is almost certain that 'Mary moved to the office' or 'Daniel left the apple' or both.,1,'Mary moved to the office' or 'Daniel left the apple' or both. There is a very good chance that Sandra left the milk. There is a very good chance that John put down the milk. Chances are slight that Greg is a frog.,There is a better than even chance that 'John put down the milk 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.8::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.64,0.5643128625725145,train,better than even,little chance,There is a better than even chance that 'John put down the milk and Sandra left the milk'.,There is little chance that 'John put down the milk and Sandra left the milk'.,1,'John put down the milk and Sandra left the milk'. There is almost no chance that Lily is gray. It is unlikely that Sandra put down the milk. There is a better than even chance that Julius is yellow.,It is probable that 'Sandra put down the milk 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.2::factB. 0.6::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.3234646929385877,train,improbable,probable,It is improbable that 'Sandra put down the milk and Julius is yellow'.,It is probable that 'Sandra put down the milk and Julius is yellow'.,0,'Sandra put down the milk and Julius is yellow'. It is highly likely that Julius is gray. It is impossible that Jeff went to the bedroom. It is likely that Lily is white.,It is highly likely that 'Julius is gray' 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.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.6839367873574715,train,highly likely,highly unlikely,It is highly likely that 'Julius is gray' or 'Jeff went to the bedroom' or both.,It is highly unlikely that 'Julius is gray' or 'Jeff went to the bedroom' or both.,1,'Julius is gray' or 'Jeff went to the bedroom' or both. It is probably not the case that Brian is a swan. There is a better than even chance that Bill moved to the office. It is improbable that Mary went to the bedroom.,It is likely that 'Brian is a swan' 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.25::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.3170634126825365,train,likely,impossible,It is likely that 'Brian is a swan' or 'Bill moved to the office' or both.,It is impossible that 'Brian is a swan' or 'Bill moved to the office' or both.,1,'Brian is a swan' or 'Bill moved to the office' or both. It is highly unlikely that Bernhard is a lion. It is probably the case that John went to the office. There is almost no chance that Sandra took the football.,It is highly unlikely that either 'Sandra took the football' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.692,0.630126025205041,train,probably,highly unlikely,It is probably the case that either 'Sandra took the football' or 'John went to the office' but not both.,It is highly unlikely that either 'Sandra took the football' or 'John went to the office' but not both.,0,Either 'Sandra took the football' or 'John went to the office' but not both. Chances are slight that John left the football. There is almost no chance that Brian is yellow. Chances are slight that Bernhard is a rhino.,We doubt that either 'John 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.1::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.5011002200440088,train,we doubt,likely,We doubt that either 'John left the football' or 'Bernhard is a rhino' but not both.,It is likely that either 'John left the football' or 'Bernhard is a rhino' but not both.,1,Either 'John left the football' or 'Bernhard is a rhino' but not both. It is probable that Lily is a rhino. It is likely that Bernhard is green. There is a very good chance that Daniel grabbed the milk.,It is impossible that either 'Bernhard is green' 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.7::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.41448289657931586,train,about even,impossible,Chances are about even that either 'Bernhard is green' or 'Lily is a rhino' but not both.,It is impossible that either 'Bernhard is green' or 'Lily is a rhino' but not both.,0,Either 'Bernhard is green' or 'Lily is a rhino' but not both. It is unlikely that Bernhard is a frog. There is almost no chance that Mary went to the bedroom. It is probable that Lily is a rhino.,It is almost certain 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.2::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.7621524304860973,train,little chance,almost certain,There is little chance that 'Lily is a rhino and Bernhard is a frog'.,It is almost certain that 'Lily is a rhino and Bernhard is a frog'.,0,'Lily is a rhino and Bernhard is a frog'. Chances are slight that Jason is tired. We doubt that John grabbed the apple. Chances are about even that Sandra put down the milk.,There is almost no chance that either 'Sandra 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.2::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.480496099219844,train,about even,almost no chance,Chances are about even that either 'Sandra put down the milk' or 'Jason is tired' but not both.,There is almost no chance that either 'Sandra put down the milk' or 'Jason is tired' but not both.,0,Either 'Sandra put down the milk' or 'Jason is tired' but not both. It is almost certain that Lily is yellow. It is probably the case that John moved to the garden. We believe that Bernhard is a swan.,It is almost certain that either 'Bernhard 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.95::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.04180836167233447,train,about even,almost certain,Chances are about even that either 'Bernhard is a swan' or 'John moved to the garden' but not both.,It is almost certain that either 'Bernhard is a swan' or 'John moved to the garden' but not both.,0,Either 'Bernhard is a swan' or 'John moved to the garden' but not both. It is impossible that Mary discarded the milk. It is improbable that Julius is a rhino. There is almost no chance that Greg is white.,It is likely that 'Mary 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.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.1268253650730146,train,impossible,likely,It is impossible that 'Mary discarded the milk and Greg is white'.,It is likely that 'Mary discarded the milk and Greg is white'.,0,'Mary discarded the milk and Greg is white'. It is highly unlikely that Lily is a frog. It is impossible that Brian is a rhino. It is probably not the case that Yann is hungry.,It is certain that 'Yann is hungry' 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.0::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.25,0.20424084816963392,train,probably not,certain,It is probably not the case that 'Yann is hungry' or 'Brian is a rhino' or both.,It is certain that 'Yann is hungry' or 'Brian is a rhino' or both.,0,'Yann is hungry' or 'Brian is a rhino' or both. It is impossible that Lily is white. It is impossible that Julius is gray. It is unlikely that Fred is in the cinema.,It is probably the case that 'Julius is gray 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.0::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.11362272454490899,train,impossible,probably,It is impossible that 'Julius is gray and Fred is in the cinema'.,It is probably the case that 'Julius is gray and Fred is in the cinema'.,0,'Julius is gray and Fred is in the cinema'. It is probable that Julius is gray. It is probably not the case that Lily is a lion. It is likely that Mary went to the office.,Chances are slight 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.7::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9099999999999999,0.1184236847369474,train,highly likely,chances are slight,It is highly likely that 'Mary went to the office' or 'Julius is gray' or both.,Chances are slight 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 probably not the case that Brian is a frog. There is a better than even chance that Greg is gray. We doubt that John left the apple.,There is a better than even chance that either 'Greg is gray' 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.25::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5599999999999999,0.6739347869573915,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is gray' or 'John left the apple' but not both.,It is highly unlikely that either 'Greg is gray' or 'John left the apple' but not both.,1,Either 'Greg is gray' or 'John left the apple' but not both. We believe that John moved to the office. It is probable that Greg is a rhino. It is probably the case that Gertrude is a mouse.,It is highly unlikely that either 'John moved 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.75::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.0656131226245249,train,about even,highly unlikely,Chances are about even that either 'John moved to the office' or 'Greg is a rhino' but not both.,It is highly unlikely that either 'John moved to the office' or 'Greg is a rhino' but not both.,0,Either 'John moved to the office' or 'Greg is a rhino' but not both. It is improbable that John went to the office. It is highly unlikely that Gertrude is a sheep. It is improbable that Greg is green.,There is little chance that 'John went 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.14500000000000005,0.29905981196239245,train,little chance,probable,There is little chance that 'John went to the office' or 'Gertrude is a sheep' or both.,It is probable that 'John went to the office' or 'Gertrude is a sheep' or both.,1,'John went to the office' or 'Gertrude is a sheep' or both. It is certain that John dropped the apple. We believe that Julius is a frog. Chances are slight that Greg is gray.,It is impossible that 'Greg 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.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.028405681136227247,train,we believe,impossible,We believe that 'Greg is gray' or 'Julius is a frog' or both.,It is impossible that 'Greg is gray' or 'Julius is a frog' or both.,0,'Greg is gray' or 'Julius is a frog' or both. It is likely that Fred is in the cinema. It is likely that Mary dropped the apple. It is highly likely that Brian is a rhino.,There is a better than even chance that 'Mary dropped 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.7::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.14502900580116024,train,better than even,chances are slight,There is a better than even chance that 'Mary dropped the apple and Brian is a rhino'.,Chances are slight that 'Mary dropped the apple and Brian is a rhino'.,1,'Mary dropped the apple and Brian is a rhino'. It is probably the case that Antoine is hungry. It is almost certain that Julius is white. It is impossible that John moved to the garden.,It is probably the case that either 'John moved to the garden' 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.95::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7,0.04060812162432487,train,probably,highly unlikely,It is probably the case that either 'John moved to the garden' or 'Antoine is hungry' but not both.,It is highly unlikely that either 'John moved to the garden' or 'Antoine is hungry' but not both.,1,Either 'John moved to the garden' or 'Antoine is hungry' but not both. It is probable that Greg is a lion. Chances are about even that Sandra left the milk. It is probably the case that Mary took the milk.,Chances are about even that either 'Greg 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 0.7::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.3132626525305061,train,about even,impossible,Chances are about even that either 'Greg is a lion' or 'Mary took the milk' but not both.,It is impossible that either 'Greg is a lion' or 'Mary took the milk' but not both.,1,Either 'Greg is a lion' or 'Mary took the milk' but not both. It is highly unlikely that Brian is white. It is highly likely that Mary discarded the apple. There is a better than even chance that Lily is a frog.,Chances are about even that either 'Lily is a frog' 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.05::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42000000000000004,0.17683536707341468,train,about even,almost no chance,Chances are about even that either 'Lily is a frog' or 'Mary discarded the apple' but not both.,There is almost no chance that either 'Lily is a frog' or 'Mary discarded the apple' but not both.,1,Either 'Lily is a frog' or 'Mary discarded the apple' but not both. It is certain that Mary went to the office. It is probably the case that Bernhard is a swan. We believe that Greg is white.,It is almost certain that 'Bernhard 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 1.0::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.925,0.7145429085817163,train,almost certain,almost no chance,It is almost certain that 'Bernhard is a swan' or 'Greg is white' or both.,There is almost no chance that 'Bernhard is a swan' or 'Greg is white' or both.,1,'Bernhard is a swan' or 'Greg is white' or both. It is likely that Lily is a frog. It is probable that Sandra left the milk. It is probable that Brian is a swan.,Chances are about even 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.41268253650730147,train,about even,almost no chance,Chances are about even that either 'Brian is a swan' or 'Sandra left the milk' but not both.,There is almost no chance that either 'Brian is a swan' or 'Sandra left the milk' but not both.,1,Either 'Brian is a swan' or 'Sandra left the milk' but not both. There is a very good chance that Gertrude is a sheep. There is a better than even chance that Mary moved to the garden. We doubt that Bernhard is yellow.,It is unlikely that 'Bernhard 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.8::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.16000000000000003,0.6027205441088218,train,unlikely,highly likely,It is unlikely that 'Bernhard is yellow and Gertrude is a sheep'.,It is highly likely that 'Bernhard is yellow and Gertrude is a sheep'.,1,'Bernhard is yellow and Gertrude is a sheep'. There is a very good chance that John put down the milk. We doubt that Bill went to the office. It is probably the case that Lily is a lion.,It is almost certain that either 'John put down 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.8::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.38,0.5757151430286057,train,about even,almost certain,Chances are about even that either 'John put down the milk' or 'Lily is a lion' but not both.,It is almost certain that either 'John put down the milk' or 'Lily is a lion' but not both.,0,Either 'John put down the milk' or 'Lily is a lion' but not both. There is almost no chance that Mary moved to the office. It is highly likely that John went to the garden. It is highly unlikely that Greg is a lion.,We doubt 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.9::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.884,0.32406481296259254,train,highly likely,we doubt,It is highly likely that either 'Mary moved to the office' or 'John went to the garden' but not both.,We doubt that either 'Mary moved to the office' or 'John went to the garden' but not both.,0,Either 'Mary moved to the office' or 'John went to the garden' but not both. There is a very good chance that Mary grabbed the milk. There is little chance that Julius is a rhino. It is almost certain that Greg is white.,It is impossible that 'Julius 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.8::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.794758951790358,train,almost certain,impossible,It is almost certain that 'Julius is a rhino' or 'Greg is white' or both.,It is impossible that 'Julius is a rhino' or 'Greg is white' or both.,0,'Julius is a rhino' or 'Greg is white' or both. It is highly likely that Antoine is bored. Chances are slight that Brian is a frog. It is probable that Mary moved to the garden.,It is highly likely that 'Brian is a frog' 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.9::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.91,0.03800760152030406,train,highly likely,probably not,It is highly likely that 'Brian is a frog' or 'Antoine is bored' or both.,It is probably not the case that 'Brian is a frog' or 'Antoine is bored' or both.,1,'Brian is a frog' or 'Antoine is bored' or both. It is highly likely that Julius is a swan. It is highly likely that Gertrude is a mouse. It is impossible that John went to the garden.,It is unlikely that either 'Gertrude 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.9::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.15743148629725945,train,highly likely,unlikely,It is highly likely that either 'Gertrude is a mouse' or 'John went to the garden' but not both.,It is unlikely that either 'Gertrude is a mouse' or 'John went to the garden' but not both.,0,Either 'Gertrude is a mouse' or 'John went to the garden' but not both. Chances are slight that Brian is yellow. There is a better than even chance that Bill moved to the office. It is probably not the case that Winona is a mouse.,It is probably not the case that either 'Brian is yellow' or 'Winona is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.6::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.46389277855571115,train,probably not,we believe,It is probably not the case that either 'Brian is yellow' or 'Winona is a mouse' but not both.,We believe that either 'Brian is yellow' or 'Winona is a mouse' but not both.,1,Either 'Brian is yellow' or 'Winona is a mouse' but not both. It is almost certain that Bernhard is white. It is certain that Julius is a swan. There is a better than even chance that Lily is a frog.,There is almost no chance that either 'Bernhard 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.95::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.41000000000000003,0.7841568313662732,train,about even,almost no chance,Chances are about even that either 'Bernhard is white' or 'Lily is a frog' but not both.,There is almost no chance that either 'Bernhard is white' or 'Lily is a frog' but not both.,0,Either 'Bernhard is white' or 'Lily is a frog' but not both. It is highly likely that Greg is a frog. There is almost no chance that Mary left the apple. It is certain that John took the football.,It is certain that 'John took the football' or 'Greg is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.02::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6495299059811962,train,certain,chances are slight,It is certain that 'John took the football' or 'Greg is a frog' or both.,Chances are slight that 'John took the football' or 'Greg is a frog' or both.,1,'John took the football' or 'Greg is a frog' or both. It is probably not the case that Julius is a frog. It is impossible that John moved to the garden. Chances are slight that Bernhard is a swan.,It is probably the case that either 'John 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.25::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.25,0.5977195439087818,train,probably not,probably,It is probably not the case that either 'John moved to the garden' or 'Julius is a frog' but not both.,It is probably the case that either 'John moved to the garden' or 'Julius is a frog' but not both.,0,Either 'John moved to the garden' or 'Julius is a frog' but not both. There is a better than even chance that Jessica is a cat. Chances are slight that Fred put down the apple. It is almost certain that Mary went to the garden.,It is highly likely that 'Jessica is a cat 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.6::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.06,0.6011202240448089,train,highly unlikely,highly likely,It is highly unlikely that 'Jessica is a cat and Fred put down the apple'.,It is highly likely that 'Jessica is a cat and Fred put down the apple'.,0,'Jessica is a cat and Fred put down the apple'. We believe that Lily is a rhino. It is probably not the case that John put down the apple. It is certain that Greg is a frog.,It is certain that 'John put down 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.75::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.5733146629325865,train,certain,about even,It is certain that 'John put down the apple' or 'Greg is a frog' or both.,Chances are about even that 'John put down the apple' or 'Greg is a frog' or both.,1,'John put down the apple' or 'Greg is a frog' or both. There is a very good chance that Mary went to the garden. There is a very good chance that Julius is yellow. It is probable that Lily is a swan.,There is almost no chance that 'Mary went 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.8::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9600000000000001,0.32586517303460694,train,almost certain,almost no chance,It is almost certain that 'Mary went to the garden' or 'Julius is yellow' or both.,There is almost no chance that 'Mary went to the garden' or 'Julius is yellow' or both.,0,'Mary went to the garden' or 'Julius is yellow' or both. It is almost certain that Sumit is hungry. We doubt that Mary put down the apple. It is impossible that Fred dropped the milk.,It is impossible that 'Mary put down the apple 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.95::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.4212842568513703,train,impossible,almost certain,It is impossible that 'Mary put down the apple and Fred dropped the milk'.,It is almost certain that 'Mary put down the apple and Fred dropped the milk'.,1,'Mary put down the apple and Fred dropped the milk'. It is probable that Bill went to the bedroom. We believe that Mary left the milk. It is impossible that Emily is a wolf.,It is improbable that either 'Bill went to the bedroom' 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.75::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.2666533306661332,train,probably,improbable,It is probably the case that either 'Bill went to the bedroom' or 'Emily is a wolf' but not both.,It is improbable that either 'Bill went to the bedroom' or 'Emily is a wolf' but not both.,0,Either 'Bill went to the bedroom' or 'Emily is a wolf' but not both. It is highly unlikely that John left the football. It is probably the case that Jeff went to the garden. It is improbable that Julius is yellow.,It is highly unlikely that 'Jeff went to the garden 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.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.035,0.2646529305861172,train,highly unlikely,likely,It is highly unlikely that 'Jeff went to the garden and John left the football'.,It is likely that 'Jeff went to the garden and John left the football'.,1,'Jeff went to the garden and John left the football'. It is probable that Daniel left the apple. It is likely that Sandra took the football. Chances are slight that Brian is a frog.,It is probable that either 'Daniel left 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.7941588317663533,train,probable,probably not,It is probable that either 'Daniel left the apple' or 'Brian is a frog' but not both.,It is probably not the case that either 'Daniel left the apple' or 'Brian is a frog' but not both.,1,Either 'Daniel left the apple' or 'Brian is a frog' but not both. We believe that John moved to the garden. It is certain that Greg is yellow. It is highly likely that Julius is green.,It is probably the case that either 'Julius is green' 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. 1.0::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.09999999999999998,0.747749549909982,train,chances are slight,probably,Chances are slight that either 'Julius is green' or 'Greg is yellow' but not both.,It is probably the case that either 'Julius is green' or 'Greg is yellow' but not both.,0,Either 'Julius is green' or 'Greg is yellow' but not both. There is a better than even chance that Greg is white. It is probably not the case that Mary dropped the milk. It is almost certain that Brian is green.,It is certain that 'Greg is white' 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.25::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.98,0.48389677935587116,train,certain,probably not,It is certain that 'Greg is white' or 'Brian is green' or both.,It is probably not the case that 'Greg is white' or 'Brian is green' or both.,1,'Greg is white' or 'Brian is green' or both. It is likely that Mary went to the hallway. It is highly likely that Jessica is a cat. It is probable that Lily is green.,It is almost certain 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.7::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.7549509901980396,train,almost certain,about even,It is almost certain that 'Mary went to the hallway' or 'Jessica is a cat' or both.,Chances are about even that 'Mary went to the hallway' or 'Jessica is a cat' or both.,1,'Mary went to the hallway' or 'Jessica is a cat' or both. Chances are about even that Julius is white. There is little chance that Sumit is tired. It is highly likely that Lily is green.,It is impossible that 'Lily is green 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.5::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.45000000000000007,0.27005401080216046,train,about even,impossible,Chances are about even that 'Lily is green and Julius is white'.,It is impossible that 'Lily is green and Julius is white'.,0,'Lily is green and Julius is white'. We doubt that Julius is green. It is certain that John moved to the garden. It is probably not the case that Bernhard is a frog.,It is highly unlikely 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.2::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.3290658131626325,train,certain,highly unlikely,It is certain that 'Julius is green' or 'John moved to the garden' or both.,It is highly unlikely that 'Julius is green' or 'John moved to the garden' or both.,0,'Julius is green' or 'John moved to the garden' or both. There is a very good chance that Greg is yellow. It is probable that Lily is a lion. It is probable that Winona is a wolf.,It is impossible that 'Winona is a wolf 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.13162632526505302,train,about even,impossible,Chances are about even that 'Winona is a wolf and Lily is a lion'.,It is impossible that 'Winona is a wolf and Lily is a lion'.,0,'Winona is a wolf and Lily is a lion'. It is unlikely that Julius is white. It is improbable that John moved to the garden. Chances are slight that Greg is yellow.,It is certain that 'Greg 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.5469093818763753,train,probably not,certain,It is probably not the case that 'Greg is yellow' or 'Julius is white' or both.,It is certain that 'Greg is yellow' or 'Julius is white' or both.,0,'Greg is yellow' or 'Julius is white' or both. We believe that John went to the office. There is a very good chance that Lily is a frog. It is highly likely that Mary took the football.,It is probably not the case that either 'Mary took the football' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.8::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.1794358871774355,train,probably not,probable,It is probably not the case that either 'Mary took the football' or 'John went to the office' but not both.,It is probable that either 'Mary took the football' or 'John went to the office' but not both.,1,Either 'Mary took the football' or 'John went to the office' but not both. It is improbable that Greg is a frog. Chances are about even that Daniel grabbed the apple. It is highly likely that Mary went to the kitchen.,It is impossible that 'Daniel grabbed 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.1::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45000000000000007,0.33246649329865974,train,about even,impossible,Chances are about even that 'Daniel grabbed the apple and Mary went to the kitchen'.,It is impossible that 'Daniel grabbed the apple and Mary went to the kitchen'.,0,'Daniel grabbed the apple and Mary went to the kitchen'. It is unlikely that Mary grabbed the milk. It is probable that Julius is a swan. Chances are slight that Bernhard is a swan.,It is highly unlikely that 'Julius is a swan and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.7121424284856971,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a swan and Bernhard is a swan'.,It is almost certain that 'Julius is a swan and Bernhard is a swan'.,1,'Julius is a swan and Bernhard is a swan'. It is unlikely that Gertrude is a mouse. It is probable that Mary dropped the milk. It is improbable that John discarded the apple.,It is probably not the case that 'Gertrude is a mouse' or 'John discarded the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.1920384076815363,train,probably not,very good chance,It is probably not the case that 'Gertrude is a mouse' or 'John discarded the apple' or both.,There is a very good chance that 'Gertrude is a mouse' or 'John discarded the apple' or both.,1,'Gertrude is a mouse' or 'John discarded the apple' or both. It is almost certain that Bernhard is a frog. We doubt that Mary picked up the apple. We believe that Brian is white.,It is likely that either 'Brian 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.95::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.275,0.7491498299659932,train,probably not,likely,It is probably not the case that either 'Brian is white' or 'Bernhard is a frog' but not both.,It is likely that either 'Brian is white' or 'Bernhard is a frog' but not both.,0,Either 'Brian is white' or 'Bernhard is a frog' but not both. It is probable that Bernhard is a swan. We doubt that Daniel left the milk. We doubt that Brian is yellow.,It is probably not the case that either 'Daniel left the milk' 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.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.5175035007001401,train,probably not,very good chance,It is probably not the case that either 'Daniel left the milk' or 'Brian is yellow' but not both.,There is a very good chance that either 'Daniel left the milk' or 'Brian is yellow' but not both.,1,Either 'Daniel left the milk' or 'Brian is yellow' but not both. It is unlikely that John got the football. It is highly unlikely that Mary dropped the milk. It is improbable that Greg is a lion.,It is probably the case that 'Mary dropped the milk 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.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.5997199439887978,train,almost no chance,probably,There is almost no chance that 'Mary dropped the milk and John got the football'.,It is probably the case that 'Mary dropped the milk and John got the football'.,0,'Mary dropped the milk and John got the football'. It is probable that Daniel left the apple. There is a better than even chance that Greg is white. Chances are about even that Brian is a lion.,It is highly unlikely that either 'Daniel 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.7::factA. 0.6::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.6227245449089818,train,about even,highly unlikely,Chances are about even that either 'Daniel left the apple' or 'Greg is white' but not both.,It is highly unlikely that either 'Daniel left the apple' or 'Greg is white' but not both.,0,Either 'Daniel left the apple' or 'Greg is white' but not both. It is improbable that Winona is a wolf. It is impossible that Mary went to the garden. There is a better than even chance that Bernhard is a lion.,It is improbable that 'Bernhard 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.1::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6,0.2638527705541108,train,better than even,improbable,There is a better than even chance that 'Bernhard is a lion' or 'Mary went to the garden' or both.,It is improbable that 'Bernhard is a lion' or 'Mary went to the garden' or both.,0,'Bernhard is a lion' or 'Mary went to the garden' or both. There is almost no chance that Jeff moved to the office. Chances are slight that Julius is a swan. It is impossible that John grabbed the apple.,It is likely that 'Julius is a swan 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.02::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.5451090218043608,train,impossible,likely,It is impossible that 'Julius is a swan and Jeff moved to the office'.,It is likely that 'Julius is a swan and Jeff moved to the office'.,0,'Julius is a swan and Jeff moved to the office'. It is likely that Daniel got the football. It is probably the case that Mary moved to the garden. It is certain that Julius is a frog.,It is probably not the case that either 'Julius 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.7::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.5815163032606522,train,probably not,probable,It is probably not the case that either 'Julius is a frog' or 'Mary moved to the garden' but not both.,It is probable that either 'Julius is a frog' or 'Mary moved to the garden' but not both.,1,Either 'Julius is a frog' or 'Mary moved to the garden' but not both. Chances are about even that Jeff put down the milk. It is highly likely that Bernhard is green. It is probable that Lily is a rhino.,Chances are about even that 'Jeff put down 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.5::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.45000000000000007,0.41608321664332865,train,about even,almost no chance,Chances are about even that 'Jeff put down the milk and Bernhard is green'.,There is almost no chance that 'Jeff put down the milk and Bernhard is green'.,1,'Jeff put down the milk and Bernhard is green'. We believe that Greg is yellow. There is a better than even chance that Jason is tired. There is a better than even chance that Julius is a lion.,It is highly unlikely that 'Jason is tired' 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.6::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.44388877775555113,train,very good chance,highly unlikely,There is a very good chance that 'Jason is tired' or 'Julius is a lion' or both.,It is highly unlikely that 'Jason is tired' or 'Julius is a lion' or both.,0,'Jason is tired' or 'Julius is a lion' or both. There is a better than even chance that Greg is yellow. It is impossible that Julius is gray. It is probably the case that Fred dropped the milk.,It is impossible that 'Julius 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.6::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5859171834366873,train,impossible,better than even,It is impossible that 'Julius is gray and Greg is yellow'.,There is a better than even chance that 'Julius is gray and Greg is yellow'.,1,'Julius is gray and Greg is yellow'. Chances are about even that Julius is yellow. It is impossible that John picked up the milk. It is unlikely that Bernhard is a lion.,It is probable that 'John picked up 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 0.5::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.2,0.530506101220244,train,we doubt,probable,We doubt that 'John picked up the milk' or 'Bernhard is a lion' or both.,It is probable that 'John picked up the milk' or 'Bernhard is a lion' or both.,0,'John picked up the milk' or 'Bernhard is a lion' or both. It is certain that Lily is green. It is unlikely that John grabbed the apple. It is certain that Bernhard is gray.,We doubt that 'John grabbed 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 1.0::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.7511502300460092,train,certain,we doubt,It is certain that 'John grabbed the apple' or 'Bernhard is gray' or both.,We doubt that 'John grabbed the apple' or 'Bernhard is gray' or both.,0,'John grabbed the apple' or 'Bernhard is gray' or both. Chances are about even that John went to the bedroom. It is probably the case that Julius is a swan. It is probably the case that Mary dropped the milk.,There is a very good chance that 'Mary dropped 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.5::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.85,0.7853570714142829,train,very good chance,almost no chance,There is a very good chance that 'Mary dropped the milk' or 'John went to the bedroom' or both.,There is almost no chance that 'Mary dropped the milk' or 'John went to the bedroom' or both.,1,'Mary dropped the milk' or 'John went to the bedroom' or both. It is highly likely that Bernhard is a swan. We believe that Greg is yellow. There is little chance that John went to the kitchen.,It is probable that 'Bernhard is a swan and Greg is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.675,0.15823164632926584,train,probable,little chance,It is probable that 'Bernhard is a swan and Greg is yellow'.,There is little chance that 'Bernhard is a swan and Greg is yellow'.,1,'Bernhard is a swan and Greg is yellow'. It is almost certain that Jeff went to the bedroom. There is almost no chance that John took the apple. Chances are about even that Brian is yellow.,It is highly unlikely that 'Brian is yellow' 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.95::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.51,0.6767353470694139,train,about even,highly unlikely,Chances are about even that 'Brian is yellow' or 'John took the apple' or both.,It is highly unlikely that 'Brian is yellow' or 'John took the apple' or both.,0,'Brian is yellow' or 'John took the apple' or both. We doubt that Mary left the football. It is likely that Greg is gray. It is likely that Bernhard is yellow.,There is almost no chance that 'Mary left the football' 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. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.76,0.27525505101020203,train,we believe,almost no chance,We believe that 'Mary left the football' or 'Bernhard is yellow' or both.,There is almost no chance that 'Mary left the football' or 'Bernhard is yellow' or both.,0,'Mary left the football' or 'Bernhard is yellow' or both. There is a better than even chance that Julius is a lion. It is probably the case that Lily is yellow. It is probably the case that Emily is a mouse.,Chances are about even that either 'Emily 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 0.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.45999999999999996,0.16423284656931386,train,about even,almost certain,Chances are about even that either 'Emily is a mouse' or 'Julius is a lion' but not both.,It is almost certain that either 'Emily is a mouse' or 'Julius is a lion' but not both.,1,Either 'Emily is a mouse' or 'Julius is a lion' but not both. It is likely that Mary left the milk. There is little chance that Jason is bored. Chances are about even that Brian is a swan.,It is probably not the case that 'Mary left 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.7::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.29545909181836366,train,probably not,certain,It is probably not the case that 'Mary left the milk and Brian is a swan'.,It is certain that 'Mary left the milk and Brian is a swan'.,1,'Mary left the milk and Brian is a swan'. We believe that John took the apple. It is likely that Bernhard is a swan. We doubt that Fred left the football.,Chances are slight that 'John took the apple' 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.75::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.6679335867173435,train,very good chance,chances are slight,There is a very good chance that 'John took the apple' or 'Fred left the football' or both.,Chances are slight that 'John took the apple' or 'Fred left the football' or both.,0,'John took the apple' or 'Fred left the football' or both. It is highly likely that Jason is tired. Chances are slight that Greg is yellow. There is a very good chance that Lily is a lion.,Chances are slight that 'Lily 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.9::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.98,0.7855571114222845,train,certain,chances are slight,It is certain that 'Lily is a lion' or 'Jason is tired' or both.,Chances are slight that 'Lily is a lion' or 'Jason is tired' or both.,0,'Lily is a lion' or 'Jason is tired' or both. It is probably not the case that Mary grabbed the milk. It is likely that Julius is a frog. There is little chance that Lily is a swan.,We doubt 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.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.240248049609922,train,we believe,we doubt,We believe that 'Julius is a frog' or 'Lily is a swan' or both.,We doubt that 'Julius is a frog' or 'Lily is a swan' or both.,0,'Julius is a frog' or 'Lily is a swan' or both. It is highly unlikely that Lily is a lion. It is almost certain that Mary dropped the apple. It is almost certain that Greg is a swan.,It is highly unlikely that 'Lily is a lion 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.95::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0475,0.11302260452090418,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is a lion and Mary dropped the apple'.,It is almost certain that 'Lily is a lion and Mary dropped the apple'.,1,'Lily is a lion and Mary dropped the apple'. It is unlikely that Julius is gray. It is likely that John picked up the apple. There is little chance that Bernhard is a rhino.,It is probably not the case 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.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.21404280856171234,train,probably not,likely,It is probably not the case that either 'Bernhard is a rhino' or 'Julius is gray' but not both.,It is likely that either 'Bernhard is a rhino' or 'Julius is gray' but not both.,1,Either 'Bernhard is a rhino' or 'Julius is gray' but not both. We doubt that Winona is a mouse. Chances are slight that John went to the garden. It is certain that Julius is a lion.,It is certain that 'Julius is a lion' 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.1::factB. 1.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.6333266653330666,train,certain,we doubt,It is certain that 'Julius is a lion' or 'John went to the garden' or both.,We doubt that 'Julius is a lion' or 'John went to the garden' or both.,1,'Julius is a lion' or 'John went to the garden' or both. There is a very good chance that Sandra left the milk. It is highly likely that John moved to the office. Chances are slight that Bernhard is a swan.,It is highly likely that 'Bernhard is a swan' or 'John moved to the office' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.41928385677135427,train,highly likely,chances are slight,It is highly likely that 'Bernhard is a swan' or 'John moved to the office' or both.,Chances are slight that 'Bernhard is a swan' or 'John moved to the office' or both.,1,'Bernhard is a swan' or 'John moved to the office' or both. There is almost no chance that Daniel dropped the milk. There is almost no chance that Brian is a swan. It is impossible that Jessica is a cat.,It is certain that either 'Daniel dropped 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.02::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.02,0.5297059411882377,train,almost no chance,certain,There is almost no chance that either 'Daniel dropped the milk' or 'Jessica is a cat' but not both.,It is certain that either 'Daniel dropped the milk' or 'Jessica is a cat' but not both.,0,Either 'Daniel dropped the milk' or 'Jessica is a cat' but not both. It is probably not the case that Brian is a swan. Chances are slight that Lily is green. It is highly likely that Julius is a rhino.,It is likely that 'Brian 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.25::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.13482696539307862,train,almost no chance,likely,There is almost no chance that 'Brian is a swan and Lily is green'.,It is likely that 'Brian is a swan and Lily is green'.,0,'Brian is a swan and Lily is green'. We doubt that Emily is a wolf. We believe that Mary left the milk. It is improbable that Lily is a rhino.,Chances are slight that 'Mary 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 0.2::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.2012402480496099,train,we believe,chances are slight,We believe that 'Mary left the milk' or 'Lily is a rhino' or both.,Chances are slight that 'Mary left the milk' or 'Lily is a rhino' or both.,0,'Mary left the milk' or 'Lily is a rhino' or both. It is highly unlikely that Greg is a rhino. It is certain that Winona is a wolf. It is likely that Julius is a lion.,It is certain that 'Julius 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.05::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.28145629125825167,train,certain,probably not,It is certain that 'Julius is a lion' or 'Winona is a wolf' or both.,It is probably not the case that 'Julius is a lion' or 'Winona is a wolf' or both.,1,'Julius is a lion' or 'Winona is a wolf' or both. It is almost certain that Mary went to the kitchen. It is improbable that Bernhard is a rhino. It is unlikely that Daniel dropped the milk.,It is improbable that 'Daniel dropped 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.95::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.21264252850570114,train,almost certain,improbable,It is almost certain that 'Daniel dropped the milk' or 'Mary went to the kitchen' or both.,It is improbable that 'Daniel dropped the milk' or 'Mary went to the kitchen' or both.,0,'Daniel dropped the milk' or 'Mary went to the kitchen' or both. It is unlikely that John moved to the garden. It is almost certain that Mary left the milk. It is certain that Julius is white.,It is certain that 'Julius 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.2::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.2,0.23124624924984996,train,unlikely,certain,It is unlikely that 'Julius is white and John moved to the garden'.,It is certain that 'Julius is white and John moved to the garden'.,0,'Julius is white and John moved to the garden'. It is likely that Julius is white. It is unlikely that Mary left the milk. It is highly likely that Bernhard is gray.,It is almost certain that 'Julius is white' 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.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.004400880176035207,train,almost certain,impossible,It is almost certain that 'Julius is white' or 'Bernhard is gray' or both.,It is impossible that 'Julius is white' or 'Bernhard is gray' or both.,1,'Julius is white' or 'Bernhard is gray' or both. There is a very good chance that Fred dropped the milk. There is little chance that Lily is a swan. There is a very good chance that Julius is a lion.,There is a better than even chance that 'Fred dropped 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.8::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.64,0.6357271454290858,train,better than even,highly unlikely,There is a better than even chance that 'Fred dropped the milk and Julius is a lion'.,It is highly unlikely that 'Fred dropped the milk and Julius is a lion'.,1,'Fred dropped the milk and Julius is a lion'. Chances are slight that Bill went to the office. It is likely that Daniel dropped the milk. It is unlikely that Bernhard is green.,It is unlikely that 'Daniel 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.6037207441488298,train,we believe,unlikely,We believe that 'Daniel dropped the milk' or 'Bernhard is green' or both.,It is unlikely that 'Daniel dropped the milk' or 'Bernhard is green' or both.,0,'Daniel dropped the milk' or 'Bernhard is green' or both. There is a better than even chance that Mary moved to the garden. It is probably not the case that John went to the bedroom. There is almost no chance that Lily is a swan.,It is highly likely that 'John went to the bedroom' 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.25::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.265,0.5743148629725945,train,probably not,highly likely,It is probably not the case that 'John went to the bedroom' or 'Lily is a swan' or both.,It is highly likely that 'John went to the bedroom' or 'Lily is a swan' or both.,0,'John went to the bedroom' or 'Lily is a swan' or both. It is probable that Bernhard is a swan. It is certain that John went to the garden. It is probable that Julius is a rhino.,It is probable that 'John went to the garden and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.5083016603320664,train,probable,probably not,It is probable that 'John went to the garden and Bernhard is a swan'.,It is probably not the case that 'John went to the garden and Bernhard is a swan'.,1,'John went to the garden and Bernhard is a swan'. It is likely that Lily is a rhino. There is little chance that Brian is white. We believe that Jason is tired.,It is highly unlikely that 'Lily 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.7::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.0018003600720144029,train,highly unlikely,probably,It is highly unlikely that 'Lily is a rhino and Brian is white'.,It is probably the case that 'Lily is a rhino and Brian is white'.,1,'Lily is a rhino and Brian is white'. We doubt that John left the apple. It is probably not the case that Mary went to the office. There is little chance that Daniel took the milk.,It is probably not the case that either 'John left the apple' or 'Mary went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.35000000000000003,0.4586917383476695,train,probably not,almost certain,It is probably not the case that either 'John left the apple' or 'Mary went to the office' but not both.,It is almost certain that either 'John left the apple' or 'Mary went to the office' but not both.,1,Either 'John left the apple' or 'Mary went to the office' but not both. It is impossible that Mary went to the hallway. It is certain that Lily is white. There is little chance that Greg is a rhino.,Chances are slight that either 'Lily is white' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.2616523304660932,train,highly likely,chances are slight,It is highly likely that either 'Lily is white' or 'Greg is a rhino' but not both.,Chances are slight that either 'Lily is white' or 'Greg is a rhino' but not both.,0,Either 'Lily is white' or 'Greg is a rhino' but not both. It is impossible that Daniel dropped the milk. It is unlikely that Lily is a frog. It is almost certain that Greg is a swan.,It is almost certain that 'Greg 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.0::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.96,0.15003000600120023,train,almost certain,highly unlikely,It is almost certain that 'Greg is a swan' or 'Lily is a frog' or both.,It is highly unlikely that 'Greg is a swan' or 'Lily is a frog' or both.,1,'Greg is a swan' or 'Lily is a frog' or both. There is a better than even chance that Bernhard is gray. It is improbable that Julius is green. It is almost certain that Sandra took the milk.,There is a better than even chance that 'Julius is green' 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.1::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.0704140828165633,train,better than even,little chance,There is a better than even chance that 'Julius is green' or 'Bernhard is gray' or both.,There is little chance that 'Julius is green' or 'Bernhard is gray' or both.,1,'Julius is green' or 'Bernhard is gray' or both. We doubt that John went to the kitchen. It is probable that Greg is a rhino. It is highly likely that Mary dropped the apple.,There is a better than even chance that 'Mary 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.7::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.63,0.5849169833966793,train,better than even,improbable,There is a better than even chance that 'Mary dropped the apple and Greg is a rhino'.,It is improbable that 'Mary dropped the apple and Greg is a rhino'.,1,'Mary dropped the apple and Greg is a rhino'. It is impossible that Brian is green. Chances are about even that Greg is white. We doubt that John moved to the office.,There is a better than even chance 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.0::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6000000000000001,0.6513302660532106,train,better than even,improbable,There is a better than even chance that 'Greg is white' or 'John moved to the office' or both.,It is improbable that 'Greg is white' or 'John moved to the office' or both.,1,'Greg is white' or 'John moved to the office' or both. It is probably not the case that Bernhard is gray. Chances are about even that Mary dropped the milk. There is a very good chance that Lily is a swan.,There is almost no chance that 'Mary dropped 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.25::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6250000000000001,0.39247849569913984,train,better than even,almost no chance,There is a better than even chance that 'Mary dropped the milk' or 'Bernhard is gray' or both.,There is almost no chance that 'Mary dropped the milk' or 'Bernhard is gray' or both.,0,'Mary dropped the milk' or 'Bernhard is gray' or both. Chances are about even that Greg is yellow. Chances are about even that Lily is a swan. There is little chance that Gertrude is a sheep.,Chances are about even 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.5::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.4424884976995399,train,about even,almost certain,Chances are about even that either 'Greg is yellow' or 'Lily is a swan' but not both.,It is almost certain that either 'Greg is yellow' or 'Lily is a swan' but not both.,1,Either 'Greg is yellow' or 'Lily is a swan' but not both. We doubt that Bernhard is a swan. It is unlikely that Sandra dropped the milk. There is almost no chance that Brian is a swan.,There is a better than even chance that 'Bernhard is a swan 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.2::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.004000000000000002,0.028805761152230446,train,impossible,better than even,It is impossible that 'Bernhard is a swan and Brian is a swan'.,There is a better than even chance that 'Bernhard is a swan and Brian is a swan'.,0,'Bernhard is a swan and Brian is a swan'. There is a very good chance that John went to the office. It is highly likely that Bernhard is a rhino. It is probably not the case that Fred is in the school.,It is highly likely that 'John went to the office' 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.8::factA. 0.9::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8500000000000001,0.6629325865173035,train,highly likely,little chance,It is highly likely that 'John went to the office' or 'Fred is in the school' or both.,There is little chance that 'John went to the office' or 'Fred is in the school' or both.,1,'John went to the office' or 'Fred is in the school' or both. There is a very good chance that Julius is yellow. It is almost certain that John went to the kitchen. There is almost no chance that Lily is a rhino.,We believe that 'John 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.8::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.76,0.27145429085817163,train,we believe,highly unlikely,We believe that 'John went to the kitchen and Julius is yellow'.,It is highly unlikely that 'John went to the kitchen and Julius is yellow'.,1,'John went to the kitchen and Julius is yellow'. It is almost certain that Winona is a sheep. There is a very good chance that Julius is a swan. It is almost certain that Lily is white.,It is improbable that 'Winona is a sheep' 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.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.99,0.6277255451090218,train,certain,improbable,It is certain that 'Winona is a sheep' or 'Julius is a swan' or both.,It is improbable that 'Winona is a sheep' or 'Julius is a swan' or both.,0,'Winona is a sheep' or 'Julius is a swan' or both. It is almost certain that Lily is a lion. It is probably not the case that Julius is a rhino. It is probably the case that Mary went to the kitchen.,There is a very good chance that 'Julius is a rhino' or 'Mary went to the kitchen' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.10562112422484497,train,very good chance,we doubt,There is a very good chance that 'Julius is a rhino' or 'Mary went to the kitchen' or both.,We doubt that 'Julius is a rhino' or 'Mary went to the kitchen' or both.,1,'Julius is a rhino' or 'Mary went to the kitchen' or both. We believe that John took the football. It is probably the case that Fred discarded the apple. It is likely that Jessica is a wolf.,Chances are about even that either 'John took the football' or 'Fred discarded the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.4306861372274455,train,about even,impossible,Chances are about even that either 'John took the football' or 'Fred discarded the apple' but not both.,It is impossible that either 'John took the football' or 'Fred discarded the apple' but not both.,1,Either 'John took the football' or 'Fred discarded the apple' but not both. It is probably not the case that Brian is a rhino. There is little chance that Emily is a sheep. Chances are slight that Bernhard is a swan.,We believe that either 'Emily is a sheep' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.12122424484896979,train,probably not,we believe,It is probably not the case that either 'Emily is a sheep' or 'Brian is a rhino' but not both.,We believe that either 'Emily is a sheep' or 'Brian is a rhino' but not both.,0,Either 'Emily is a sheep' or 'Brian is a rhino' but not both. It is likely that Jessica is a cat. It is certain that Mary moved to the garden. It is almost certain that Greg is a rhino.,It is probable that either 'Jessica is a cat' 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. 1.0::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.17143428685737147,train,probably not,probable,It is probably not the case that either 'Jessica is a cat' or 'Mary moved to the garden' but not both.,It is probable that either 'Jessica is a cat' or 'Mary moved to the garden' but not both.,0,Either 'Jessica is a cat' or 'Mary moved to the garden' but not both. It is certain that Gertrude is a sheep. It is highly unlikely that Mary moved to the garden. It is probably not the case that Julius is green.,Chances are slight that 'Julius is green' or 'Gertrude is a sheep' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.7815563112622524,train,certain,chances are slight,It is certain that 'Julius is green' or 'Gertrude is a sheep' or both.,Chances are slight that 'Julius is green' or 'Gertrude is a sheep' or both.,0,'Julius is green' or 'Gertrude is a sheep' or both. It is likely that Julius is a frog. It is highly unlikely that Lily is green. It is probable that Greg is a rhino.,It is highly unlikely that 'Julius 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.7::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.035,0.791758351670334,train,highly unlikely,probable,It is highly unlikely that 'Julius is a frog and Lily is green'.,It is probable that 'Julius is a frog and Lily is green'.,1,'Julius is a frog and Lily is green'. It is improbable that Brian is a rhino. Chances are about even that John grabbed the apple. Chances are about even that Lily is a swan.,It is almost certain that either 'Lily is a swan' 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.5::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.4604920984196839,train,about even,almost certain,Chances are about even that either 'Lily is a swan' or 'John grabbed the apple' but not both.,It is almost certain that either 'Lily is a swan' or 'John grabbed the apple' but not both.,0,Either 'Lily is a swan' or 'John grabbed the apple' but not both. It is probably not the case that Mary put down the apple. It is probable that Gertrude is a sheep. It is probably not the case that Lily is a lion.,Chances are about even that either 'Lily is a lion' or 'Mary put down the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.375,0.6267253450690138,train,about even,almost certain,Chances are about even that either 'Lily is a lion' or 'Mary put down the apple' but not both.,It is almost certain that either 'Lily is a lion' or 'Mary put down the apple' but not both.,1,Either 'Lily is a lion' or 'Mary put down the apple' but not both. There is a better than even chance that Sandra grabbed the apple. Chances are about even that Jeff went to the bedroom. It is probably the case that Mary got the football.,Chances are about even that 'Sandra grabbed the apple 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.41999999999999993,0.7659531906381276,train,about even,highly unlikely,Chances are about even that 'Sandra grabbed the apple and Mary got the football'.,It is highly unlikely that 'Sandra grabbed the apple and Mary got the football'.,1,'Sandra grabbed the apple and Mary got the football'. It is unlikely that Julius is white. There is a very good chance that John moved to the office. It is almost certain that Bernhard is a rhino.,Chances are slight that 'Bernhard 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.8::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.76,0.1902380476095219,train,we believe,chances are slight,We believe that 'Bernhard is a rhino and John moved to the office'.,Chances are slight that 'Bernhard is a rhino and John moved to the office'.,0,'Bernhard is a rhino and John moved to the office'. It is likely that Julius is a lion. There is almost no chance that Sandra left the football. It is unlikely that Mary moved to the office.,It is probable that 'Julius is a lion 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.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.6555311062212442,train,almost no chance,probable,There is almost no chance that 'Julius is a lion and Sandra left the football'.,It is probable that 'Julius is a lion and Sandra left the football'.,0,'Julius is a lion and Sandra left the football'. There is almost no chance that Mary left the apple. It is certain that John went to the hallway. There is little chance that Winona is a sheep.,It is certain that either 'Mary left the apple' 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.98,0.04960992198439688,train,certain,about even,It is certain that either 'Mary left the apple' or 'John went to the hallway' but not both.,Chances are about even that either 'Mary left the apple' or 'John went to the hallway' but not both.,1,Either 'Mary left the apple' or 'John went to the hallway' but not both. It is unlikely that Bernhard is a frog. It is unlikely that Mary went to the hallway. It is likely that Sandra dropped the milk.,It is probably not the case that 'Mary went to the hallway' 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.2::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.36000000000000004,0.07221444288857772,train,probably not,likely,It is probably not the case that 'Mary went to the hallway' or 'Bernhard is a frog' or both.,It is likely that 'Mary went to the hallway' or 'Bernhard is a frog' or both.,1,'Mary went to the hallway' or 'Bernhard is a frog' or both. We doubt that John picked up the milk. Chances are about even that Brian is a rhino. It is probably not the case that Greg is a swan.,There is little chance that 'Brian is a rhino 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.2::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.10000000000000002,0.03740748149629926,train,little chance,almost certain,There is little chance that 'Brian is a rhino and John picked up the milk'.,It is almost certain that 'Brian is a rhino and John picked up the milk'.,1,'Brian is a rhino and John picked up the milk'. It is likely that Julius is green. There is a very good chance that Brian is gray. There is almost no chance that Emily is a sheep.,There is a better than even chance that 'Julius 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.7::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.5443088617723545,train,better than even,highly unlikely,There is a better than even chance that 'Julius is green and Brian is gray'.,It is highly unlikely that 'Julius is green and Brian is gray'.,1,'Julius is green and Brian is gray'. It is probably the case that Mary moved to the garden. It is unlikely that Greg is a rhino. It is impossible that Winona is a wolf.,It is impossible 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.7::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.6865373074614923,train,impossible,about even,It is impossible that 'Greg is a rhino and Winona is a wolf'.,Chances are about even that 'Greg is a rhino and Winona is a wolf'.,1,'Greg is a rhino and Winona is a wolf'. It is highly unlikely that Bernhard is yellow. It is highly likely that Winona is a wolf. There is little chance that Brian is a lion.,It is improbable that 'Brian 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.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.14500000000000005,0.08521704340868173,train,improbable,likely,It is improbable that 'Brian is a lion' or 'Bernhard is yellow' or both.,It is likely that 'Brian is a lion' or 'Bernhard is yellow' or both.,1,'Brian is a lion' or 'Bernhard is yellow' or both. There is a very good chance that Julius is white. It is impossible that Daniel got the milk. It is probably not the case that Lily is a frog.,It is probable that either 'Julius 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.8::factA. 0.0::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.65,0.11922384476895379,train,probable,unlikely,It is probable that either 'Julius is white' or 'Lily is a frog' but not both.,It is unlikely that either 'Julius is white' or 'Lily is a frog' but not both.,1,Either 'Julius is white' or 'Lily is a frog' but not both. We believe that Jessica is a sheep. It is probably not the case that Fred is in the cinema. Chances are about even that John moved to the office.,It is highly unlikely that 'Jessica is a sheep 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.25::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.375,0.09761952390478096,train,about even,highly unlikely,Chances are about even that 'Jessica is a sheep and John moved to the office'.,It is highly unlikely that 'Jessica is a sheep and John moved to the office'.,0,'Jessica is a sheep and John moved to the office'. It is impossible that Daniel took the football. We doubt that Bill went to the kitchen. It is almost certain that Emily is a wolf.,It is almost certain that either 'Emily is a wolf' 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.0::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.95,0.2826565313062612,train,almost certain,we doubt,It is almost certain that either 'Emily is a wolf' or 'Daniel took the football' but not both.,We doubt that either 'Emily is a wolf' or 'Daniel took the football' but not both.,1,Either 'Emily is a wolf' or 'Daniel took the football' but not both. There is a very good chance that Bernhard is a frog. It is almost certain that Sandra left the football. It is highly likely that Julius is a swan.,It is probably not the case that 'Bernhard 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.8::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.99,0.6697339467893578,train,certain,probably not,It is certain that 'Bernhard is a frog' or 'Sandra left the football' or both.,It is probably not the case that 'Bernhard is a frog' or 'Sandra left the football' or both.,0,'Bernhard is a frog' or 'Sandra left the football' or both. It is almost certain that Bernhard is white. It is certain that Brian is a lion. It is probable that Fred is in the office.,There is little chance that 'Bernhard 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.95::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.95,0.16183236647329466,train,almost certain,little chance,It is almost certain that 'Bernhard is white and Brian is a lion'.,There is little chance that 'Bernhard is white and Brian is a lion'.,0,'Bernhard is white and Brian is a lion'. We believe that John got the apple. It is almost certain that Gertrude is a sheep. It is almost certain that Mary put down the milk.,It is probably not the case that either 'Mary put down the milk' 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.75::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.275,0.6245249049809962,train,probably not,probable,It is probably not the case that either 'Mary put down the milk' or 'John got the apple' but not both.,It is probable that either 'Mary put down the milk' or 'John got the apple' but not both.,1,Either 'Mary put down the milk' or 'John got the apple' but not both. It is almost certain that Bernhard is gray. It is highly likely that Brian is yellow. It is likely that Lily is yellow.,Chances are about even that 'Lily 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.95::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.985,0.13382676535307061,train,certain,about even,It is certain that 'Lily is yellow' or 'Bernhard is gray' or both.,Chances are about even that 'Lily is yellow' or 'Bernhard is gray' or both.,0,'Lily is yellow' or 'Bernhard is gray' or both. It is likely that Mary got the apple. There is almost no chance that Brian is green. It is improbable that Bernhard is a swan.,It is likely that 'Bernhard is a swan 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.7::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.10142028405681136,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is a swan and Mary got the apple'.,It is likely that 'Bernhard is a swan and Mary got the apple'.,0,'Bernhard is a swan and Mary got the apple'. We believe that Greg is a frog. It is highly unlikely that Brian is a lion. There is a very good chance that Mary went to the kitchen.,Chances are about even that 'Mary went to the kitchen' 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.05::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9500000000000001,0.7805561112222444,train,almost certain,about even,It is almost certain that 'Mary went to the kitchen' or 'Greg is a frog' or both.,Chances are about even that 'Mary went to the kitchen' or 'Greg is a frog' or both.,0,'Mary went to the kitchen' or 'Greg is a frog' or both. It is unlikely that Emily is a sheep. There is a very good chance that Mary took the football. It is highly likely that John dropped the milk.,It is impossible that either 'Emily is a sheep' 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.8::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.3080616123224645,train,we believe,impossible,We believe that either 'Emily is a sheep' or 'John dropped the milk' but not both.,It is impossible that either 'Emily is a sheep' or 'John dropped the milk' but not both.,0,Either 'Emily is a sheep' or 'John dropped the milk' but not both. It is impossible that Greg is a rhino. There is almost no chance that Julius is white. It is probably the case that Sandra left the milk.,It is certain that 'Greg 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.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.42768553710742147,train,impossible,certain,It is impossible that 'Greg is a rhino and Julius is white'.,It is certain that 'Greg is a rhino and Julius is white'.,0,'Greg is a rhino and Julius is white'. There is a better than even chance that Julius is yellow. There is a very good chance that Bernhard is a swan. It is probably the case that Sandra took the football.,Chances are about even that either 'Sandra took the football' 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.6::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.7193438687737548,train,about even,highly unlikely,Chances are about even that either 'Sandra took the football' or 'Bernhard is a swan' but not both.,It is highly unlikely that either 'Sandra took the football' or 'Bernhard is a swan' but not both.,1,Either 'Sandra took the football' or 'Bernhard is a swan' but not both. Chances are about even that Brian is a frog. Chances are slight that John took the milk. We doubt that Julius is white.,There is little chance 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.5::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6,0.6921384276855371,train,better than even,little chance,There is a better than even chance that 'Julius is white' or 'Brian is a frog' or both.,There is little chance that 'Julius is white' or 'Brian is a frog' or both.,0,'Julius is white' or 'Brian is a frog' or both. It is unlikely that Brian is green. It is improbable that Julius is a swan. It is improbable that John left the football.,It is certain that 'Julius 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 0.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.5947189437887578,train,probably not,certain,It is probably not the case that 'Julius is a swan' or 'Brian is green' or both.,It is certain that 'Julius is a swan' or 'Brian is green' or both.,0,'Julius is a swan' or 'Brian is green' or both. There is almost no chance that Brian is yellow. Chances are about even that Mary left the milk. It is impossible that Greg is a swan.,Chances are about even that 'Brian 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.02::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.51,0.4852970594118824,train,about even,highly unlikely,Chances are about even that 'Brian is yellow' or 'Mary left the milk' or both.,It is highly unlikely that 'Brian is yellow' or 'Mary left the milk' or both.,1,'Brian is yellow' or 'Mary left the milk' or both. It is unlikely that Brian is green. It is likely that Greg is gray. It is highly likely that Fred discarded the apple.,It is probably not the case that either 'Greg is gray' or 'Fred 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.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.33999999999999997,0.378875775155031,train,probably not,almost certain,It is probably not the case that either 'Greg is gray' or 'Fred discarded the apple' but not both.,It is almost certain that either 'Greg is gray' or 'Fred discarded the apple' but not both.,1,Either 'Greg is gray' or 'Fred discarded the apple' but not both. It is impossible that Julius is yellow. It is highly likely that Mary put down the apple. It is probably the case that Greg is a swan.,It is probable that either 'Greg is a swan' or 'Mary put down the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.33999999999999997,0.3756751350270054,train,probably not,probable,It is probably not the case that either 'Greg is a swan' or 'Mary put down the apple' but not both.,It is probable that either 'Greg is a swan' or 'Mary put down the apple' but not both.,0,Either 'Greg is a swan' or 'Mary put down the apple' but not both. It is improbable that Sumit is hungry. It is probably the case that Greg is a swan. There is a very good chance that Bernhard is yellow.,Chances are slight that 'Bernhard is yellow 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.7::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.705741148229646,train,chances are slight,probable,Chances are slight that 'Bernhard is yellow and Sumit is hungry'.,It is probable that 'Bernhard is yellow and Sumit is hungry'.,1,'Bernhard is yellow and Sumit is hungry'. There is little chance that Bernhard is a lion. It is improbable that Fred went to the office. We believe that Mary dropped the milk.,It is unlikely that 'Fred went to the office' 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.1::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.19000000000000006,0.5721144228845769,train,unlikely,highly likely,It is unlikely that 'Fred went to the office' or 'Bernhard is a lion' or both.,It is highly likely that 'Fred went to the office' or 'Bernhard is a lion' or both.,1,'Fred went to the office' or 'Bernhard is a lion' or both. There is a better than even chance that Greg is green. Chances are about even that Lily is gray. It is improbable that Brian is yellow.,There is a very good chance that 'Lily 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.6::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.08741748349669934,train,very good chance,unlikely,There is a very good chance that 'Lily is gray' or 'Greg is green' or both.,It is unlikely that 'Lily is gray' or 'Greg is green' or both.,1,'Lily is gray' or 'Greg is green' or both. There is a very good chance that Bill went to the garden. We doubt that Julius is gray. It is likely that Gertrude is a mouse.,There is a very good chance that 'Julius is gray 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.8::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.16000000000000003,0.21644328865773155,train,unlikely,very good chance,It is unlikely that 'Julius is gray and Bill went to the garden'.,There is a very good chance that 'Julius is gray and Bill went to the garden'.,0,'Julius is gray and Bill went to the garden'. There is a better than even chance that Gertrude is a cat. It is probably not the case that Sandra grabbed the apple. It is certain that Mary went to the garden.,It is highly likely that 'Gertrude is a cat 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.6::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.15,0.3086617323464693,train,chances are slight,highly likely,Chances are slight that 'Gertrude is a cat and Sandra grabbed the apple'.,It is highly likely that 'Gertrude is a cat and Sandra grabbed the apple'.,0,'Gertrude is a cat and Sandra grabbed the apple'. We believe that Lily is a rhino. It is unlikely that Mary left the football. It is almost certain that Greg is a rhino.,It is probably not the case that 'Greg is a rhino 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.2::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7125,0.5089017803560713,train,probably,probably not,It is probably the case that 'Greg is a rhino and Lily is a rhino'.,It is probably not the case that 'Greg is a rhino and Lily is a rhino'.,0,'Greg is a rhino and Lily is a rhino'. It is probably the case that John picked up the milk. There is a very good chance that Julius is a rhino. It is highly unlikely that Bernhard is gray.,It is highly unlikely 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.7::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.04000000000000001,0.6367273454690938,train,highly unlikely,certain,It is highly unlikely that 'Bernhard is gray and Julius is a rhino'.,It is certain that 'Bernhard is gray and Julius is a rhino'.,1,'Bernhard is gray and Julius is a rhino'. It is impossible that John dropped the apple. There is almost no chance that Greg is gray. It is probably the case that Sandra got the football.,It is probable that 'Sandra got the football' 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.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7,0.390878175635127,train,probable,chances are slight,It is probable that 'Sandra got the football' or 'John dropped the apple' or both.,Chances are slight that 'Sandra got the football' or 'John dropped the apple' or both.,1,'Sandra got the football' or 'John dropped the apple' or both. It is improbable that Lily is gray. There is a very good chance that Mary picked up the milk. It is impossible that Brian is a rhino.,It is likely that 'Lily is gray 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.1::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.21124224844968995,train,improbable,likely,It is improbable that 'Lily is gray and Mary picked up the milk'.,It is likely that 'Lily is gray and Mary picked up the milk'.,0,'Lily is gray and Mary picked up the milk'. It is certain that Bernhard is yellow. There is almost no chance that Lily is green. It is highly unlikely that John got the apple.,It is impossible that 'Lily is green 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 1.0::factA. 0.02::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0010000000000000002,0.22304460892178435,train,impossible,probably,It is impossible that 'Lily is green and John got the apple'.,It is probably the case that 'Lily is green and John got the apple'.,1,'Lily is green and John got the apple'. There is a better than even chance that Daniel got the milk. It is probable that Brian is white. It is probably not the case that Greg is gray.,There is little chance that 'Greg is gray 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.6::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.6423284656931386,train,little chance,probably,There is little chance that 'Greg is gray and Daniel got the milk'.,It is probably the case that 'Greg is gray and Daniel got the milk'.,1,'Greg is gray and Daniel got the milk'. It is improbable that Bernhard is a swan. It is probably not the case that Jeff moved to the garden. It is probable that Greg is a frog.,There is a very good chance that 'Jeff moved to the garden' 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.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.22524504900980197,train,very good chance,probably not,There is a very good chance that 'Jeff moved to the garden' or 'Greg is a frog' or both.,It is probably not the case that 'Jeff moved to the garden' or 'Greg is a frog' or both.,1,'Jeff moved to the garden' or 'Greg is a frog' or both. There is almost no chance that Bernhard is gray. It is certain that Mary moved to the garden. It is certain that Julius is a frog.,It is impossible 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.02::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.0,0.7331466293258652,train,impossible,probably,It is impossible that either 'Mary moved to the garden' or 'Julius is a frog' but not both.,It is probably the case 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. It is certain that Brian is yellow. Chances are about even that John got the apple. There is a very good chance that Greg is a frog.,It is unlikely that either 'Greg 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 1.0::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.19999999999999998,0.7421484296859372,train,unlikely,almost certain,It is unlikely that either 'Greg is a frog' or 'Brian is yellow' but not both.,It is almost certain that either 'Greg is a frog' or 'Brian is yellow' but not both.,1,Either 'Greg is a frog' or 'Brian is yellow' but not both. We believe that Jason is tired. There is almost no chance that John put down the apple. It is unlikely that Lily is a frog.,It is highly likely that 'Lily is a frog 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.75::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.004000000000000002,0.617123424684937,train,impossible,highly likely,It is impossible that 'Lily is a frog and John put down the apple'.,It is highly likely that 'Lily is a frog and John put down the apple'.,0,'Lily is a frog and John put down the apple'. It is almost certain that Gertrude is a mouse. It is almost certain that Julius is a frog. It is almost certain that John took the football.,Chances are slight 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.95::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.0950000000000001,0.5799159831966393,train,chances are slight,certain,Chances are slight that either 'John took the football' or 'Julius is a frog' but not both.,It is certain that either 'John took the football' or 'Julius is a frog' but not both.,1,Either 'John took the football' or 'Julius is a frog' but not both. It is probable that Jeff went to the garden. We doubt that John dropped the apple. We doubt that Brian is white.,It is probably the case that 'John dropped the apple 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.2::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.14,0.045809161832366475,train,improbable,probably,It is improbable that 'John dropped the apple and Jeff went to the garden'.,It is probably the case that 'John dropped the apple and Jeff went to the garden'.,0,'John dropped the apple and Jeff went to the garden'. It is probably the case that Lily is a swan. Chances are about even that Greg is a lion. There is a better than even chance that Sandra grabbed the apple.,It is impossible 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 0.7::factA. 0.5::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.49999999999999994,0.3612722544508902,train,about even,impossible,Chances are about even that either 'Greg is a lion' or 'Lily is a swan' but not both.,It is impossible 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. It is certain that Greg is a swan. It is almost certain that Lily is green. Chances are slight that Julius is a swan.,Chances are slight that either 'Greg is a swan' or 'Julius is a swan' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9,0.621124224844969,train,highly likely,chances are slight,It is highly likely that either 'Greg is a swan' or 'Julius is a swan' but not both.,Chances are slight that either 'Greg is a swan' or 'Julius is a swan' but not both.,0,Either 'Greg is a swan' or 'Julius is a swan' but not both. It is almost certain that Brian is white. We believe that Lily is a lion. It is probably the case that John went to the garden.,It is probably not the case that either 'Brian is white' 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.95::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.275,0.4430886177235447,train,probably not,probable,It is probably not the case that either 'Brian is white' or 'Lily is a lion' but not both.,It is probable that either 'Brian is white' or 'Lily is a lion' but not both.,1,Either 'Brian is white' or 'Lily is a lion' but not both. We doubt that Daniel dropped the apple. There is a very good chance that Fred went to the garden. It is likely that Mary moved to the office.,Chances are slight that 'Mary moved to the office 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.2::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.001200240048009602,train,chances are slight,highly likely,Chances are slight that 'Mary moved to the office and Daniel dropped the apple'.,It is highly likely that 'Mary moved to the office and Daniel dropped the apple'.,1,'Mary moved to the office and Daniel dropped the apple'. There is little chance that Mary went to the bedroom. There is a better than even chance that John discarded the milk. It is probable that Bernhard is a swan.,It is impossible that 'Mary went to the bedroom' 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.6::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.5021004200840168,train,we believe,impossible,We believe that 'Mary went to the bedroom' or 'Bernhard is a swan' or both.,It is impossible that 'Mary went to the bedroom' or 'Bernhard is a swan' or both.,0,'Mary went to the bedroom' or 'Bernhard is a swan' or both. It is highly unlikely that Lily is white. We believe that John is in the garden. It is probable that Julius is a swan.,It is highly unlikely that 'Lily is white 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.05::factA. 0.75::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.7499499899979996,train,highly unlikely,certain,It is highly unlikely that 'Lily is white and Julius is a swan'.,It is certain that 'Lily is white and Julius is a swan'.,1,'Lily is white and Julius is a swan'. It is improbable that Sandra left the milk. Chances are about even that Julius is a lion. It is highly likely that Sumit is thirsty.,Chances are about even that either 'Julius is a lion' 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.5::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.0644128825765153,train,about even,almost certain,Chances are about even that either 'Julius is a lion' or 'Sumit is thirsty' but not both.,It is almost certain that either 'Julius is a lion' or 'Sumit is thirsty' but not both.,1,Either 'Julius is a lion' or 'Sumit is thirsty' but not both. It is almost certain that Daniel got the apple. It is highly likely that Gertrude is a sheep. It is impossible that Bernhard is a swan.,It is almost certain that 'Bernhard 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.95::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.95,0.15123024604920984,train,almost certain,chances are slight,It is almost certain that 'Bernhard is a swan' or 'Daniel got the apple' or both.,Chances are slight that 'Bernhard is a swan' or 'Daniel got the apple' or both.,1,'Bernhard is a swan' or 'Daniel got the apple' or both. Chances are about even that Bill went to the office. Chances are about even that Julius is yellow. It is highly likely that Brian is white.,There is little chance that 'Julius is yellow' 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.5::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.75,0.5351070214042809,train,we believe,little chance,We believe that 'Julius is yellow' or 'Bill went to the office' or both.,There is little chance that 'Julius is yellow' or 'Bill went to the office' or both.,0,'Julius is yellow' or 'Bill went to the office' or both. There is a very good chance that Lily is a frog. It is almost certain that Mary went to the office. It is unlikely that Brian is white.,There is little chance that 'Brian is white' 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.95::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8400000000000001,0.47249449889977996,train,very good chance,little chance,There is a very good chance that 'Brian is white' or 'Lily is a frog' or both.,There is little chance that 'Brian is white' or 'Lily is a frog' or both.,0,'Brian is white' or 'Lily is a frog' or both. It is likely that John moved to the office. It is impossible that Sandra dropped the milk. We doubt that Brian is white.,It is probable that 'John moved to 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.7::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.3794758951790358,train,probable,almost no chance,It is probable that 'John moved to the office' or 'Sandra dropped the milk' or both.,There is almost no chance that 'John moved to the office' or 'Sandra dropped the milk' or both.,1,'John moved to the office' or 'Sandra dropped the milk' or both. It is likely that Jessica is a mouse. It is likely that Mary left the football. There is almost no chance that John went to the garden.,There is almost no chance that 'John 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.7::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.052210442088417686,train,almost no chance,we believe,There is almost no chance that 'John went to the garden and Jessica is a mouse'.,We believe that 'John went to the garden and Jessica is a mouse'.,1,'John went to the garden and Jessica is a mouse'. Chances are about even that Brian is gray. There is little chance that Greg is a swan. We believe that John went to the office.,It is highly unlikely that 'Greg 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.5::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.05000000000000001,0.4812962592518504,train,highly unlikely,probably,It is highly unlikely that 'Greg is a swan and Brian is gray'.,It is probably the case that 'Greg is a swan and Brian is gray'.,1,'Greg is a swan and Brian is gray'. Chances are about even that Jeff left the apple. We believe that Greg is a lion. It is probably not the case that Fred is in the cinema.,There is little chance that either 'Greg 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.5::factA. 0.75::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.625,0.6619323864772955,train,better than even,little chance,There is a better than even chance that either 'Greg is a lion' or 'Fred is in the cinema' but not both.,There is little chance that either 'Greg is a lion' or 'Fred is in the cinema' but not both.,0,Either 'Greg is a lion' or 'Fred is in the cinema' but not both. We doubt that Greg is yellow. It is impossible that John discarded the apple. It is impossible that Sandra dropped the milk.,There is a very good chance that 'Sandra 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.2::factA. 0.0::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.2,0.28665733146629324,train,we doubt,very good chance,We doubt that 'Sandra dropped the milk' or 'Greg is yellow' or both.,There is a very good chance that 'Sandra dropped the milk' or 'Greg is yellow' or both.,0,'Sandra dropped the milk' or 'Greg is yellow' or both. We doubt that Bernhard is green. There is almost no chance that Lily is a lion. There is a better than even chance that Daniel put down the milk.,There is a better than even chance 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.2::factA. 0.02::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.608,0.22564512902580516,train,better than even,almost no chance,There is a better than even chance that 'Daniel put down the milk' or 'Lily is a lion' or both.,There is almost no chance that 'Daniel put down the milk' or 'Lily is a lion' or both.,1,'Daniel put down the milk' or 'Lily is a lion' or both. There is a very good chance that Julius is gray. We believe that Lily is white. There is almost no chance that Bernhard is yellow.,It is improbable 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.8::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.788,0.014002800560112022,train,very good chance,improbable,There is a very good chance that either 'Bernhard is yellow' or 'Julius is gray' but not both.,It is improbable that either 'Bernhard is yellow' or 'Julius is gray' but not both.,0,Either 'Bernhard is yellow' or 'Julius is gray' but not both. We believe that Jessica is a cat. We believe that Daniel got the football. There is a very good chance that Jeff discarded the milk.,There is a better than even chance 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.75::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5625,0.4274854970994199,train,better than even,almost no chance,There is a better than even chance that 'Jessica is a cat and Daniel got the football'.,There is almost no chance that 'Jessica is a cat and Daniel got the football'.,1,'Jessica is a cat and Daniel got the football'. It is improbable that Bernhard is a swan. It is highly likely that Mary dropped the milk. Chances are about even that Julius is gray.,There is almost no chance that 'Julius 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.1::factA. 0.9::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.45000000000000007,0.04900980196039208,train,about even,almost no chance,Chances are about even that 'Julius is gray and Mary dropped the milk'.,There is almost no chance that 'Julius is gray and Mary dropped the milk'.,0,'Julius is gray and Mary dropped the milk'. There is little chance that Bill moved to the office. Chances are slight that Mary put down the milk. It is highly unlikely that Sandra took the football.,It is certain that 'Bill moved to the office 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.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.005000000000000002,0.6589317863572715,train,impossible,certain,It is impossible that 'Bill moved to the office and Sandra took the football'.,It is certain that 'Bill moved to the office and Sandra took the football'.,0,'Bill moved to the office and Sandra took the football'. We believe that Brian is yellow. It is improbable that Bernhard is a swan. It is certain that Sandra got the milk.,Chances are slight that 'Bernhard is a swan 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.75::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.6043208641728346,train,chances are slight,probable,Chances are slight that 'Bernhard is a swan and Sandra got the milk'.,It is probable that 'Bernhard is a swan and Sandra got the milk'.,1,'Bernhard is a swan and Sandra got the milk'. It is highly unlikely that Greg is a rhino. It is highly unlikely that Winona is a wolf. It is probable that Bernhard is white.,It is impossible that 'Winona is a wolf 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.05::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0025000000000000005,0.09221844368873774,train,impossible,certain,It is impossible that 'Winona is a wolf and Greg is a rhino'.,It is certain that 'Winona is a wolf and Greg is a rhino'.,1,'Winona is a wolf and Greg is a rhino'. It is probable that Lily is green. We doubt that Emily is a cat. It is highly unlikely that Mary grabbed the milk.,We believe that 'Emily is a cat 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.2::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.5023004600920185,train,almost no chance,we believe,There is almost no chance that 'Emily is a cat and Mary grabbed the milk'.,We believe that 'Emily is a cat and Mary grabbed the milk'.,0,'Emily is a cat and Mary grabbed the milk'. It is improbable that John got the apple. It is improbable that Julius is a rhino. It is probable that Bernhard is white.,It is impossible that 'John got 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.1::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.33046609321864373,train,we believe,impossible,We believe that 'John got the apple' or 'Bernhard is white' or both.,It is impossible that 'John got the apple' or 'Bernhard is white' or both.,0,'John got the apple' or 'Bernhard is white' or both. There is a very good chance that Greg is gray. There is almost no chance that Mary got the milk. There is a very good chance that John went to the kitchen.,It is probably not the case that either 'Mary got the milk' 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.8::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.788,0.04540908181636327,train,very good chance,probably not,There is a very good chance that either 'Mary got the milk' or 'John went to the kitchen' but not both.,It is probably not the case that either 'Mary got the milk' or 'John went to the kitchen' but not both.,0,Either 'Mary got the milk' or 'John went to the kitchen' but not both. It is unlikely that John got the apple. There is little chance that Julius is a rhino. There is little chance that Jeff discarded the milk.,We believe that either 'Julius is a rhino' 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.5771154230846169,train,unlikely,we believe,It is unlikely that either 'Julius is a rhino' or 'Jeff discarded the milk' but not both.,We believe that either 'Julius is a rhino' or 'Jeff discarded the milk' but not both.,0,Either 'Julius is a rhino' or 'Jeff discarded the milk' but not both. It is unlikely that Brian is a frog. We doubt that Lily is a rhino. It is highly likely that Daniel left the milk.,It is highly likely that 'Daniel left the milk' 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.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.92,0.29245849169833965,train,highly likely,chances are slight,It is highly likely that 'Daniel left the milk' or 'Brian is a frog' or both.,Chances are slight that 'Daniel left the milk' or 'Brian is a frog' or both.,1,'Daniel left the milk' or 'Brian is a frog' or both. It is highly likely that Bernhard is a swan. It is certain that Brian is yellow. There is a very good chance that John discarded the apple.,We doubt that either 'John discarded 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.9::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.19999999999999998,0.2980596119223845,train,we doubt,certain,We doubt that either 'John discarded the apple' or 'Brian is yellow' but not both.,It is certain that either 'John discarded the apple' or 'Brian is yellow' but not both.,1,Either 'John discarded the apple' or 'Brian is yellow' but not both. Chances are slight that Brian is white. It is probably the case that Jeff went to the hallway. It is probably the case that John left the milk.,It is improbable that either 'Brian 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.014602920584116823,train,likely,improbable,It is likely that either 'Brian is white' or 'Jeff went to the hallway' but not both.,It is improbable that either 'Brian is white' or 'Jeff went to the hallway' but not both.,0,Either 'Brian is white' or 'Jeff went to the hallway' but not both. It is almost certain that Bernhard is yellow. It is certain that Greg is a lion. It is certain that Mary went to the office.,There is a better than even chance that either 'Bernhard 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.95::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.05000000000000005,0.0610122024404881,train,highly unlikely,better than even,It is highly unlikely that either 'Bernhard is yellow' or 'Greg is a lion' but not both.,There is a better than even chance that either 'Bernhard is yellow' or 'Greg is a lion' but not both.,0,Either 'Bernhard is yellow' or 'Greg is a lion' but not both. We doubt that Jessica is a mouse. It is almost certain that John discarded the apple. It is probably not the case that Greg is a swan.,It is certain that 'Jessica 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.2::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.4,0.7993598719743948,train,about even,certain,Chances are about even that 'Jessica is a mouse' or 'Greg is a swan' or both.,It is certain that 'Jessica is a mouse' or 'Greg is a swan' or both.,0,'Jessica is a mouse' or 'Greg is a swan' or both. It is probably the case that Sandra dropped the milk. It is improbable that Bernhard is yellow. It is probably not the case that Greg is a swan.,It is improbable that either 'Sandra 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.1::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.1828365673134627,train,better than even,improbable,There is a better than even chance that either 'Sandra dropped the milk' or 'Greg is a swan' but not both.,It is improbable that either 'Sandra dropped the milk' or 'Greg is a swan' but not both.,0,Either 'Sandra dropped the milk' or 'Greg is a swan' but not both. Chances are slight that Lily is a rhino. There is little chance that John discarded the apple. It is probably not the case that Winona is a sheep.,It is highly likely 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.1::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.19000000000000006,0.21444288857771554,train,unlikely,highly likely,It is unlikely that 'Lily is a rhino' or 'John discarded the apple' or both.,It is highly likely that 'Lily is a rhino' or 'John discarded the apple' or both.,0,'Lily is a rhino' or 'John discarded the apple' or both. It is almost certain that John moved to the office. It is unlikely that Mary went to the hallway. It is improbable that Bernhard is green.,It is highly unlikely that 'Mary went to the hallway' 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.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.39067813562712544,train,almost certain,highly unlikely,It is almost certain that 'Mary went to the hallway' or 'John moved to the office' or both.,It is highly unlikely that 'Mary went to the hallway' or 'John moved to the office' or both.,0,'Mary went to the hallway' or 'John moved to the office' or both. We believe that Fred went to the garden. There is little chance that Greg is white. It is certain that Brian is yellow.,It is certain that 'Fred 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.75::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.02520504100820164,train,certain,improbable,It is certain that 'Fred went to the garden' or 'Brian is yellow' or both.,It is improbable that 'Fred went to the garden' or 'Brian is yellow' or both.,1,'Fred went to the garden' or 'Brian is yellow' or both. It is probable that Greg is a frog. It is likely that Brian is yellow. It is probable that Julius is white.,Chances are about even that either 'Greg 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.7::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.43908781756351273,train,about even,almost no chance,Chances are about even that either 'Greg is a frog' or 'Brian is yellow' but not both.,There is almost no chance that either 'Greg is a frog' or 'Brian is yellow' but not both.,1,Either 'Greg is a frog' or 'Brian is yellow' but not both. It is probably the case that Emily is a cat. It is certain that John put down the milk. Chances are about even that Mary left the football.,It is probably not the case that 'Emily is a cat 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. 1.0::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.004200840168033607,train,probably not,certain,It is probably not the case that 'Emily is a cat and Mary left the football'.,It is certain that 'Emily is a cat and Mary left the football'.,1,'Emily is a cat and Mary left the football'. It is probably not the case that Bernhard is gray. It is probably the case that Sandra left the apple. It is certain that Mary went to the bedroom.,It is certain that 'Sandra left the apple' 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.25::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.5645129025805161,train,certain,impossible,It is certain that 'Sandra left the apple' or 'Mary went to the bedroom' or both.,It is impossible that 'Sandra left the apple' or 'Mary went to the bedroom' or both.,1,'Sandra left the apple' or 'Mary went to the bedroom' or both. It is highly unlikely that Lily is green. There is little chance that Mary went to the kitchen. It is impossible that Greg is a rhino.,It is impossible that 'Mary went to the kitchen 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.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.4332866573314663,train,impossible,likely,It is impossible that 'Mary went to the kitchen and Lily is green'.,It is likely that 'Mary went to the kitchen and Lily is green'.,1,'Mary went to the kitchen and Lily is green'. It is certain that Jessica is a cat. It is highly likely that Bernhard is yellow. It is impossible that Mary went to the bedroom.,There is almost no chance that 'Mary went to the bedroom' 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.9::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.746749349869974,train,certain,almost no chance,It is certain that 'Mary went to the bedroom' or 'Jessica is a cat' or both.,There is almost no chance that 'Mary went to the bedroom' or 'Jessica is a cat' or both.,0,'Mary went to the bedroom' or 'Jessica is a cat' or both. It is certain that Brian is a lion. It is highly likely that Lily is a swan. It is almost certain that Winona is a wolf.,It is certain 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 1.0::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.20804160832166432,train,certain,we doubt,It is certain that 'Brian is a lion' or 'Winona is a wolf' or both.,We doubt that 'Brian is a lion' or 'Winona is a wolf' or both.,1,'Brian is a lion' or 'Winona is a wolf' or both. It is likely that Bernhard is a swan. Chances are slight that Jeff went to the bedroom. There is little chance that Brian is yellow.,It is unlikely that 'Brian is yellow' 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.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.19000000000000006,0.08781756351270253,train,unlikely,likely,It is unlikely that 'Brian is yellow' or 'Jeff went to the bedroom' or both.,It is likely that 'Brian is yellow' or 'Jeff went to the bedroom' or both.,1,'Brian is yellow' or 'Jeff went to the bedroom' or both. It is highly unlikely that Bernhard is a swan. It is certain that Greg is a rhino. There is a better than even chance that John moved to the office.,It is certain that 'Greg is a rhino' 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. 1.0::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.5945189037807561,train,certain,unlikely,It is certain that 'Greg is a rhino' or 'Bernhard is a swan' or both.,It is unlikely that 'Greg is a rhino' or 'Bernhard is a swan' or both.,1,'Greg is a rhino' or 'Bernhard is a swan' or both. It is highly likely that Greg is a rhino. There is little chance that John left the milk. It is highly likely that Emily is a mouse.,It is almost certain that 'John left 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.9::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.27945589117823566,train,little chance,almost certain,There is little chance that 'John left the milk and Greg is a rhino'.,It is almost certain that 'John left the milk and Greg is a rhino'.,0,'John left the milk and Greg is a rhino'. It is highly likely that Lily is a swan. There is almost no chance that Greg is gray. It is improbable that Mary went to the bedroom.,It is impossible that 'Mary went to the bedroom' 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.9::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.3596719343868774,train,highly likely,impossible,It is highly likely that 'Mary went to the bedroom' or 'Lily is a swan' or both.,It is impossible that 'Mary went to the bedroom' or 'Lily is a swan' or both.,0,'Mary went to the bedroom' or 'Lily is a swan' or both. It is almost certain that John put down the milk. It is impossible that Mary left the football. Chances are about even that Julius is yellow.,Chances are about even that either 'Julius 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.95::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.7385477095419084,train,about even,impossible,Chances are about even that either 'Julius is yellow' or 'John put down the milk' but not both.,It is impossible that either 'Julius is yellow' or 'John put down the milk' but not both.,1,Either 'Julius is yellow' or 'John put down the milk' but not both. There is a better than even chance that Emily is a sheep. It is certain that Lily is a rhino. There is a very good chance that Sandra dropped the milk.,It is improbable that 'Sandra dropped the milk' 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.6::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.92,0.3148629725945189,train,highly likely,improbable,It is highly likely that 'Sandra dropped the milk' or 'Emily is a sheep' or both.,It is improbable that 'Sandra dropped the milk' or 'Emily is a sheep' or both.,0,'Sandra dropped the milk' or 'Emily is a sheep' or both. There is little chance that John went to the office. It is unlikely that Mary got the football. It is highly unlikely that Emily is a mouse.,It is likely that 'Emily is a mouse 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. 0.2::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.45529105821164234,train,impossible,likely,It is impossible that 'Emily is a mouse and John went to the office'.,It is likely that 'Emily is a mouse and John went to the office'.,0,'Emily is a mouse and John went to the office'. We believe that Sandra got the milk. It is improbable that Bernhard is green. Chances are slight that John went to the office.,It is improbable that either 'Sandra got the milk' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.12922584516903382,train,probably,improbable,It is probably the case that either 'Sandra got the milk' or 'John went to the office' but not both.,It is improbable that either 'Sandra got the milk' or 'John went to the office' but not both.,0,Either 'Sandra got the milk' or 'John went to the office' but not both. It is highly unlikely that Bernhard is a frog. It is likely that Daniel took the football. It is certain that Winona is a wolf.,We doubt that 'Winona is a wolf' 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.7::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.24284856971394278,train,certain,we doubt,It is certain that 'Winona is a wolf' or 'Bernhard is a frog' or both.,We doubt that 'Winona is a wolf' or 'Bernhard is a frog' or both.,0,'Winona is a wolf' or 'Bernhard is a frog' or both. We believe that Mary went to the garden. It is impossible that Brian is a rhino. Chances are slight that Julius is green.,It is likely that either 'Julius 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.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.10000000000000002,0.4568913782756551,train,little chance,likely,There is little chance that either 'Julius is green' or 'Brian is a rhino' but not both.,It is likely that either 'Julius is green' or 'Brian is a rhino' but not both.,0,Either 'Julius is green' or 'Brian is a rhino' but not both. It is improbable that Fred left the football. Chances are slight that Brian is a frog. We doubt that Mary took the milk.,It is probable that 'Fred left the football 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.1::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.02000000000000001,0.5133026605321064,train,almost no chance,probable,There is almost no chance that 'Fred left the football and Mary took the milk'.,It is probable that 'Fred left the football and Mary took the milk'.,0,'Fred left the football and Mary took the milk'. There is almost no chance that Mary left the football. There is a very good chance that John moved to the garden. It is certain that Julius is a frog.,There is almost no chance that 'Mary left the football 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.8::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.01600000000000001,0.5291058211642329,train,almost no chance,probably,There is almost no chance that 'Mary left the football and John moved to the garden'.,It is probably the case that 'Mary left the football and John moved to the garden'.,1,'Mary left the football and John moved to the garden'. We doubt that Jeff discarded the milk. It is highly unlikely that Greg is a frog. It is probably not the case that Sandra left the milk.,There is a better than even chance that 'Sandra left the milk and Jeff discarded the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.2530506101220244,train,highly unlikely,better than even,It is highly unlikely that 'Sandra left the milk and Jeff discarded the milk'.,There is a better than even chance that 'Sandra left the milk and Jeff discarded the milk'.,0,'Sandra left the milk and Jeff discarded the milk'. It is highly likely that Greg is yellow. It is impossible that John discarded the apple. Chances are about even that Lily is gray.,It is impossible that 'Greg is yellow 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.9::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.05501100220044009,train,impossible,highly likely,It is impossible that 'Greg is yellow and John discarded the apple'.,It is highly likely that 'Greg is yellow and John discarded the apple'.,1,'Greg is yellow and John discarded the apple'. We believe that Julius is white. It is highly unlikely that Bernhard is a frog. Chances are slight that John went to the office.,It is probably not the case that either 'Julius is white' or 'John went to the office' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.720744148829766,train,probably,probably not,It is probably the case that either 'Julius is white' or 'John went to the office' but not both.,It is probably not the case that either 'Julius is white' or 'John went to the office' but not both.,0,Either 'Julius is white' or 'John went to the office' but not both. We doubt that Lily is a lion. Chances are slight that Daniel put down the milk. It is probable that Greg is a frog.,There is almost no chance that either 'Lily is a lion' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.6385277055411083,train,better than even,almost no chance,There is a better than even chance that either 'Lily is a lion' or 'Greg is a frog' but not both.,There is almost no chance that either 'Lily is a lion' or 'Greg is a frog' but not both.,0,Either 'Lily is a lion' or 'Greg is a frog' but not both. We doubt that Lily is yellow. Chances are slight that John went to the hallway. It is highly likely that Mary moved to the office.,There is almost no chance that 'Lily 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.14682936587317463,train,almost no chance,highly likely,There is almost no chance that 'Lily is yellow and John went to the hallway'.,It is highly likely that 'Lily is yellow and John went to the hallway'.,1,'Lily is yellow and John went to the hallway'. We believe that Mary went to the bedroom. It is impossible that Greg is a rhino. Chances are about even that John got the apple.,Chances are about even that either 'Mary went to the bedroom' 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.75::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5000000000000001,0.5685137027405481,train,about even,certain,Chances are about even that either 'Mary went to the bedroom' or 'John got the apple' but not both.,It is certain that either 'Mary went to the bedroom' or 'John got the apple' but not both.,1,Either 'Mary went to the bedroom' or 'John got the apple' but not both. There is a better than even chance that Julius is a lion. It is almost certain that Greg is green. It is almost certain that Brian is a swan.,There is little chance 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.6::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.0950000000000001,0.7405481096219244,train,little chance,better than even,There is little chance that either 'Brian is a swan' or 'Greg is green' but not both.,There is a better than even chance that either 'Brian is a swan' or 'Greg is green' but not both.,1,Either 'Brian is a swan' or 'Greg is green' but not both. There is little chance that Jeff discarded the milk. There is a better than even chance that Brian is a frog. It is probably not the case that Mary moved to the garden.,It is probably the case that 'Jeff discarded the milk' 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.1::factA. 0.6::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.34986997399479897,train,probably not,probably,It is probably not the case that 'Jeff discarded the milk' or 'Mary moved to the garden' or both.,It is probably the case that 'Jeff discarded the milk' or 'Mary moved to the garden' or both.,0,'Jeff discarded the milk' or 'Mary moved to the garden' or both. It is likely that Mary left the football. It is probably the case that Sandra put down the milk. It is highly likely that John moved to the garden.,It is impossible that 'Mary left the football 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.7::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.63,0.28705741148229647,train,better than even,impossible,There is a better than even chance that 'Mary left the football and John moved to the garden'.,It is impossible that 'Mary left the football and John moved to the garden'.,0,'Mary left the football and John moved to the garden'. Chances are slight that Mary went to the bedroom. It is probably the case that Bernhard is a swan. There is almost no chance that Lily is green.,It is likely that either 'Lily is green' 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.7::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.692,0.004800960192038408,train,likely,little chance,It is likely that either 'Lily is green' or 'Bernhard is a swan' but not both.,There is little chance that either 'Lily is green' or 'Bernhard is a swan' but not both.,1,Either 'Lily is green' or 'Bernhard is a swan' but not both. It is impossible that Mary went to the garden. It is impossible that Daniel left the apple. It is unlikely that Julius is gray.,We believe that either 'Daniel left the apple' or 'Julius is gray' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.7235447089417884,train,unlikely,we believe,It is unlikely that either 'Daniel left the apple' or 'Julius is gray' but not both.,We believe that either 'Daniel left the apple' or 'Julius is gray' but not both.,0,Either 'Daniel left the apple' or 'Julius is gray' but not both. It is unlikely that Bernhard is a swan. We doubt that Lily is white. There is almost no chance that Greg is yellow.,It is highly likely that either 'Bernhard 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.2::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32,0.7683536707341468,train,probably not,highly likely,It is probably not the case that either 'Bernhard is a swan' or 'Lily is white' but not both.,It is highly likely that either 'Bernhard is a swan' or 'Lily is white' but not both.,0,Either 'Bernhard is a swan' or 'Lily is white' but not both. It is probably not the case that Julius is white. Chances are about even that John picked up the apple. Chances are slight that Mary went to the bedroom.,It is impossible that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.5483096619323865,train,about even,impossible,Chances are about even that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.,It is impossible that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.,0,Either 'John picked up the apple' or 'Mary went to the bedroom' but not both. There is little chance that Lily is a frog. It is probably not the case that John went to the kitchen. There is a better than even chance that Bernhard is a lion.,It is highly unlikely that 'Lily is a frog 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.25::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.25645129025805163,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a frog and Bernhard is a lion'.,There is a better than even chance that 'Lily is a frog and Bernhard is a lion'.,1,'Lily is a frog and Bernhard is a lion'. There is a very good chance that Sandra dropped the milk. It is improbable that Brian is green. Chances are slight that Bernhard is a frog.,It is likely that 'Sandra 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.8::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.5583116623324665,train,chances are slight,likely,Chances are slight that 'Sandra dropped the milk and Bernhard is a frog'.,It is likely that 'Sandra dropped the milk and Bernhard is a frog'.,0,'Sandra dropped the milk and Bernhard is a frog'. It is highly likely that Mary picked up the milk. It is likely that John took the apple. It is highly unlikely that Lily is green.,It is likely that either 'John took the apple' 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.9::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.10642128425685136,train,probably not,likely,It is probably not the case that either 'John took the apple' or 'Mary picked up the milk' but not both.,It is likely that either 'John took the apple' or 'Mary picked up the milk' but not both.,0,Either 'John took the apple' or 'Mary picked up the milk' but not both. It is probable that Gertrude is a mouse. We believe that Bernhard is white. Chances are slight that Mary went to the office.,It is impossible that 'Bernhard 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.11522304460892178,train,about even,impossible,Chances are about even that 'Bernhard is white and Gertrude is a mouse'.,It is impossible that 'Bernhard is white and Gertrude is a mouse'.,0,'Bernhard is white and Gertrude is a mouse'. It is improbable that Bill went to the garden. It is probably the case that Bernhard is a rhino. Chances are about even that Greg is a frog.,It is probable that 'Greg 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.1::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.2854570914182837,train,highly unlikely,probable,It is highly unlikely that 'Greg is a frog and Bill went to the garden'.,It is probable that 'Greg is a frog and Bill went to the garden'.,0,'Greg is a frog and Bill went to the garden'. It is highly likely that Daniel took the apple. We believe that Julius is a swan. Chances are slight that Emily is a mouse.,Chances are slight that 'Daniel took the apple 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.75::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.7765553110622124,train,chances are slight,we believe,Chances are slight that 'Daniel took the apple and Emily is a mouse'.,We believe that 'Daniel took the apple and Emily is a mouse'.,1,'Daniel took the apple and Emily is a mouse'. Chances are slight that Julius is white. It is highly unlikely that Sandra took the milk. There is almost no chance that John moved to the garden.,It is highly unlikely that either 'John 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.1::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.068,0.7731546309261852,train,highly unlikely,very good chance,It is highly unlikely that either 'John moved to the garden' or 'Sandra took the milk' but not both.,There is a very good chance that either 'John moved to the garden' or 'Sandra took the milk' but not both.,1,Either 'John moved to the garden' or 'Sandra took the milk' but not both. It is highly likely that Jason is bored. It is likely that Brian is white. It is almost certain that John went to the office.,We believe that either 'Jason 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.9::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.33999999999999997,0.09201840368073615,train,probably not,we believe,It is probably not the case that either 'Jason is bored' or 'Brian is white' but not both.,We believe that either 'Jason is bored' or 'Brian is white' but not both.,0,Either 'Jason is bored' or 'Brian is white' but not both. It is almost certain that Mary moved to the garden. Chances are slight that Brian is a swan. It is highly unlikely that Julius is a rhino.,It is highly likely that either 'Mary moved 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.95::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9049999999999999,0.5853170634126825,train,highly likely,improbable,It is highly likely that either 'Mary moved to the garden' or 'Julius is a rhino' but not both.,It is improbable that either 'Mary moved to the garden' or 'Julius is a rhino' but not both.,1,Either 'Mary moved to the garden' or 'Julius is a rhino' but not both. It is impossible that Brian is a swan. There is almost no chance that Greg is white. It is almost certain that Mary left the apple.,It is highly likely that 'Greg 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.02::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.0634126825365073,train,impossible,highly likely,It is impossible that 'Greg is white and Brian is a swan'.,It is highly likely that 'Greg is white and Brian is a swan'.,0,'Greg is white and Brian is a swan'. It is probable that Bernhard is gray. It is almost certain that John moved to the garden. It is highly likely that Brian is a rhino.,It is certain that 'John moved to the garden' 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.95::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.7257451490298059,train,certain,improbable,It is certain that 'John moved to the garden' or 'Bernhard is gray' or both.,It is improbable that 'John moved to the garden' or 'Bernhard is gray' or both.,1,'John moved to the garden' or 'Bernhard is gray' or both. Chances are about even that John picked up the milk. There is a better than even chance that Julius is a rhino. There is little chance that Bernhard is gray.,Chances are about even that either 'John picked up the milk' 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.5::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.5013002600520104,train,about even,almost certain,Chances are about even that either 'John picked up the milk' or 'Bernhard is gray' but not both.,It is almost certain that either 'John picked up the milk' or 'Bernhard is gray' but not both.,1,Either 'John picked up the milk' or 'Bernhard is gray' but not both. It is likely that Julius is a rhino. It is almost certain that Lily is gray. Chances are about even that Bernhard is a frog.,It is certain that 'Lily 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.7::factA. 0.95::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.6975395079015804,train,certain,improbable,It is certain that 'Lily is gray' or 'Julius is a rhino' or both.,It is improbable that 'Lily is gray' or 'Julius is a rhino' or both.,1,'Lily is gray' or 'Julius is a rhino' or both. There is a very good chance that Gertrude is a mouse. It is likely that Julius is a rhino. It is certain that Jeff moved to the garden.,It is probably the case that 'Julius is a rhino 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. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.41168233646729346,train,probably,improbable,It is probably the case that 'Julius is a rhino and Jeff moved to the garden'.,It is improbable that 'Julius is a rhino and Jeff moved to the garden'.,1,'Julius is a rhino and Jeff moved to the garden'. There is a better than even chance that Julius is gray. We doubt that Brian is a frog. It is probably the case that John picked up the apple.,It is highly unlikely that 'John picked up 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.41999999999999993,0.1906381276255251,train,about even,highly unlikely,Chances are about even that 'John picked up the apple and Julius is gray'.,It is highly unlikely that 'John picked up the apple and Julius is gray'.,0,'John picked up the apple and Julius is gray'. We doubt that Winona is a wolf. It is likely that Brian is green. We doubt that Greg is gray.,It is highly unlikely that 'Greg 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.2::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.04000000000000001,0.1836367273454691,train,highly unlikely,probable,It is highly unlikely that 'Greg is gray and Winona is a wolf'.,It is probable that 'Greg is gray and Winona is a wolf'.,1,'Greg is gray and Winona is a wolf'. There is little chance that Greg is white. We believe that Bernhard is a rhino. It is highly unlikely that Winona is a sheep.,We doubt 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.1::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.22924584916983395,train,probable,we doubt,It is probable that either 'Bernhard is a rhino' or 'Greg is white' but not both.,We doubt 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 little chance that John left the football. It is certain that Brian is white. We doubt that Mary went to the office.,There is almost no chance that 'Mary went to the office 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.1::factA. 1.0::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.02000000000000001,0.11062212442488498,train,almost no chance,about even,There is almost no chance that 'Mary went to the office and John left the football'.,Chances are about even that 'Mary went to the office and John left the football'.,1,'Mary went to the office and John left the football'. Chances are about even that Jessica is a cat. We doubt that Mary picked up the apple. It is probably not the case that Brian is yellow.,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.5::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.5413082616523305,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. There is little chance that Jeff left the apple. It is probably the case that Sandra dropped the milk. It is almost certain that Greg is white.,It is highly unlikely that 'Jeff left 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.1::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.7925585117023405,train,highly unlikely,certain,It is highly unlikely that 'Jeff left the apple and Sandra dropped the milk'.,It is certain that 'Jeff left the apple and Sandra dropped the milk'.,1,'Jeff left the apple and Sandra dropped the milk'. There is almost no chance that Mary went to the office. It is probably not the case that Sumit is tired. It is probably the case that John dropped the apple.,Chances are slight that either 'Mary went to the office' 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.02::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.692,0.39527905581116224,train,probable,chances are slight,It is probable that either 'Mary went to the office' or 'John dropped the apple' but not both.,Chances are slight that either 'Mary went to the office' or 'John dropped the apple' but not both.,0,Either 'Mary went to the office' or 'John dropped the apple' but not both. It is improbable that Sandra got the milk. There is a very good chance that Fred went to the garden. It is probably not the case that Lily is yellow.,It is probably not the case that either 'Lily is yellow' 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.8::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.4988997799559912,train,probably not,highly likely,It is probably not the case that either 'Lily is yellow' or 'Sandra got the milk' but not both.,It is highly likely that either 'Lily is yellow' or 'Sandra got the milk' but not both.,1,Either 'Lily is yellow' or 'Sandra got the milk' but not both. It is probably the case that Bernhard is gray. We believe that Daniel got the milk. It is impossible that Brian is green.,Chances are slight that either 'Brian 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.7::factA. 0.75::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.75,0.16963392678535708,train,we believe,chances are slight,We believe that either 'Brian is green' or 'Daniel got the milk' but not both.,Chances are slight that either 'Brian is green' or 'Daniel got the milk' but not both.,0,Either 'Brian is green' or 'Daniel got the milk' but not both. There is almost no chance that Bernhard is green. It is probably not the case that Jessica is a sheep. There is a very good chance that Lily is white.,It is highly likely that 'Jessica is a sheep 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.25::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.2,0.4536907381476295,train,unlikely,highly likely,It is unlikely that 'Jessica is a sheep and Lily is white'.,It is highly likely that 'Jessica is a sheep and Lily is white'.,0,'Jessica is a sheep and Lily is white'. It is probably the case that Sandra dropped the apple. There is a better than even chance that Julius is a swan. There is a very good chance that Lily is a lion.,It is certain 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.7::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.48,0.4024804960992198,train,about even,certain,Chances are about even that 'Julius is a swan and Lily is a lion'.,It is certain that 'Julius is a swan and Lily is a lion'.,0,'Julius is a swan and Lily is a lion'. Chances are slight that Winona is a wolf. It is certain that Mary dropped the apple. It is highly unlikely that Julius is a frog.,Chances are about even that 'Mary dropped the apple and Julius is a frog'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 1.0::factB. 0.05::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.40508101620324066,train,highly unlikely,about even,It is highly unlikely that 'Mary dropped the apple and Julius is a frog'.,Chances are about even that 'Mary dropped the apple and Julius is a frog'.,0,'Mary dropped the apple and Julius is a frog'. It is almost certain that Mary moved to the office. There is a better than even chance that Lily is yellow. It is probable that Bill left the football.,It is certain that 'Bill left the football' 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.95::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.985,0.21584316863372674,train,certain,chances are slight,It is certain that 'Bill left the football' or 'Mary moved to the office' or both.,Chances are slight that 'Bill left the football' or 'Mary moved to the office' or both.,1,'Bill left the football' or 'Mary moved to the office' or both. There is a better than even chance that John left the milk. There is a very good chance that Brian is a swan. There is almost no chance that Lily is gray.,Chances are about even that 'John left 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.6::factA. 0.8::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48,0.6713342668533707,train,about even,almost certain,Chances are about even that 'John left the milk and Brian is a swan'.,It is almost certain that 'John left the milk and Brian is a swan'.,1,'John left the milk and Brian is a swan'. It is highly likely that Julius is a lion. It is improbable that Lily is a swan. There is a very good chance that Greg is yellow.,It is unlikely that 'Lily is a swan' 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.9::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.91,0.6577315463092619,train,highly likely,unlikely,It is highly likely that 'Lily is a swan' or 'Julius is a lion' or both.,It is unlikely that 'Lily is a swan' or 'Julius is a lion' or both.,0,'Lily is a swan' or 'Julius is a lion' or both. It is certain that Brian is yellow. We doubt that Julius is a swan. Chances are about even that Mary is in the bathroom.,There is a very good chance that either 'Julius 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 1.0::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.6735347069413883,train,very good chance,probably not,There is a very good chance that either 'Julius is a swan' or 'Brian is yellow' but not both.,It is probably not the case that either 'Julius is a swan' or 'Brian is yellow' but not both.,1,Either 'Julius is a swan' or 'Brian is yellow' but not both. We doubt that Lily is green. It is improbable that Sandra left the football. It is certain that Julius is a swan.,It is unlikely 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.2::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.08221644328865774,train,unlikely,very good chance,It is unlikely that 'Lily is green and Julius is a swan'.,There is a very good chance that 'Lily is green and Julius is a swan'.,1,'Lily is green and Julius is a swan'. We believe that Emily is a cat. It is probably the case that Julius is a frog. It is likely that Mary moved to the garden.,It is highly unlikely that 'Mary moved 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.75::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.4360872174434887,train,about even,highly unlikely,Chances are about even that 'Mary moved to the garden and Julius is a frog'.,It is highly unlikely that 'Mary moved to the garden and Julius is a frog'.,0,'Mary moved to the garden and Julius is a frog'. It is likely that Lily is a rhino. It is impossible that Bernhard is green. It is certain that Julius is gray.,It is probably not the case 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.7::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.7561512302460492,train,probably not,highly likely,It is probably not the case that either 'Julius is gray' or 'Lily is a rhino' but not both.,It is highly likely 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. It is likely that Brian is white. We believe that Greg is yellow. We believe that Julius is a rhino.,It is certain that 'Brian is white 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.75::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.525,0.6315263052610522,train,about even,certain,Chances are about even that 'Brian is white and Julius is a rhino'.,It is certain that 'Brian is white and Julius is a rhino'.,0,'Brian is white and Julius is a rhino'. It is probable that John discarded the milk. It is highly likely that Julius is a frog. We believe that Greg is green.,It is likely that 'Greg 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.7::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.675,0.002000400080016003,train,likely,chances are slight,It is likely that 'Greg is green and Julius is a frog'.,Chances are slight that 'Greg is green and Julius is a frog'.,1,'Greg is green and Julius is a frog'. We believe that Jeff left the apple. It is likely that Julius is gray. It is almost certain that Greg is gray.,There is almost no chance that 'Jeff left 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.75::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9875,0.07161432286457292,train,certain,almost no chance,It is certain that 'Jeff left the apple' or 'Greg is gray' or both.,There is almost no chance that 'Jeff left the apple' or 'Greg is gray' or both.,0,'Jeff left the apple' or 'Greg is gray' or both. There is a better than even chance that Sandra dropped the milk. It is certain that Brian is a swan. It is improbable that John moved to the garden.,There is almost no chance that 'Sandra 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.6::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6,0.34366873374674933,train,better than even,almost no chance,There is a better than even chance that 'Sandra dropped the milk and Brian is a swan'.,There is almost no chance that 'Sandra dropped the milk and Brian is a swan'.,0,'Sandra dropped the milk and Brian is a swan'. There is little chance that Greg is a frog. It is unlikely that Bernhard is gray. We doubt that Mary got the apple.,It is probably not the case that either 'Greg 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.7115423084616923,train,probably not,very good chance,It is probably not the case that either 'Greg is a frog' or 'Bernhard is gray' but not both.,There is a very good chance that either 'Greg is a frog' or 'Bernhard is gray' but not both.,1,Either 'Greg is a frog' or 'Bernhard is gray' but not both. It is unlikely that Winona is a sheep. There is almost no chance that Lily is green. We believe that Brian is a rhino.,It is impossible that 'Winona is a sheep 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.02::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.004000000000000002,0.2500500100020004,train,impossible,better than even,It is impossible that 'Winona is a sheep and Lily is green'.,There is a better than even chance that 'Winona is a sheep and Lily is green'.,1,'Winona is a sheep and Lily is green'. It is impossible that Julius is a lion. It is highly unlikely that Lily is yellow. It is impossible that Daniel took the apple.,It is impossible that 'Daniel took 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.0::factA. 0.05::factB. 0.0::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.17103420684136827,train,impossible,highly likely,It is impossible that 'Daniel took the apple and Lily is yellow'.,It is highly likely that 'Daniel took the apple and Lily is yellow'.,1,'Daniel took the apple and Lily is yellow'. Chances are slight that Winona is a wolf. It is probable that Mary went to the office. It is impossible that Greg is a frog.,We doubt that 'Greg 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.1::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7,0.016403280656131225,train,likely,we doubt,It is likely that 'Greg is a frog' or 'Mary went to the office' or both.,We doubt that 'Greg is a frog' or 'Mary went to the office' or both.,0,'Greg is a frog' or 'Mary went to the office' or both. Chances are about even that Brian is white. It is probably not the case that John left the milk. It is likely that Bernhard is a rhino.,It is likely that 'Bernhard is a rhino 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.5::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.3920784156831366,train,unlikely,likely,It is unlikely that 'Bernhard is a rhino and John left the milk'.,It is likely that 'Bernhard is a rhino and John left the milk'.,0,'Bernhard is a rhino and John left the milk'. There is a better than even chance that Brian is white. There is a better than even chance that Mary dropped the milk. It is almost certain that Jeff went to the garden.,There is little chance that 'Jeff went 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.6::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.57,0.08761752350470094,train,better than even,little chance,There is a better than even chance that 'Jeff went to the garden and Mary dropped the milk'.,There is little chance that 'Jeff went to the garden and Mary dropped the milk'.,0,'Jeff went to the garden and Mary dropped the milk'. It is highly likely that Bill went to the garden. It is improbable that Greg is yellow. We doubt that Emily is a mouse.,There is almost no chance that either 'Bill 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.9::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.82,0.04680936187237447,train,very good chance,almost no chance,There is a very good chance that either 'Bill went to the garden' or 'Greg is yellow' but not both.,There is almost no chance that either 'Bill went to the garden' or 'Greg is yellow' but not both.,0,Either 'Bill went to the garden' or 'Greg is yellow' but not both. It is probable that Jeff dropped the apple. It is certain that Bernhard is a rhino. Chances are slight that Mary left the milk.,We believe that either 'Jeff dropped 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.7::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.07721544308861772,train,probably not,we believe,It is probably not the case that either 'Jeff dropped the apple' or 'Bernhard is a rhino' but not both.,We believe that either 'Jeff dropped the apple' or 'Bernhard is a rhino' but not both.,0,Either 'Jeff dropped the apple' or 'Bernhard is a rhino' but not both. Chances are slight that Bernhard is a frog. There is little chance that Lily is yellow. It is probably the case that Gertrude is a sheep.,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.1::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.034206841368273656,train,almost no chance,very good chance,There is almost no chance that 'Lily is yellow and Bernhard is a frog'.,There is a very good chance that 'Lily is yellow and Bernhard is a frog'.,1,'Lily is yellow and Bernhard is a frog'. It is impossible that Bill went to the kitchen. It is almost certain that John got the apple. There is a very good chance that Julius is yellow.,There is a very good chance that 'Julius is yellow' or 'Bill 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.95::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8,0.16523304660932187,train,very good chance,almost no chance,There is a very good chance that 'Julius is yellow' or 'Bill went to the kitchen' or both.,There is almost no chance that 'Julius is yellow' or 'Bill went to the kitchen' or both.,1,'Julius is yellow' or 'Bill went to the kitchen' or both. It is highly unlikely that Mary took the milk. There is a very good chance that Brian is a lion. There is a very good chance that Lily is a swan.,It is highly unlikely 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.05::factA. 0.8::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.3854770954190838,train,highly unlikely,likely,It is highly unlikely that 'Mary took the milk and Brian is a lion'.,It is likely that 'Mary took the milk and Brian is a lion'.,1,'Mary took the milk and Brian is a lion'. There is a very good chance that John discarded the apple. There is almost no chance that Jeff went to the garden. It is probable that Julius is yellow.,Chances are about even that either 'John discarded the apple' 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.8::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.38,0.50750150030006,train,about even,certain,Chances are about even that either 'John discarded the apple' or 'Julius is yellow' but not both.,It is certain that either 'John discarded the apple' or 'Julius is yellow' but not both.,1,Either 'John discarded the apple' or 'Julius is yellow' but not both. We doubt that Brian is white. It is probably not the case that Daniel left the milk. It is probably the case that Lily is a swan.,There is almost no chance that 'Lily 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.2::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.7829565913182637,train,we believe,almost no chance,We believe that 'Lily is a swan' or 'Daniel left the milk' or both.,There is almost no chance that 'Lily is a swan' or 'Daniel left the milk' or both.,0,'Lily is a swan' or 'Daniel left the milk' or both. It is certain that Fred put down the apple. There is a better than even chance that John picked up the milk. We believe that Emily is a sheep.,It is impossible that 'Fred put down 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 1.0::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.75,0.047209441888377675,train,we believe,impossible,We believe that 'Fred put down the apple and Emily is a sheep'.,It is impossible that 'Fred put down the apple and Emily is a sheep'.,0,'Fred put down the apple and Emily is a sheep'. It is likely that Bernhard is gray. It is probable that John went to the garden. It is almost certain that Brian is a frog.,There is almost no chance that 'Bernhard is gray 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.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.545509101820364,train,about even,almost no chance,Chances are about even that 'Bernhard is gray and John went to the garden'.,There is almost no chance that 'Bernhard is gray and John went to the garden'.,0,'Bernhard is gray and John went to the garden'. It is probable that Emily is a sheep. There is a better than even chance that Lily is a lion. It is probable that Brian is a frog.,It is certain that either 'Emily is a sheep' or 'Lily is a lion' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.6209241848369674,train,about even,certain,Chances are about even that either 'Emily is a sheep' or 'Lily is a lion' but not both.,It is certain that either 'Emily is a sheep' or 'Lily is a lion' but not both.,0,Either 'Emily is a sheep' or 'Lily is a lion' but not both. It is likely that Lily is yellow. There is a very good chance that Mary moved to the office. It is highly unlikely that Bernhard is gray.,There is a better than even chance that 'Mary moved to the office 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.7::factA. 0.8::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.40328065613122627,train,better than even,chances are slight,There is a better than even chance that 'Mary moved to the office and Lily is yellow'.,Chances are slight that 'Mary moved to the office and Lily is yellow'.,1,'Mary moved to the office and Lily is yellow'. It is unlikely that Greg is a rhino. We believe that Bernhard is yellow. It is unlikely that Mary went to the bedroom.,There is almost no chance that either 'Mary went to the bedroom' 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.75::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.65,0.013602720544108823,train,probable,almost no chance,It is probable that either 'Mary went to the bedroom' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Mary went to the bedroom' or 'Bernhard is yellow' but not both.,0,Either 'Mary went to the bedroom' or 'Bernhard is yellow' but not both. It is certain that Lily is a lion. It is probably the case that Jason is thirsty. It is highly likely that Julius is white.,We believe that either 'Julius is white' 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 1.0::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.09999999999999998,0.796759351870374,train,chances are slight,we believe,Chances are slight that either 'Julius is white' or 'Lily is a lion' but not both.,We believe that either 'Julius is white' or 'Lily is a lion' but not both.,0,Either 'Julius is white' or 'Lily is a lion' but not both. It is probably not the case that Lily is green. Chances are slight that Julius is yellow. It is likely that John went to the hallway.,It is probably not the case that either 'Lily is green' 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.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.19863972794558912,train,probably not,very good chance,It is probably not the case that either 'Lily is green' or 'Julius is yellow' but not both.,There is a very good chance that either 'Lily is green' or 'Julius is yellow' but not both.,1,Either 'Lily is green' or 'Julius is yellow' but not both. There is little chance that Bill went to the kitchen. There is a better than even chance that Greg is a rhino. It is probably the case that Sandra left the football.,We believe that 'Bill went to the kitchen' 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.1::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.3940788157631526,train,we believe,little chance,We believe that 'Bill went to the kitchen' or 'Sandra left the football' or both.,There is little chance that 'Bill went to the kitchen' or 'Sandra left the football' or both.,1,'Bill went to the kitchen' or 'Sandra left the football' or both. It is highly likely that John put down the apple. It is unlikely that Bill went to the bedroom. It is probably not the case that Daniel got the milk.,It is highly likely that either 'Daniel got the milk' 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.2::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.27565513102620526,train,probably not,highly likely,It is probably not the case that either 'Daniel got the milk' or 'Bill went to the bedroom' but not both.,It is highly likely that either 'Daniel got the milk' or 'Bill went to the bedroom' but not both.,0,Either 'Daniel got the milk' or 'Bill went to the bedroom' but not both. We doubt that John got the milk. There is a very good chance that Greg is green. Chances are about even that Mary went to the kitchen.,Chances are about even that either 'Mary went to the kitchen' 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.8::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.5243048609721944,train,about even,highly unlikely,Chances are about even that either 'Mary went to the kitchen' or 'John got the milk' but not both.,It is highly unlikely that either 'Mary went to the kitchen' or 'John got the milk' but not both.,1,Either 'Mary went to the kitchen' or 'John got the milk' but not both. There is a better than even chance that Lily is a lion. There is almost no chance that Daniel got the milk. It is probably the case that Julius is a frog.,It is improbable that either 'Lily is a lion' 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.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.596,0.625125025005001,train,better than even,improbable,There is a better than even chance that either 'Lily is a lion' or 'Daniel got the milk' but not both.,It is improbable that either 'Lily is a lion' or 'Daniel got the milk' but not both.,0,Either 'Lily is a lion' or 'Daniel got the milk' but not both. There is little chance that Gertrude is a sheep. Chances are about even that Julius is white. It is highly unlikely that Mary moved to the garden.,It is certain that either 'Julius is white' 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.5::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.6863372674534907,train,about even,certain,Chances are about even that either 'Julius is white' or 'Mary moved to the garden' but not both.,It is certain that either 'Julius is white' or 'Mary moved to the garden' but not both.,0,Either 'Julius is white' or 'Mary moved to the garden' but not both. Chances are about even that John went to the garden. We believe that Julius is white. It is highly unlikely that Lily is a lion.,We believe that either 'Julius is white' or 'Lily is a lion' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.75::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7250000000000001,0.34846969393878774,train,we believe,little chance,We believe that either 'Julius is white' or 'Lily is a lion' but not both.,There is little chance that either 'Julius is white' or 'Lily is a lion' but not both.,1,Either 'Julius is white' or 'Lily is a lion' but not both. It is unlikely that Daniel got the apple. It is improbable that Brian is white. It is highly likely that Julius is a rhino.,It is certain that 'Brian is white' 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.0014002800560112022,train,probably not,certain,It is probably not the case that 'Brian is white' or 'Daniel got the apple' or both.,It is certain that 'Brian is white' or 'Daniel got the apple' or both.,0,'Brian is white' or 'Daniel got the apple' or both. We doubt that Julius is a rhino. It is highly unlikely that Greg is a lion. There is a better than even chance that Mary picked up the apple.,It is probably the case that either 'Greg is a lion' 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.2::factA. 0.05::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.3520704140828166,train,probably not,probably,It is probably not the case that either 'Greg is a lion' or 'Julius is a rhino' but not both.,It is probably the case that either 'Greg is a lion' or 'Julius is a rhino' but not both.,0,Either 'Greg is a lion' or 'Julius is a rhino' but not both. It is probably the case that Mary left the milk. It is almost certain that Lily is a lion. It is probably the case that Brian is a rhino.,It is probably the case 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.7::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.6649999999999999,0.13902780556111222,train,probably,highly unlikely,It is probably the case that 'Lily is a lion and Brian is a rhino'.,It is highly unlikely that 'Lily is a lion and Brian is a rhino'.,1,'Lily is a lion and Brian is a rhino'. It is probably the case that John left the football. It is highly unlikely that Bernhard is white. It is likely that Julius is a swan.,It is probably not the case that 'Julius is a swan' 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.05::factB. 0.7::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.7563512702540508,train,probable,probably not,It is probable that 'Julius is a swan' or 'Bernhard is white' or both.,It is probably not the case that 'Julius is a swan' or 'Bernhard is white' or both.,0,'Julius is a swan' or 'Bernhard is white' or both. It is certain that Jessica is a wolf. It is impossible that Julius is a swan. Chances are about even that Mary got the milk.,It is impossible that 'Mary got the milk 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 1.0::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.7769553910782157,train,impossible,probably,It is impossible that 'Mary got the milk and Julius is a swan'.,It is probably the case that 'Mary got the milk and Julius is a swan'.,1,'Mary got the milk and Julius is a swan'. It is highly likely that Mary grabbed the milk. It is improbable that Greg is a swan. There is almost no chance that Lily is yellow.,It is probably the case 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.9::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09000000000000001,0.6543308661732347,train,chances are slight,probably,Chances are slight that 'Mary grabbed the milk and Greg is a swan'.,It is probably the case that 'Mary grabbed the milk and Greg is a swan'.,0,'Mary grabbed the milk and Greg is a swan'. It is probable that Jeff discarded the milk. There is almost no chance that Bernhard is yellow. It is highly likely that Jessica is a cat.,It is highly likely that 'Jessica 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.7::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.902,0.27365473094618925,train,highly likely,unlikely,It is highly likely that 'Jessica is a cat' or 'Bernhard is yellow' or both.,It is unlikely that 'Jessica is a cat' or 'Bernhard is yellow' or both.,1,'Jessica is a cat' or 'Bernhard is yellow' or both. It is impossible that Brian is a swan. We believe that Julius is white. It is almost certain that Mary went to the kitchen.,We doubt 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.0::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.95,0.6139227845569114,train,almost certain,we doubt,It is almost certain that either 'Mary went to the kitchen' or 'Brian is a swan' but not both.,We doubt that either 'Mary went to the kitchen' or 'Brian is a swan' but not both.,0,Either 'Mary went to the kitchen' or 'Brian is a swan' but not both. It is improbable that Lily is a lion. We believe that Greg is gray. There is a better than even chance that Mary got the football.,It is almost certain that 'Mary got the football 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.75::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.45,0.5823164632926585,train,about even,almost certain,Chances are about even that 'Mary got the football and Greg is gray'.,It is almost certain that 'Mary got the football and Greg is gray'.,0,'Mary got the football and Greg is gray'. There is almost no chance that Julius is yellow. There is almost no chance that Mary went to the hallway. We believe that Greg is a lion.,Chances are about even that 'Mary went to the hallway' 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.02::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.0396,0.3856771354270854,train,highly unlikely,about even,It is highly unlikely that 'Mary went to the hallway' or 'Julius is yellow' or both.,Chances are about even that 'Mary went to the hallway' or 'Julius is yellow' or both.,0,'Mary went to the hallway' or 'Julius is yellow' or both. We doubt that John dropped the apple. It is probably the case that Julius is a frog. There is a better than even chance that Mary left the football.,It is certain that 'Mary left the football 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.7::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.41999999999999993,0.07401480296059212,train,about even,certain,Chances are about even that 'Mary left the football and Julius is a frog'.,It is certain that 'Mary left the football and Julius is a frog'.,0,'Mary left the football and Julius is a frog'. It is probable that Sandra dropped the milk. Chances are slight that Lily is gray. It is probably the case that Daniel left the milk.,We believe that 'Sandra dropped 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.7::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.28365673134626923,train,we believe,highly unlikely,We believe that 'Sandra dropped the milk' or 'Lily is gray' or both.,It is highly unlikely that 'Sandra dropped the milk' or 'Lily is gray' or both.,1,'Sandra dropped the milk' or 'Lily is gray' or both. There is a very good chance that John grabbed the milk. It is improbable that Julius is a frog. There is a better than even chance that Greg is a lion.,There is little chance 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.8::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.11082216443288657,train,little chance,probable,There is little chance that 'John grabbed the milk and Julius is a frog'.,It is probable that 'John grabbed the milk and Julius is a frog'.,1,'John grabbed the milk and Julius is a frog'. It is certain that Daniel took the milk. We doubt that Jessica is a cat. We believe that Greg is yellow.,It is probably the case that either 'Daniel took 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 1.0::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25,0.20324064812962592,train,probably not,probably,It is probably not the case that either 'Daniel took the milk' or 'Greg is yellow' but not both.,It is probably the case that either 'Daniel took the milk' or 'Greg is yellow' but not both.,0,Either 'Daniel took the milk' or 'Greg is yellow' but not both. Chances are slight that Daniel left the football. It is probable that John took the apple. There is a very good chance that Brian is a frog.,It is impossible that 'John took the apple 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.7::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5599999999999999,0.32986597319463895,train,better than even,impossible,There is a better than even chance that 'John took the apple and Brian is a frog'.,It is impossible that 'John took the apple and Brian is a frog'.,0,'John took the apple and Brian is a frog'. Chances are about even that John moved to the garden. It is likely that Lily is green. It is unlikely that Greg is a frog.,It is unlikely that 'Lily 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.5::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.85,0.715743148629726,train,very good chance,unlikely,There is a very good chance that 'Lily is green' or 'John moved to the garden' or both.,It is unlikely that 'Lily is green' or 'John moved to the garden' or both.,0,'Lily is green' or 'John moved to the garden' or both. It is almost certain that Greg is gray. There is a better than even chance that Winona is a wolf. It is probable that John went to the kitchen.,There is a very good chance that either 'Greg is gray' 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.6::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32000000000000006,0.6335267053410683,train,probably not,very good chance,It is probably not the case that either 'Greg is gray' or 'John went to the kitchen' but not both.,There is a very good chance that either 'Greg is gray' or 'John went to the kitchen' but not both.,0,Either 'Greg is gray' or 'John went to the kitchen' but not both. Chances are about even that Bernhard is yellow. There is a better than even chance that Bill got the milk there. It is almost certain that Lily is a swan.,It is highly unlikely that 'Bill got the milk there' 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.6::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.98,0.1896379275855171,train,certain,highly unlikely,It is certain that 'Bill got the milk there' or 'Lily is a swan' or both.,It is highly unlikely that 'Bill got the milk there' or 'Lily is a swan' or both.,0,'Bill got the milk there' or 'Lily is a swan' or both. It is highly likely that Brian is white. It is probable that Lily is green. It is probable that Emily is a wolf.,It is probably not the case that either 'Brian 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.9::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.33999999999999997,0.16703340668133626,train,probably not,probably,It is probably not the case that either 'Brian is white' or 'Lily is green' but not both.,It is probably the case that either 'Brian is white' or 'Lily is green' but not both.,1,Either 'Brian is white' or 'Lily is green' but not both. It is improbable that Sandra took the football. It is impossible that John went to the kitchen. It is probable that Bernhard is a frog.,There is little chance that 'Sandra took the football' 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.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.10000000000000002,0.3720744148829766,train,little chance,likely,There is little chance that 'Sandra took the football' or 'John went to the kitchen' or both.,It is likely that 'Sandra took the football' or 'John went to the kitchen' or both.,1,'Sandra took the football' or 'John went to the kitchen' or both. It is highly likely that Mary picked up the milk. Chances are slight that Brian is green. There is little chance that Greg is gray.,It is impossible that either 'Brian 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 0.9::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.82,0.022804560912182435,train,very good chance,impossible,There is a very good chance that either 'Brian is green' or 'Mary picked up the milk' but not both.,It is impossible that either 'Brian is green' or 'Mary picked up the milk' but not both.,0,Either 'Brian is green' or 'Mary picked up the milk' but not both. It is highly unlikely that Sandra left the apple. It is impossible that Julius is white. Chances are about even that Mary took the milk.,Chances are about even that 'Julius is white 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.05::factA. 0.0::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.41708341668333665,train,impossible,about even,It is impossible that 'Julius is white and Mary took the milk'.,Chances are about even that 'Julius is white and Mary took the milk'.,0,'Julius is white and Mary took the milk'. There is little chance that John took the football. It is probable that Lily is a lion. There is little chance that Emily is a mouse.,It is probably the case that either 'John 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.16383276655331067,train,unlikely,probably,It is unlikely that either 'John took the football' or 'Emily is a mouse' but not both.,It is probably the case that either 'John took the football' or 'Emily is a mouse' but not both.,0,Either 'John took the football' or 'Emily is a mouse' but not both. We doubt that Mary moved to the garden. There is a very good chance that Antoine is hungry. It is impossible that Bernhard is yellow.,Chances are slight that either 'Antoine is hungry' 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.2::factA. 0.8::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.68,0.47449489897979596,train,probably,chances are slight,It is probably the case that either 'Antoine is hungry' or 'Mary moved to the garden' but not both.,Chances are slight that either 'Antoine is hungry' or 'Mary moved to the garden' but not both.,0,Either 'Antoine is hungry' or 'Mary moved to the garden' but not both. It is certain that Bernhard is green. Chances are about even that John picked up the milk. It is probably not the case that Greg is a lion.,It is certain that 'Greg is a lion and John picked up the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12500000000000003,0.14422884576915382,train,little chance,certain,There is little chance that 'Greg is a lion and John picked up the milk'.,It is certain that 'Greg is a lion and John picked up the milk'.,0,'Greg is a lion and John picked up the milk'. It is likely that Brian is a rhino. It is almost certain that John got the football. We doubt that Lily is white.,It is almost certain that either 'Brian is a rhino' or 'John 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. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.7341468293658732,train,probably not,almost certain,It is probably not the case that either 'Brian is a rhino' or 'John got the football' but not both.,It is almost certain that either 'Brian is a rhino' or 'John got the football' but not both.,0,Either 'Brian is a rhino' or 'John got the football' but not both. Chances are about even that Jeff went to the hallway. There is almost no chance that Brian is a lion. It is probable that Bernhard is a swan.,It is certain that 'Jeff went to the hallway 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.5::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.25625125025005,train,almost no chance,certain,There is almost no chance that 'Jeff went to the hallway and Brian is a lion'.,It is certain that 'Jeff went to the hallway and Brian is a lion'.,0,'Jeff went to the hallway and Brian is a lion'. It is improbable that John took the football. It is highly likely that Brian is a rhino. It is unlikely that Bill left the milk.,It is certain that either 'Bill left the milk' 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.9::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.5091018203640728,train,probably not,certain,It is probably not the case that either 'Bill left the milk' or 'John took the football' but not both.,It is certain that either 'Bill left the milk' or 'John took the football' but not both.,0,Either 'Bill left the milk' or 'John took the football' but not both. It is impossible that Brian is a frog. It is probably the case that Daniel took the milk. Chances are about even that Winona is a wolf.,It is probably not the case that 'Winona is a wolf 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.7::factB. 0.5::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.40308061612322466,train,probably not,almost certain,It is probably not the case that 'Winona is a wolf and Daniel took the milk'.,It is almost certain that 'Winona is a wolf and Daniel took the milk'.,1,'Winona is a wolf and Daniel took the milk'. It is almost certain that Brian is white. It is highly unlikely that Fred went to the garden. Chances are slight that Gertrude is a wolf.,It is almost certain that 'Brian is white' 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.955,0.7585517103420684,train,almost certain,impossible,It is almost certain that 'Brian is white' or 'Gertrude is a wolf' or both.,It is impossible that 'Brian is white' or 'Gertrude is a wolf' or both.,1,'Brian is white' or 'Gertrude is a wolf' or both. It is certain that Brian is a rhino. It is certain that John moved to the garden. It is certain that Lily is white.,It is certain that 'Lily 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 1.0::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.1250250050010002,train,certain,we doubt,It is certain that 'Lily is white' or 'Brian is a rhino' or both.,We doubt that 'Lily is white' or 'Brian is a rhino' or both.,1,'Lily is white' or 'Brian is a rhino' or both. There is almost no chance that Bill moved to the office. It is highly likely that Brian is gray. There is a better than even chance that Greg is a rhino.,It is highly likely that 'Bill moved to the office 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.9::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.011999999999999999,0.3716743348669734,train,almost no chance,highly likely,There is almost no chance that 'Bill moved to the office and Greg is a rhino'.,It is highly likely that 'Bill moved to the office and Greg is a rhino'.,0,'Bill moved to the office and Greg is a rhino'. We believe that John left the football. It is highly likely that Greg is yellow. We believe that Mary took the football.,It is highly unlikely that 'John left the football' 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.75::factA. 0.9::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9375,0.39147829565913184,train,almost certain,highly unlikely,It is almost certain that 'John left the football' or 'Mary took the football' or both.,It is highly unlikely that 'John left the football' or 'Mary took the football' or both.,0,'John left the football' or 'Mary took the football' or both. It is probable that Mary dropped the apple. We believe that Lily is a swan. It is unlikely that Julius is white.,It is probable 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.7::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.5749149829965993,train,probable,we doubt,It is probable that either 'Lily is a swan' or 'Julius is white' but not both.,We doubt that either 'Lily is a swan' or 'Julius is white' but not both.,1,Either 'Lily is a swan' or 'Julius is white' but not both. It is impossible that Julius is gray. There is a better than even chance that Bernhard is a swan. We believe that John left the milk.,Chances are about even 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 0.0::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45,0.45989197839567914,train,about even,highly unlikely,Chances are about even that 'Bernhard is a swan and John left the milk'.,It is highly unlikely that 'Bernhard is a swan and John left the milk'.,1,'Bernhard is a swan and John left the milk'. It is probably the case that Greg is a lion. We doubt that Jeff moved to the office. It is likely that Sandra got the milk.,Chances are about even that either 'Sandra got 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 0.7::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42,0.7935587117423485,train,about even,almost certain,Chances are about even that either 'Sandra got the milk' or 'Greg is a lion' but not both.,It is almost certain that either 'Sandra got the milk' or 'Greg is a lion' but not both.,1,Either 'Sandra got the milk' or 'Greg is a lion' but not both. Chances are slight that John dropped the milk. It is impossible that Julius is yellow. It is likely that Mary went to the kitchen.,Chances are slight that either 'John dropped 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.1::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.36387277455491096,train,likely,chances are slight,It is likely that either 'John dropped the milk' or 'Mary went to the kitchen' but not both.,Chances are slight that either 'John dropped the milk' or 'Mary went to the kitchen' but not both.,0,Either 'John dropped the milk' or 'Mary went to the kitchen' but not both. It is probably not the case that John went to the kitchen. We doubt that Mary moved to the garden. There is almost no chance that Julius is white.,There is a very good chance that 'Mary moved 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.25::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.21600000000000003,0.5193038607721544,train,unlikely,very good chance,It is unlikely that 'Mary moved to the garden' or 'Julius is white' or both.,There is a very good chance that 'Mary moved to the garden' or 'Julius is white' or both.,0,'Mary moved to the garden' or 'Julius is white' or both. It is improbable that Bernhard is white. It is almost certain that Julius is gray. It is highly likely that Mary left the apple.,It is highly unlikely that either 'Bernhard 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.1::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.1736347269453891,train,highly likely,highly unlikely,It is highly likely that either 'Bernhard is white' or 'Julius is gray' but not both.,It is highly unlikely that either 'Bernhard is white' or 'Julius is gray' but not both.,0,Either 'Bernhard is white' or 'Julius is gray' but not both. It is improbable that Daniel got the football. It is likely that Bernhard is a swan. We doubt that John took the apple.,It is probably not the case that 'John took the apple' 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.1::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.13302660532106422,train,probably not,probable,It is probably not the case that 'John took the apple' or 'Daniel got the football' or both.,It is probable that 'John took the apple' or 'Daniel got the football' or both.,1,'John took the apple' or 'Daniel got the football' or both. It is unlikely that Julius is a swan. We believe that Bernhard is yellow. There is almost no chance that Brian is white.,We believe that either 'Julius 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. 0.75::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.21200000000000002,0.5555111022204441,train,we doubt,we believe,We doubt that either 'Julius is a swan' or 'Brian is white' but not both.,We believe that either 'Julius is a swan' or 'Brian is white' but not both.,0,Either 'Julius is a swan' or 'Brian is white' but not both. There is a very good chance that John went to the hallway. It is probable that Brian is a rhino. There is a better than even chance that Lily is yellow.,Chances are about even that 'Lily 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.8::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48,0.23564712942588517,train,about even,certain,Chances are about even that 'Lily is yellow and John went to the hallway'.,It is certain that 'Lily is yellow and John went to the hallway'.,1,'Lily is yellow and John went to the hallway'. We believe that John took the apple. There is almost no chance that Greg is a rhino. It is highly likely that Julius is yellow.,It is probably the case that either 'John took the apple' 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.75::factA. 0.02::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.28505701140228046,train,probably not,probably,It is probably not the case that either 'John took the apple' or 'Julius is yellow' but not both.,It is probably the case that either 'John took the apple' or 'Julius is yellow' but not both.,0,Either 'John took the apple' or 'Julius is yellow' but not both. It is likely that Mary went to the hallway. It is probably not the case that Daniel dropped the apple. It is probable that Brian is white.,There is a better than even chance that either 'Mary went to the hallway' 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.7::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.376875375075015,train,better than even,little chance,There is a better than even chance that either 'Mary went to the hallway' or 'Daniel dropped the apple' but not both.,There is little chance that either 'Mary went to the hallway' or 'Daniel dropped the apple' but not both.,1,Either 'Mary went to the hallway' or 'Daniel dropped the apple' but not both. It is improbable that Lily is a frog. It is probable that Mary went to the garden. It is probable that Sandra left the milk.,We believe that 'Mary 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.1::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.594118823764753,train,we believe,probably not,We believe that 'Mary went to the garden' or 'Lily is a frog' or both.,It is probably not the case that 'Mary went to the garden' or 'Lily is a frog' or both.,1,'Mary went to the garden' or 'Lily is a frog' or both. It is certain that Mary moved to the garden. It is probably the case that John discarded the milk. It is highly unlikely that Bernhard is yellow.,It is probable that 'Bernhard is yellow' 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 1.0::factA. 0.7::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.22684536907381475,train,probable,improbable,It is probable that 'Bernhard is yellow' or 'John discarded the milk' or both.,It is improbable that 'Bernhard is yellow' or 'John discarded the milk' or both.,1,'Bernhard is yellow' or 'John discarded the milk' or both. It is almost certain that Lily is green. It is probably the case that Greg is a frog. It is unlikely that Jessica is a cat.,There is little chance that 'Greg 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.95::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.2976595319063813,train,we believe,little chance,We believe that 'Greg is a frog' or 'Jessica is a cat' or both.,There is little chance that 'Greg is a frog' or 'Jessica is a cat' or both.,0,'Greg is a frog' or 'Jessica is a cat' or both. It is impossible that Bernhard is yellow. There is a better than even chance that Sandra dropped the milk. It is probable that John picked up the milk.,There is a better than even chance 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 0.0::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6,0.09961992398479697,train,better than even,impossible,There is a better than even chance that 'Sandra dropped the milk' or 'Bernhard is yellow' or both.,It is impossible that 'Sandra dropped the milk' or 'Bernhard is yellow' or both.,1,'Sandra dropped the milk' or 'Bernhard is yellow' or both. There is a very good chance that John discarded the milk. It is probably not the case that Mary dropped the apple. Chances are slight that Brian is green.,There is almost no chance that 'Brian 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.8::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.5299059811962392,train,almost no chance,highly likely,There is almost no chance that 'Brian is green and Mary dropped the apple'.,It is highly likely that 'Brian is green and Mary dropped the apple'.,1,'Brian is green and Mary dropped the apple'. It is impossible that Jeff moved to the office. It is highly unlikely that Greg is a swan. It is highly likely that Lily is gray.,It is almost certain that 'Greg is a swan 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.0::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.515503100620124,train,impossible,almost certain,It is impossible that 'Greg is a swan and Jeff moved to the office'.,It is almost certain that 'Greg is a swan and Jeff moved to the office'.,0,'Greg is a swan and Jeff moved to the office'. It is certain that Julius is green. It is probable that Brian is gray. It is probably not the case that Mary went to the office.,It is improbable that either 'Brian is gray' 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.7::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6,0.4926985397079416,train,better than even,improbable,There is a better than even chance that either 'Brian is gray' or 'Mary went to the office' but not both.,It is improbable that either 'Brian is gray' or 'Mary went to the office' but not both.,0,Either 'Brian is gray' or 'Mary went to the office' but not both. We believe that Bill went to the garden. We doubt that Sandra is in the kitchen. It is improbable that Julius is a lion.,It is likely that 'Sandra is in 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.75::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.3116623324664933,train,almost no chance,likely,There is almost no chance that 'Sandra is in the kitchen and Julius is a lion'.,It is likely that 'Sandra is in the kitchen and Julius is a lion'.,0,'Sandra is in the kitchen and Julius is a lion'. It is probably the case that Julius is gray. There is a better than even chance that Bernhard is green. It is improbable that Daniel left 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.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.6747349469893978,train,about even,impossible,Chances are about even that either 'Julius is gray' or 'Bernhard is green' but not both.,It is impossible that either 'Julius is gray' or 'Bernhard is green' but not both.,1,Either 'Julius is gray' or 'Bernhard is green' but not both. It is probably the case that Bill went to the office. It is probably not the case that Lily is yellow. There is little chance that Mary got the football.,There is a very good chance that 'Bill 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.7::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.775,0.0036007201440288058,train,very good chance,almost no chance,There is a very good chance that 'Bill went to the office' or 'Lily is yellow' or both.,There is almost no chance that 'Bill went to the office' or 'Lily is yellow' or both.,1,'Bill went to the office' or 'Lily is yellow' or both. It is certain that John dropped the apple. There is almost no chance that Brian is white. It is probably the case that Julius is white.,It is certain that 'Brian 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 1.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.4294858971794359,train,certain,highly unlikely,It is certain that 'Brian is white' or 'John dropped the apple' or both.,It is highly unlikely that 'Brian is white' or 'John dropped the apple' or both.,1,'Brian is white' or 'John dropped the apple' or both. There is a better than even chance that Lily is green. There is almost no chance that Gertrude is a cat. It is probably not the case that Emily is a mouse.,There is little chance that 'Lily 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.6::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.15,0.027605521104220845,train,little chance,better than even,There is little chance that 'Lily is green and Emily is a mouse'.,There is a better than even chance that 'Lily is green and Emily is a mouse'.,1,'Lily is green and Emily is a mouse'. It is almost certain that Greg is a rhino. It is highly unlikely that Julius is green. There is little chance that John got the milk.,Chances are slight that 'Greg 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.95::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09500000000000001,0.09101820364072814,train,chances are slight,almost certain,Chances are slight that 'Greg is a rhino and John got the milk'.,It is almost certain that 'Greg is a rhino and John got the milk'.,1,'Greg is a rhino and John got the milk'. It is probably not the case that Julius is white. It is probably the case that Mary went to the hallway. It is probable that Sumit is bored.,There is a better than even chance that either 'Mary went to the hallway' 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.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.47929585917183437,train,better than even,impossible,There is a better than even chance that either 'Mary went to the hallway' or 'Julius is white' but not both.,It is impossible that either 'Mary went to the hallway' or 'Julius is white' but not both.,1,Either 'Mary went to the hallway' or 'Julius is white' but not both. It is probably not the case that Mary got the apple. It is probable that Greg is a rhino. There is little chance that Daniel put down the milk.,There is a better than even chance that either 'Mary got the apple' or 'Greg is a rhino' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.38587717543508704,train,better than even,little chance,There is a better than even chance that either 'Mary got the apple' or 'Greg is a rhino' but not both.,There is little chance that either 'Mary got the apple' or 'Greg is a rhino' but not both.,1,Either 'Mary got the apple' or 'Greg is a rhino' but not both. There is a better than even chance that Greg is a rhino. It is highly likely that Mary went to the bedroom. It is highly unlikely that John moved to the garden.,It is almost certain that 'Mary went to the bedroom 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.9::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5399999999999999,0.28425685137027407,train,about even,almost certain,Chances are about even that 'Mary went to the bedroom and Greg is a rhino'.,It is almost certain that 'Mary went to the bedroom and Greg is a rhino'.,0,'Mary went to the bedroom and Greg is a rhino'. Chances are slight that Greg is a swan. There is almost no chance that Emily is a mouse. Chances are slight that Sumit is hungry.,It is improbable that either 'Emily is a mouse' 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.1::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.116,0.46989397879575917,train,improbable,highly likely,It is improbable that either 'Emily is a mouse' or 'Sumit is hungry' but not both.,It is highly likely that either 'Emily is a mouse' or 'Sumit is hungry' but not both.,1,Either 'Emily is a mouse' or 'Sumit is hungry' but not both. It is probably not the case that John went to the garden. There is a better than even chance that Lily is a rhino. We doubt that Mary took the milk.,It is improbable that 'Mary took 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.25::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.12000000000000001,0.24104820964192838,train,improbable,very good chance,It is improbable that 'Mary took the milk and Lily is a rhino'.,There is a very good chance that 'Mary took the milk and Lily is a rhino'.,1,'Mary took the milk and Lily is a rhino'. It is impossible that Brian is a frog. It is improbable that Sandra is in the kitchen. It is impossible that Bernhard is a rhino.,It is impossible that 'Sandra is in the kitchen 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.1::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5189037807561512,train,impossible,we believe,It is impossible that 'Sandra is in the kitchen and Brian is a frog'.,We believe that 'Sandra is in the kitchen and Brian is a frog'.,1,'Sandra is in the kitchen and Brian is a frog'. It is certain that Brian is white. There is a better than even chance that John discarded the apple. It is certain that Daniel got the football.,Chances are about even that either 'Daniel got the football' 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.6::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.494498899779956,train,about even,certain,Chances are about even that either 'Daniel got the football' or 'John discarded the apple' but not both.,It is certain that either 'Daniel got the football' or 'John discarded the apple' but not both.,1,Either 'Daniel got the football' or 'John discarded the apple' but not both. It is improbable that Greg is a frog. It is improbable that Fred dropped the milk. Chances are about even that Julius is a frog.,There is a better than even chance that 'Julius 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.1::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.05581116223244649,train,better than even,impossible,There is a better than even chance that 'Julius is a frog' or 'Fred dropped the milk' or both.,It is impossible that 'Julius is a frog' or 'Fred dropped the milk' or both.,1,'Julius is a frog' or 'Fred dropped the milk' or both. Chances are about even that Julius is gray. It is improbable that Brian is a swan. It is probably not the case that John went to the garden.,It is almost certain that either 'John went to the garden' 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.1::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.6443288657731546,train,probably not,almost certain,It is probably not the case that either 'John went to the garden' or 'Brian is a swan' but not both.,It is almost certain that either 'John went to the garden' or 'Brian is a swan' but not both.,0,Either 'John went to the garden' or 'Brian is a swan' but not both. There is almost no chance that Sandra took the football. We believe that Brian is white. There is a better than even chance that Lily is a rhino.,There is little chance that 'Sandra 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.02::factA. 0.75::factB. 0.6::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.608,0.4282856571314263,train,better than even,little chance,There is a better than even chance that 'Sandra took the football' or 'Lily is a rhino' or both.,There is little chance that 'Sandra took the football' or 'Lily is a rhino' or both.,0,'Sandra took the football' or 'Lily is a rhino' or both. There is little chance that Brian is a rhino. It is improbable that Bernhard is yellow. There is a very good chance that Yann is bored.,It is unlikely that either 'Brian 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.1::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.18000000000000005,0.2536507301460292,train,unlikely,we believe,It is unlikely that either 'Brian is a rhino' or 'Bernhard is yellow' but not both.,We believe that either 'Brian is a rhino' or 'Bernhard is yellow' but not both.,1,Either 'Brian is a rhino' or 'Bernhard is yellow' but not both. We doubt that John moved to the garden. There is a better than even chance that Bernhard is a frog. There is a very good chance that Brian is gray.,We believe that 'Brian 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.2::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.16000000000000003,0.7379475895179036,train,we doubt,we believe,We doubt that 'Brian is gray and John moved to the garden'.,We believe that 'Brian is gray and John moved to the garden'.,0,'Brian is gray and John moved to the garden'. It is highly likely that Fred left the football. It is probable that Julius is gray. There is almost no chance that John dropped the milk.,There is almost no chance that 'John 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.9::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.047809561912382476,train,almost no chance,probably,There is almost no chance that 'John dropped the milk and Julius is gray'.,It is probably the case that 'John dropped the milk and Julius is gray'.,1,'John dropped the milk and Julius is gray'. Chances are about even that Lily is a rhino. It is certain that Brian is a frog. It is almost certain that Daniel got the football.,There is almost no chance 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.5::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5,0.6137227445489097,train,about even,almost no chance,Chances are about even that 'Brian is a frog and Lily is a rhino'.,There is almost no chance that 'Brian is a frog and Lily is a rhino'.,0,'Brian is a frog and Lily is a rhino'. There is almost no chance that Emily is a mouse. Chances are about even that Sandra dropped the milk. It is likely that Jessica is a wolf.,It is likely that 'Emily is a mouse' or 'Jessica 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.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.706,0.3118623724744949,train,likely,highly unlikely,It is likely that 'Emily is a mouse' or 'Jessica is a wolf' or both.,It is highly unlikely that 'Emily is a mouse' or 'Jessica is a wolf' or both.,1,'Emily is a mouse' or 'Jessica is a wolf' or both. It is unlikely that Brian is white. It is certain that Lily is green. There is a very good chance that John dropped the apple.,It is probably not the case that 'Brian 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.2::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8400000000000001,0.6903380676135227,train,very good chance,probably not,There is a very good chance that 'Brian is white' or 'John dropped the apple' or both.,It is probably not the case that 'Brian is white' or 'John dropped the apple' or both.,0,'Brian is white' or 'John dropped the apple' or both. We doubt that John left the apple. Chances are slight that Lily is green. There is a better than even chance that Brian is white.,It is certain that 'John left the apple 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.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.12000000000000001,0.30486097219443886,train,improbable,certain,It is improbable that 'John left the apple and Brian is white'.,It is certain that 'John left the apple and Brian is white'.,0,'John left the apple and Brian is white'. It is unlikely that John dropped the milk. It is unlikely that Mary put down the apple. It is probably the case that Julius is green.,Chances are slight that 'Julius is green 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.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.5577115423084616,train,chances are slight,very good chance,Chances are slight that 'Julius is green and Mary put down the apple'.,There is a very good chance that 'Julius is green and Mary put down the apple'.,1,'Julius is green and Mary put down the apple'. It is highly likely that Mary grabbed the milk. We doubt that John went to the garden. It is highly unlikely that Emily is a mouse.,There is little chance that 'Mary grabbed the milk' 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.2::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.905,0.6997399479895979,train,highly likely,little chance,It is highly likely that 'Mary grabbed the milk' or 'Emily is a mouse' or both.,There is little chance that 'Mary grabbed the milk' or 'Emily is a mouse' or both.,0,'Mary grabbed the milk' or 'Emily is a mouse' or both. It is certain that Mary got the milk. There is a very good chance that Greg is a rhino. We doubt that Lily is white.,It is probable that 'Lily is white 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.8::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.16000000000000003,0.048009601920384073,train,we doubt,probable,We doubt that 'Lily is white and Greg is a rhino'.,It is probable that 'Lily is white and Greg is a rhino'.,0,'Lily is white and Greg is a rhino'. It is likely that Daniel grabbed the milk. It is probable that John moved to the office. Chances are slight that Lily is white.,It is probable that either 'Daniel grabbed the milk' 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6599999999999999,0.010402080416083218,train,probable,chances are slight,It is probable that either 'Daniel grabbed the milk' or 'Lily is white' but not both.,Chances are slight that either 'Daniel grabbed the milk' or 'Lily is white' but not both.,1,Either 'Daniel grabbed the milk' or 'Lily is white' but not both. There is almost no chance that John took the apple. It is probably the case that Brian is a rhino. It is almost certain that Sandra dropped the milk.,There is little chance that 'Brian is a rhino' 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.7::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.370874174834967,train,certain,little chance,It is certain that 'Brian is a rhino' or 'Sandra dropped the milk' or both.,There is little chance that 'Brian is a rhino' or 'Sandra dropped the milk' or both.,0,'Brian is a rhino' or 'Sandra dropped the milk' or both. It is unlikely that Winona is a wolf. It is probably the case that Mary picked up the apple. It is highly likely that Lily is green.,There is a better than even chance that 'Mary picked up 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.2::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.42668533706741346,train,better than even,impossible,There is a better than even chance that 'Mary picked up the apple and Lily is green'.,It is impossible that 'Mary picked up the apple and Lily is green'.,1,'Mary picked up the apple and Lily is green'. Chances are slight that Greg is yellow. There is a better than even chance that Mary took the milk. It is unlikely that Daniel left the apple.,There is almost no chance that 'Daniel left 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.1::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.02000000000000001,0.45429085817163434,train,almost no chance,likely,There is almost no chance that 'Daniel left the apple and Greg is yellow'.,It is likely that 'Daniel left the apple and Greg is yellow'.,1,'Daniel left the apple and Greg is yellow'. We doubt that Julius is a rhino. It is certain that Mary took the football. It is certain that Fred dropped the milk.,It is unlikely 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.2::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.2,0.23004600920184037,train,unlikely,we believe,It is unlikely that 'Julius is a rhino and Mary took the football'.,We believe that 'Julius is a rhino and Mary took the football'.,1,'Julius is a rhino and Mary took the football'. It is improbable that Gertrude is a mouse. It is probable that Mary went to the kitchen. It is certain that Brian is yellow.,It is improbable 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.1::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.4548909781956391,train,certain,improbable,It is certain that 'Mary went to the kitchen' or 'Brian is yellow' or both.,It is improbable that 'Mary went to the kitchen' or 'Brian is yellow' or both.,0,'Mary went to the kitchen' or 'Brian is yellow' or both. There is a very good chance that Brian is a rhino. It is unlikely that Bernhard is a frog. It is almost certain that Mary got the football.,It is almost certain that 'Bernhard is a frog' 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.2::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.5309061812362472,train,almost certain,little chance,It is almost certain that 'Bernhard is a frog' or 'Mary got the football' or both.,There is little chance that 'Bernhard is a frog' or 'Mary got the football' or both.,1,'Bernhard is a frog' or 'Mary got the football' or both. We doubt that Julius is white. We doubt that Antoine is thirsty. It is improbable that Gertrude is a sheep.,There is almost no chance that 'Gertrude is a sheep 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.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.24424884976995398,train,almost no chance,probably,There is almost no chance that 'Gertrude is a sheep and Antoine is thirsty'.,It is probably the case that 'Gertrude is a sheep and Antoine is thirsty'.,1,'Gertrude is a sheep and Antoine is thirsty'. There is a better than even chance that Lily is a lion. There is a better than even chance that Brian is a swan. It is probably not the case that Julius is white.,Chances are about even that either 'Lily 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.6::factA. 0.6::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.48000000000000004,0.6029205841168234,train,about even,certain,Chances are about even that either 'Lily is a lion' or 'Brian is a swan' but not both.,It is certain that either 'Lily is a lion' or 'Brian is a swan' but not both.,1,Either 'Lily is a lion' or 'Brian is a swan' but not both. We believe that Lily is a lion. It is highly unlikely that Mary dropped the milk. It is likely that John moved to the garden.,It is certain that either 'Lily 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.75::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.7667533506701341,train,about even,certain,Chances are about even that either 'Lily is a lion' or 'John moved to the garden' but not both.,It is certain that either 'Lily is a lion' or 'John moved to the garden' but not both.,0,Either 'Lily is a lion' or 'John moved to the garden' but not both. Chances are about even that Lily is a swan. It is impossible that John left the football. It is probable that Julius is a lion.,There is a very good chance that 'John left 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.5::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5079015803160633,train,impossible,very good chance,It is impossible that 'John left the football and Lily is a swan'.,There is a very good chance that 'John left the football and Lily is a swan'.,0,'John left the football and Lily is a swan'. There is a better than even chance that Sandra left the apple. It is improbable that Julius is gray. It is probably the case that John went to the kitchen.,There is a better than even chance that 'Julius is gray' 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.6::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.64,0.3416683336667333,train,better than even,improbable,There is a better than even chance that 'Julius is gray' or 'Sandra left the apple' or both.,It is improbable that 'Julius is gray' or 'Sandra left the apple' or both.,1,'Julius is gray' or 'Sandra left the apple' or both. It is highly likely that Jessica is a cat. It is impossible that Daniel grabbed the milk. It is unlikely that John went to the hallway.,It is impossible that 'Daniel grabbed 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.9::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.34186837367473494,train,impossible,almost certain,It is impossible that 'Daniel grabbed the milk and John went to the hallway'.,It is almost certain that 'Daniel grabbed the milk and John went to the hallway'.,1,'Daniel grabbed the milk and John went to the hallway'. It is likely that Greg is a swan. There is almost no chance that Jessica is a mouse. It is highly unlikely that John moved to the garden.,It is probable that 'John 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.7::factA. 0.02::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.029805961192238446,train,highly unlikely,probable,It is highly unlikely that 'John moved to the garden and Greg is a swan'.,It is probable that 'John moved to the garden and Greg is a swan'.,0,'John moved to the garden and Greg is a swan'. It is highly unlikely that Bill went to the garden. We believe that Mary moved to the office. It is unlikely that Greg is gray.,There is a better than even chance that 'Bill went to the garden 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.05::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.669133826765353,train,almost no chance,better than even,There is almost no chance that 'Bill went to the garden and Greg is gray'.,There is a better than even chance that 'Bill went to the garden and Greg is gray'.,0,'Bill went to the garden and Greg is gray'. We believe that John discarded the apple. It is likely that Julius is a swan. It is almost certain that Mary moved to the garden.,It is probably not the case that either 'Mary moved to the garden' or 'John discarded the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.275,0.28905781156231247,train,probably not,probably,It is probably not the case that either 'Mary moved to the garden' or 'John discarded the apple' but not both.,It is probably the case that either 'Mary moved to the garden' or 'John discarded the apple' but not both.,1,Either 'Mary moved to the garden' or 'John discarded the apple' but not both. It is improbable that Brian is yellow. It is certain that Mary got the football. It is unlikely that Gertrude is a mouse.,There is little chance that 'Gertrude 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. 1.0::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.4316863372674535,train,certain,little chance,It is certain that 'Gertrude is a mouse' or 'Mary got the football' or both.,There is little chance that 'Gertrude is a mouse' or 'Mary got the football' or both.,0,'Gertrude is a mouse' or 'Mary got the football' or both. There is a very good chance that Sandra left the milk. It is impossible that Mary went to the bedroom. It is probably the case that Greg is a frog.,It is probably not the case that 'Mary went to the bedroom' 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.0::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.6477295459091819,train,very good chance,probably not,There is a very good chance that 'Mary went to the bedroom' or 'Sandra left the milk' or both.,It is probably not the case that 'Mary went to the bedroom' or 'Sandra left the milk' or both.,0,'Mary went to the bedroom' or 'Sandra left the milk' or both. There is a very good chance that Mary grabbed the apple. It is certain that Julius is a lion. Chances are slight that John went to the garden.,It is highly likely 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. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9,0.13502700540108023,train,highly likely,little chance,It is highly likely that either 'John went to the garden' or 'Julius is a lion' but not both.,There is little chance that either 'John went to the garden' or 'Julius is a lion' but not both.,1,Either 'John went to the garden' or 'Julius is a lion' but not both. We believe that Winona is a cat. There is a better than even chance that Mary left the football. It is probably the case that Brian is yellow.,Chances are about even that either 'Mary left the football' 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.75::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45000000000000007,0.3082616523304661,train,about even,almost no chance,Chances are about even that either 'Mary left the football' or 'Winona is a cat' but not both.,There is almost no chance that either 'Mary left the football' or 'Winona is a cat' but not both.,1,Either 'Mary left the football' or 'Winona is a cat' but not both. It is highly likely that Brian is a swan. It is improbable that Julius is a frog. It is improbable that John moved to the garden.,It is unlikely that 'Brian 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.9::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.49749949989998,train,highly likely,unlikely,It is highly likely that 'Brian is a swan' or 'Julius is a frog' or both.,It is unlikely that 'Brian is a swan' or 'Julius is a frog' or both.,0,'Brian is a swan' or 'Julius is a frog' or both. We doubt that Bernhard is gray. It is improbable that Greg is a frog. It is impossible that Mary discarded the apple.,It is probable that 'Bernhard is gray and Mary 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.2::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.3018603720744149,train,impossible,probable,It is impossible that 'Bernhard is gray and Mary discarded the apple'.,It is probable that 'Bernhard is gray and Mary discarded the apple'.,0,'Bernhard is gray and Mary discarded the apple'. There is a better than even chance that Bernhard is yellow. It is impossible that Mary dropped the milk. There is little chance that Jason is tired.,There is a better than even chance that either 'Bernhard 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.6::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.09981996399279856,train,better than even,impossible,There is a better than even chance that either 'Bernhard is yellow' or 'Mary dropped the milk' but not both.,It is impossible that either 'Bernhard is yellow' or 'Mary dropped the milk' but not both.,1,Either 'Bernhard is yellow' or 'Mary dropped the milk' but not both. We believe that Bernhard is white. It is impossible that Greg is yellow. It is highly unlikely that John put down the apple.,It is highly unlikely that either 'John put down 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.75::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.05000000000000001,0.42028405681136227,train,highly unlikely,almost certain,It is highly unlikely that either 'John put down the apple' or 'Greg is yellow' but not both.,It is almost certain that either 'John put down the apple' or 'Greg is yellow' but not both.,1,Either 'John put down the apple' or 'Greg is yellow' but not both. We doubt that Fred dropped the milk. We doubt that John went to the bedroom. It is probably the case that Jessica is a mouse.,We believe that 'John 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.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.76,0.7051410282056412,train,we believe,we doubt,We believe that 'John went to the bedroom' or 'Jessica is a mouse' or both.,We doubt that 'John went to the bedroom' or 'Jessica is a mouse' or both.,1,'John went to the bedroom' or 'Jessica is a mouse' or both. It is highly likely that Bernhard is a rhino. It is highly likely that Julius is a swan. There is little chance that Lily is a lion.,Chances are slight that 'Bernhard 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.9::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.81,0.05341068213642729,train,very good chance,chances are slight,There is a very good chance that 'Bernhard is a rhino and Julius is a swan'.,Chances are slight that 'Bernhard is a rhino and Julius is a swan'.,0,'Bernhard is a rhino and Julius is a swan'. Chances are about even that Bernhard is gray. It is certain that Brian is a swan. It is probable that Sandra took the milk.,It is highly unlikely that either 'Bernhard is gray' 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. 1.0::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.0638127625525105,train,about even,highly unlikely,Chances are about even that either 'Bernhard is gray' or 'Brian is a swan' but not both.,It is highly unlikely that either 'Bernhard is gray' or 'Brian is a swan' but not both.,0,Either 'Bernhard is gray' or 'Brian is a swan' but not both. It is probably the case that Jessica is a mouse. It is unlikely that Julius is a lion. It is impossible that Lily is white.,It is impossible that 'Jessica is a mouse 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.2::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.5633126625325064,train,impossible,about even,It is impossible that 'Jessica is a mouse and Lily is white'.,Chances are about even that 'Jessica is a mouse and Lily is white'.,1,'Jessica is a mouse and Lily is white'. It is unlikely that John discarded the apple. It is probable that Bernhard is white. There is a better than even chance that Brian is a frog.,It is probably the case that 'John discarded the apple 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.2::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.12000000000000001,0.40928185637127423,train,improbable,probably,It is improbable that 'John discarded the apple and Brian is a frog'.,It is probably the case that 'John discarded the apple and Brian is a frog'.,0,'John discarded the apple and Brian is a frog'. It is certain that Brian is white. It is probable that Jessica is a cat. It is probably not the case that Lily is a swan.,It is certain that 'Brian 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 1.0::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.17023404680936188,train,certain,probably not,It is certain that 'Brian is white' or 'Lily is a swan' or both.,It is probably not the case that 'Brian is white' or 'Lily is a swan' or both.,1,'Brian is white' or 'Lily is a swan' or both. It is probably not the case that Sandra left the football. It is almost certain that Mary discarded the milk. It is probable that Julius is a frog.,It is probably not the case that 'Sandra left the football 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.25::factA. 0.95::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.2375,0.07421484296859372,train,probably not,almost certain,It is probably not the case that 'Sandra left the football and Mary discarded the milk'.,It is almost certain that 'Sandra left the football and Mary discarded the milk'.,1,'Sandra left the football and Mary discarded the milk'. It is likely that John put down the milk. It is unlikely that Jessica is a mouse. There is little chance that Lily is a lion.,There is a better than even chance that either 'Jessica is a mouse' 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.7015403080616123,train,better than even,almost no chance,There is a better than even chance that either 'Jessica is a mouse' or 'John put down the milk' but not both.,There is almost no chance that either 'Jessica is a mouse' or 'John put down the milk' but not both.,1,Either 'Jessica is a mouse' or 'John put down the milk' but not both. Chances are about even that Brian is a lion. It is probably not the case that Greg is white. There is almost no chance that Bernhard is gray.,We believe that 'Greg is white' 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.5::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.265,0.28025605121024205,train,probably not,we believe,It is probably not the case that 'Greg is white' or 'Bernhard is gray' or both.,We believe that 'Greg is white' or 'Bernhard is gray' or both.,0,'Greg is white' or 'Bernhard is gray' or both. It is highly unlikely that Greg is a rhino. It is improbable that John left the apple. It is highly likely that Lily is a frog.,There is little chance that 'Greg is a rhino' 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.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.14500000000000002,0.7601520304060813,train,little chance,highly likely,There is little chance that 'Greg is a rhino' or 'John left the apple' or both.,It is highly likely that 'Greg is a rhino' or 'John left the apple' or both.,1,'Greg is a rhino' or 'John left the apple' or both. It is improbable that Sandra left the milk. It is highly unlikely that Bernhard is a swan. It is improbable that Julius is yellow.,It is unlikely that 'Julius is yellow' 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.05::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.19000000000000006,0.3026605321064213,train,unlikely,we believe,It is unlikely that 'Julius is yellow' or 'Sandra left the milk' or both.,We believe that 'Julius is yellow' or 'Sandra left the milk' or both.,1,'Julius is yellow' or 'Sandra left the milk' or both. It is almost certain that Julius is yellow. It is probably the case that Greg is green. Chances are slight that Jeff went to the bedroom.,We believe 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.95::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.6695339067813563,train,probably not,we believe,It is probably not the case that either 'Julius is yellow' or 'Greg is green' but not both.,We believe that either 'Julius is yellow' or 'Greg is green' but not both.,0,Either 'Julius is yellow' or 'Greg is green' but not both. There is little chance that Julius is gray. We doubt that Daniel left the apple. There is little chance that Mary discarded the milk.,It is probably not the case that either 'Mary discarded the milk' 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.1::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.7191438287657531,train,probably not,probable,It is probably not the case that either 'Mary discarded the milk' or 'Daniel left the apple' but not both.,It is probable that either 'Mary discarded the milk' or 'Daniel left the apple' but not both.,1,Either 'Mary discarded the milk' or 'Daniel left the apple' but not both. It is highly unlikely that Brian is a lion. It is certain that Lily is a frog. It is probably not the case that Bernhard is a lion.,There is almost no chance 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.05::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.5411082216443288,train,certain,almost no chance,It is certain that 'Lily is a frog' or 'Brian is a lion' or both.,There is almost no chance that 'Lily is a frog' or 'Brian is a lion' or both.,0,'Lily is a frog' or 'Brian is a lion' or both. It is likely that Bernhard is white. It is probably not the case that Mary went to the kitchen. We doubt that Jessica is a cat.,Chances are slight that 'Jessica is a cat 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.25::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.2928585717143429,train,chances are slight,probable,Chances are slight that 'Jessica is a cat and Bernhard is white'.,It is probable that 'Jessica is a cat and Bernhard is white'.,1,'Jessica is a cat and Bernhard is white'. It is probable that Sandra is in the kitchen. There is a very good chance that Bernhard is green. It is likely that John put down the apple.,There is little chance that 'Bernhard is green 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.7::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.10922184436887378,train,better than even,little chance,There is a better than even chance that 'Bernhard is green and Sandra is in the kitchen'.,There is little chance that 'Bernhard is green and Sandra is in the kitchen'.,0,'Bernhard is green and Sandra is in the kitchen'. It is unlikely that Mary left the football. It is improbable that Julius is yellow. We believe that Bernhard is a rhino.,Chances are slight that 'Bernhard is a rhino 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.1::factB. 0.75::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07500000000000002,0.39447889577915585,train,chances are slight,highly likely,Chances are slight that 'Bernhard is a rhino and Julius is yellow'.,It is highly likely that 'Bernhard is a rhino and Julius is yellow'.,1,'Bernhard is a rhino and Julius is yellow'. We doubt that John dropped the milk. Chances are slight that Mary got the football. It is unlikely that Lily is a frog.,It is probably not the case that either 'John dropped the milk' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.33706741348269653,train,probably not,certain,It is probably not the case that either 'John dropped the milk' or 'Mary got the football' but not both.,It is certain that either 'John dropped the milk' or 'Mary got the football' but not both.,1,Either 'John dropped the milk' or 'Mary got the football' but not both. It is probably not the case that John got the milk. Chances are about even that Daniel dropped the apple. It is improbable that Fred is in the office.,It is probably the case that either 'John got the milk' 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.25::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.5273054610922184,train,probably not,probably,It is probably not the case that either 'John got the milk' or 'Fred is in the office' but not both.,It is probably the case that either 'John got the milk' or 'Fred is in the office' but not both.,0,Either 'John got the milk' or 'Fred is in the office' but not both. Chances are slight that Bernhard is white. We doubt that Greg is white. It is highly likely that Mary dropped the milk.,It is impossible that 'Bernhard is white' 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.2::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.91,0.36867373474694937,train,highly likely,impossible,It is highly likely that 'Bernhard is white' or 'Mary dropped the milk' or both.,It is impossible that 'Bernhard is white' or 'Mary dropped the milk' or both.,0,'Bernhard is white' or 'Mary dropped the milk' or both. Chances are about even that Mary got the milk. There is little chance that John grabbed the apple. It is unlikely that Lily is a rhino.,There is a better than even chance that 'John grabbed the apple' 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.5::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.582116423284657,train,better than even,improbable,There is a better than even chance that 'John grabbed the apple' or 'Mary got the milk' or both.,It is improbable that 'John grabbed the apple' or 'Mary got the milk' or both.,1,'John grabbed the apple' or 'Mary got the milk' or both. It is almost certain that Greg is a swan. It is probably the case that Lily is gray. There is almost no chance that Julius is yellow.,It is probably not the case that either 'Greg 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.7::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.18343668733746749,train,probably not,probable,It is probably not the case that either 'Greg is a swan' or 'Lily is gray' but not both.,It is probable that either 'Greg is a swan' or 'Lily is gray' but not both.,1,Either 'Greg is a swan' or 'Lily is gray' but not both. There is almost no chance that Bill went to the garden. There is little chance that Emily is a wolf. It is almost certain that Gertrude is a sheep.,Chances are slight that 'Bill went to the garden' 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.02::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.11800000000000002,0.09421884376875375,train,chances are slight,we believe,Chances are slight that 'Bill went to the garden' or 'Emily is a wolf' or both.,We believe that 'Bill went to the garden' or 'Emily is a wolf' or both.,1,'Bill went to the garden' or 'Emily is a wolf' or both. It is highly unlikely that John put down the milk. There is a better than even chance that Bernhard is a frog. Chances are slight that Lily is yellow.,Chances are about even that 'Bernhard is a frog and John put down the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.029999999999999995,0.27845569113822766,train,almost no chance,about even,There is almost no chance that 'Bernhard is a frog and John put down the milk'.,Chances are about even that 'Bernhard is a frog and John put down the milk'.,0,'Bernhard is a frog and John put down the milk'. Chances are slight that Sandra dropped the milk. It is probable that Julius is yellow. It is highly unlikely that Lily is green.,It is likely that 'Lily is green 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.7::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.5031006201240248,train,impossible,likely,It is impossible that 'Lily is green and Sandra dropped the milk'.,It is likely that 'Lily is green and Sandra dropped the milk'.,0,'Lily is green and Sandra dropped the milk'. Chances are about even that Bill went to the garden. There is almost no chance that Bernhard is a swan. There is a very good chance that Greg is white.,It is highly unlikely that either 'Greg is white' or 'Bill went to the garden' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.750750150030006,train,about even,highly unlikely,Chances are about even that either 'Greg is white' or 'Bill went to the garden' but not both.,It is highly unlikely that either 'Greg is white' or 'Bill went to the garden' but not both.,0,Either 'Greg is white' or 'Bill went to the garden' but not both. It is almost certain that John moved to the office. It is highly unlikely that Emily is a wolf. It is highly likely that Winona is a sheep.,It is impossible that 'John moved to the office' 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.95::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.995,0.12262452490498099,train,certain,impossible,It is certain that 'John moved to the office' or 'Winona is a sheep' or both.,It is impossible that 'John moved to the office' or 'Winona is a sheep' or both.,0,'John moved to the office' or 'Winona is a sheep' or both. It is unlikely that Daniel took the milk. It is improbable that Mary went to the garden. There is almost no chance that Fred is in the cinema.,It is certain that 'Fred is in the cinema 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.1::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0020000000000000005,0.36287257451490296,train,impossible,certain,It is impossible that 'Fred is in the cinema and Mary went to the garden'.,It is certain that 'Fred is in the cinema and Mary went to the garden'.,0,'Fred is in the cinema and Mary went to the garden'. It is probably the case that Greg is a rhino. It is almost certain that Julius is gray. It is probably not the case that Brian is a frog.,It is probable 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.7::factA. 0.95::factB. 0.25::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.175,0.11642328465693139,train,unlikely,probable,It is unlikely that 'Greg is a rhino and Brian is a frog'.,It is probable that 'Greg is a rhino and Brian is a frog'.,0,'Greg is a rhino and Brian is a frog'. Chances are slight that Brian is white. There is a better than even chance that Mary went to the bedroom. There is almost no chance that Lily is a frog.,There is a better than even chance that 'Lily 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.1::factA. 0.6::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0020000000000000005,0.28185637127425484,train,impossible,better than even,It is impossible that 'Lily is a frog and Brian is white'.,There is a better than even chance that 'Lily is a frog and Brian is white'.,0,'Lily is a frog and Brian is white'. There is a better than even chance that Mary dropped the apple. It is probably not the case that Greg is a rhino. Chances are slight that Jessica is a cat.,It is probably the case that 'Mary 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.6::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.6709341868373675,train,probably,probably not,It is probably the case that 'Mary dropped the apple' or 'Greg is a rhino' or both.,It is probably not the case that 'Mary dropped the apple' or 'Greg is a rhino' or both.,1,'Mary dropped the apple' or 'Greg is a rhino' or both. It is probable that Brian is white. There is little chance that Emily is a wolf. Chances are about even that Lily is yellow.,It is probably not the case that 'Brian is white 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.7::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.3499999999999999,0.780756151230246,train,probably not,probably,It is probably not the case that 'Brian is white and Lily is yellow'.,It is probably the case that 'Brian is white and Lily is yellow'.,1,'Brian is white and Lily is yellow'. It is highly likely that Bernhard is green. It is impossible that Fred is in the cinema. It is highly likely that Jessica is a cat.,It is impossible that 'Bernhard is green' 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.9::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.0026005201040208044,train,highly likely,impossible,It is highly likely that 'Bernhard is green' or 'Fred is in the cinema' or both.,It is impossible that 'Bernhard is green' or 'Fred is in the cinema' or both.,0,'Bernhard is green' or 'Fred is in the cinema' or both. It is probable that Mary went to the bedroom. Chances are slight that John got the football. It is probably not the case that Brian is white.,It is highly unlikely that either 'John 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.7::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.17183436687337467,train,probable,highly unlikely,It is probable that either 'John got the football' or 'Mary went to the bedroom' but not both.,It is highly unlikely that either 'John got the football' or 'Mary went to the bedroom' but not both.,0,Either 'John got the football' or 'Mary went to the bedroom' but not both. There is a very good chance that Daniel dropped the apple. It is unlikely that Bernhard is a swan. We believe that John moved to the office.,There is a better than even chance that 'Daniel dropped the apple 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.8::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.6000000000000001,0.4498899779955991,train,better than even,little chance,There is a better than even chance that 'Daniel dropped the apple and John moved to the office'.,There is little chance that 'Daniel dropped the apple and John moved to the office'.,1,'Daniel dropped the apple and John moved to the office'. Chances are about even that Lily is yellow. It is certain that John left the football. It is highly unlikely that Brian is green.,There is a better than even chance that 'Lily is yellow 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. 1.0::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025,0.5557111422284456,train,almost no chance,better than even,There is almost no chance that 'Lily is yellow and Brian is green'.,There is a better than even chance that 'Lily is yellow and Brian is green'.,0,'Lily is yellow and Brian is green'. Chances are slight that Brian is a swan. There is a very good chance that Mary grabbed the milk. There is a better than even chance that Bernhard is white.,It is probably not the case that 'Mary grabbed 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.1::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8200000000000001,0.48569713942788556,train,very good chance,probably not,There is a very good chance that 'Mary grabbed the milk' or 'Brian is a swan' or both.,It is probably not the case that 'Mary grabbed the milk' or 'Brian is a swan' or both.,0,'Mary grabbed the milk' or 'Brian is a swan' or both. It is probably the case that John dropped the milk. It is likely that Mary went to the kitchen. It is improbable that Emily is a mouse.,We believe that 'John dropped the milk' 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.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.10102020404080816,train,we believe,chances are slight,We believe that 'John dropped the milk' or 'Emily is a mouse' or both.,Chances are slight that 'John dropped the milk' or 'Emily is a mouse' or both.,1,'John dropped the milk' or 'Emily is a mouse' or both. Chances are slight that Jeff went to the bedroom. It is likely that Lily is green. It is improbable that Emily is a wolf.,It is likely that either 'Lily 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.06461292258451691,train,likely,little chance,It is likely that either 'Lily is green' or 'Emily is a wolf' but not both.,There is little chance that either 'Lily is green' or 'Emily is a wolf' but not both.,1,Either 'Lily is green' or 'Emily is a wolf' but not both. It is highly unlikely that John moved to the garden. It is probably the case that Sandra left the football. It is probable that Mary grabbed the milk.,It is almost certain that 'John moved to the garden 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.05::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.035,0.0054010802160432084,train,highly unlikely,almost certain,It is highly unlikely that 'John moved to the garden and Sandra left the football'.,It is almost certain that 'John moved to the garden and Sandra left the football'.,0,'John moved to the garden and Sandra left the football'. It is probably the case that Greg is white. It is probably not the case that Mary put down the apple. It is highly likely that Gertrude is a wolf.,It is probably not the case that 'Mary put down 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.25::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.225,0.3692738547709542,train,probably not,highly likely,It is probably not the case that 'Mary put down the apple and Gertrude is a wolf'.,It is highly likely that 'Mary put down the apple and Gertrude is a wolf'.,1,'Mary put down the apple and Gertrude is a wolf'. It is probably not the case that Brian is white. There is almost no chance that Fred left the football. It is highly unlikely that Greg is green.,It is impossible 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.25::factA. 0.02::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.005000000000000002,0.4186837367473495,train,impossible,highly likely,It is impossible that 'Fred left the football and Brian is white'.,It is highly likely that 'Fred left the football and Brian is white'.,1,'Fred left the football and Brian is white'. Chances are about even that Julius is a swan. It is probably not the case that Emily is a wolf. It is highly likely that John moved to the office.,It is unlikely that 'John moved to the office and Emily is a wolf'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.225,0.2416483296659332,train,unlikely,highly likely,It is unlikely that 'John moved to the office and Emily is a wolf'.,It is highly likely that 'John moved to the office and Emily is a wolf'.,1,'John moved to the office and Emily is a wolf'. Chances are about even that Bernhard is a swan. There is almost no chance that Bill went to the garden. It is impossible that Brian is yellow.,Chances are about even that either 'Bernhard 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.5::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.6515303060612122,train,about even,certain,Chances are about even that either 'Bernhard is a swan' or 'Brian is yellow' but not both.,It is certain that either 'Bernhard is a swan' or 'Brian is yellow' but not both.,1,Either 'Bernhard is a swan' or 'Brian is yellow' but not both. We doubt that Greg is a frog. We believe that Jeff went to the bedroom. It is probably the case that Bernhard is a lion.,It is improbable that 'Bernhard is a lion' 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.75::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7599999999999999,0.14962992598519703,train,we believe,improbable,We believe that 'Bernhard is a lion' or 'Greg is a frog' or both.,It is improbable that 'Bernhard is a lion' or 'Greg is a frog' or both.,0,'Bernhard is a lion' or 'Greg is a frog' or both. It is probable that Gertrude is a mouse. There is a better than even chance that Julius is white. Chances are about even that Brian is a frog.,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.6::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.18243648729745948,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. It is likely that Julius is yellow. There is a very good chance that Bernhard is a frog. We believe that Mary left the milk.,There is a better than even chance that 'Bernhard 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.7::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.7529505901180236,train,better than even,improbable,There is a better than even chance that 'Bernhard is a frog and Julius is yellow'.,It is improbable that 'Bernhard is a frog and Julius is yellow'.,1,'Bernhard is a frog and Julius is yellow'. It is certain that Greg is a frog. It is likely that Bernhard is a swan. There is a very good chance that Bill moved to the office.,It is unlikely that 'Bill moved to the office' 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 1.0::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.762752550510102,train,certain,unlikely,It is certain that 'Bill moved to the office' or 'Greg is a frog' or both.,It is unlikely that 'Bill moved to the office' or 'Greg is a frog' or both.,0,'Bill moved to the office' or 'Greg is a frog' or both. It is unlikely that Lily is a swan. Chances are slight that Sandra got the football. It is highly likely that John discarded the milk.,It is impossible that either 'Lily is a swan' 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.2::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.5957191438287658,train,we believe,impossible,We believe that either 'Lily is a swan' or 'John discarded the milk' but not both.,It is impossible that either 'Lily is a swan' or 'John discarded the milk' but not both.,0,Either 'Lily is a swan' or 'John discarded the milk' but not both. It is unlikely that Gertrude is a cat. Chances are about even that Bill went to the garden. There is almost no chance that Sandra left the milk.,Chances are about even that 'Sandra left the milk' 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.5::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.51,0.5331066213242649,train,about even,almost no chance,Chances are about even that 'Sandra left the milk' or 'Bill went to the garden' or both.,There is almost no chance that 'Sandra left the milk' or 'Bill went to the garden' or both.,1,'Sandra left the milk' or 'Bill went to the garden' or both. There is almost no chance that Bernhard is a rhino. There is almost no chance that Greg is a swan. It is probable that Brian is green.,It is probable that either 'Brian is green' 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.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.6511302260452091,train,probable,highly unlikely,It is probable that either 'Brian is green' or 'Bernhard is a rhino' but not both.,It is highly unlikely that either 'Brian is green' or 'Bernhard is a rhino' but not both.,1,Either 'Brian is green' or 'Bernhard is a rhino' but not both. There is almost no chance that Lily is a lion. There is a better than even chance that Julius is a frog. It is probably the case that Sandra left the football.,There is a better than even chance that 'Julius is a frog' 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.02::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.608,0.2528505701140228,train,better than even,improbable,There is a better than even chance that 'Julius is a frog' or 'Lily is a lion' or both.,It is improbable that 'Julius is a frog' or 'Lily is a lion' or both.,1,'Julius is a frog' or 'Lily is a lion' or both. There is little chance that Fred went to the garden. It is highly likely that Julius is a lion. There is a better than even chance that Mary dropped the apple.,There is little chance that 'Julius is a lion 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.1::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09000000000000001,0.5437087417483497,train,little chance,very good chance,There is little chance that 'Julius is a lion and Fred went to the garden'.,There is a very good chance that 'Julius is a lion and Fred went to the garden'.,1,'Julius is a lion and Fred went to the garden'. There is almost no chance that Mary went to the office. Chances are slight that Lily is a rhino. We doubt that Sandra left the milk.,It is probably not the case that either 'Lily is a rhino' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.07241448289657931,train,probably not,probable,It is probably not the case that either 'Lily is a rhino' or 'Sandra left the milk' but not both.,It is probable that either 'Lily is a rhino' or 'Sandra left the milk' but not both.,1,Either 'Lily is a rhino' or 'Sandra left the milk' but not both. It is highly likely that John moved to the office. Chances are about even that Jessica is a cat. It is probably the case that Mary picked up the milk.,We doubt that 'John moved to the office' 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.9::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.95,0.7949589917983597,train,almost certain,we doubt,It is almost certain that 'John moved to the office' or 'Jessica is a cat' or both.,We doubt that 'John moved to the office' or 'Jessica is a cat' or both.,0,'John moved to the office' or 'Jessica is a cat' or both. It is unlikely that Mary is in the hallway. It is unlikely that Jeff discarded the milk. There is little chance that Lily is white.,It is probably not the case that either 'Mary is in 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.2::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.09621924384876976,train,probably not,likely,It is probably not the case that either 'Mary is in the hallway' or 'Lily is white' but not both.,It is likely that either 'Mary is in the hallway' or 'Lily is white' but not both.,1,Either 'Mary is in the hallway' or 'Lily is white' but not both. We believe that Gertrude is a cat. It is almost certain that John took the apple. It is likely that Yann is hungry.,It is probably not the case that either 'Yann is hungry' 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. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.38687737547509504,train,probably not,very good chance,It is probably not the case that either 'Yann is hungry' or 'John took the apple' but not both.,There is a very good chance that either 'Yann is hungry' or 'John took the apple' but not both.,1,Either 'Yann is hungry' or 'John took the apple' but not both. It is likely that Julius is a lion. It is unlikely that Bernhard is white. It is unlikely that John got the milk.,It is highly unlikely that 'John got 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.7::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.04000000000000001,0.5867173434686938,train,highly unlikely,probably,It is highly unlikely that 'John got the milk and Bernhard is white'.,It is probably the case that 'John got the milk and Bernhard is white'.,1,'John got the milk and Bernhard is white'. It is likely that John went to the kitchen. We doubt that Mary left the apple. Chances are slight that Greg is a rhino.,There is almost no chance that 'Greg is a rhino 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.7::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.6833366673334667,train,almost no chance,certain,There is almost no chance that 'Greg is a rhino and Mary left the apple'.,It is certain that 'Greg is a rhino and Mary left the apple'.,1,'Greg is a rhino and Mary left the apple'. It is highly unlikely that Brian is white. We doubt that John moved to the office. It is probable that Greg is gray.,Chances are slight that 'Brian is white' 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.05::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.715,0.08061612322464493,train,probable,chances are slight,It is probable that 'Brian is white' or 'Greg is gray' or both.,Chances are slight that 'Brian is white' or 'Greg is gray' or both.,0,'Brian is white' or 'Greg is gray' or both. It is likely that Mary got the milk. We doubt that Bernhard is green. It is unlikely that Brian is a rhino.,There is a very good chance that 'Mary got 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.7::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.5967193438687738,train,little chance,very good chance,There is little chance that 'Mary got the milk and Bernhard is green'.,There is a very good chance that 'Mary got the milk and Bernhard is green'.,0,'Mary got the milk and Bernhard is green'. It is probably the case that Greg is gray. It is highly likely that Lily is a lion. We doubt that John went to the bedroom.,There is little chance that 'John 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.7::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.34286857371474294,train,little chance,likely,There is little chance that 'John went to the bedroom and Greg is gray'.,It is likely that 'John went to the bedroom and Greg is gray'.,1,'John went to the bedroom and Greg is gray'. There is almost no chance that Brian is green. We doubt that John put down the milk. We doubt that Jeff left the football.,It is probable that either 'John put down the milk' 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.02::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.28085617123424683,train,probably not,probable,It is probably not the case that either 'John put down the milk' or 'Jeff left the football' but not both.,It is probable that either 'John put down the milk' or 'Jeff left the football' but not both.,0,Either 'John put down the milk' or 'Jeff left the football' but not both. There is little chance that Lily is green. Chances are slight that Jeff went to the garden. It is impossible that Sandra got the milk.,It is almost certain that 'Lily is green' 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.1::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.19000000000000006,0.41228245649129824,train,unlikely,almost certain,It is unlikely that 'Lily is green' or 'Jeff went to the garden' or both.,It is almost certain that 'Lily is green' or 'Jeff went to the garden' or both.,0,'Lily is green' or 'Jeff went to the garden' or both. It is almost certain that Mary discarded the milk. Chances are about even that Brian is yellow. It is probably not the case that John took the football.,It is highly unlikely that either 'John took the football' 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.95::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.725,0.2464492898579716,train,we believe,highly unlikely,We believe that either 'John took the football' or 'Mary discarded the milk' but not both.,It is highly unlikely that either 'John took the football' or 'Mary discarded the milk' but not both.,0,Either 'John took the football' or 'Mary discarded the milk' but not both. It is highly unlikely that Greg is a frog. It is almost certain that Sandra took the milk. It is unlikely that Lily is gray.,It is highly likely that either 'Greg 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.05::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9049999999999999,0.07741548309661933,train,highly likely,probably not,It is highly likely that either 'Greg is a frog' or 'Sandra took the milk' but not both.,It is probably not the case that either 'Greg is a frog' or 'Sandra took the milk' but not both.,1,Either 'Greg is a frog' or 'Sandra took the milk' but not both. It is certain that Jeff left the apple. We believe that Greg is yellow. There is a very good chance that Bill went to the kitchen.,We doubt that either 'Bill went to the kitchen' or 'Jeff left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.19999999999999998,0.35347069413882776,train,we doubt,probably,We doubt that either 'Bill went to the kitchen' or 'Jeff left the apple' but not both.,It is probably the case that either 'Bill went to the kitchen' or 'Jeff left the apple' but not both.,1,Either 'Bill went to the kitchen' or 'Jeff left the apple' but not both. It is almost certain that Daniel dropped the apple. It is highly likely that Lily is yellow. There is almost no chance that Brian is white.,It is almost certain that 'Brian is white' or 'Daniel dropped the apple' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.9::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.951,0.07021404280856171,train,almost certain,highly unlikely,It is almost certain that 'Brian is white' or 'Daniel dropped the apple' or both.,It is highly unlikely that 'Brian is white' or 'Daniel dropped the apple' or both.,1,'Brian is white' or 'Daniel dropped the apple' or both. We doubt that Fred moved to the office. There is little chance that Julius is a lion. It is improbable that Greg is gray.,It is likely that 'Greg is gray' or 'Fred moved to the office' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.2494498899779956,train,probably not,likely,It is probably not the case that 'Greg is gray' or 'Fred moved to the office' or both.,It is likely that 'Greg is gray' or 'Fred moved to the office' or both.,0,'Greg is gray' or 'Fred moved to the office' or both. It is probable that Emily is a mouse. It is probable that John dropped the milk. It is improbable that Bernhard is a frog.,We believe that 'Emily is a mouse' 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. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.247249449889978,train,we believe,chances are slight,We believe that 'Emily is a mouse' or 'Bernhard is a frog' or both.,Chances are slight that 'Emily is a mouse' or 'Bernhard is a frog' or both.,1,'Emily is a mouse' or 'Bernhard is a frog' or both. It is improbable that Lily is a lion. It is almost certain that Greg is a swan. We believe that Julius is gray.,There is almost no chance that either 'Lily is a lion' 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.75::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.86,0.5893178635727145,train,highly likely,almost no chance,It is highly likely that either 'Lily is a lion' or 'Greg is a swan' but not both.,There is almost no chance that either 'Lily is a lion' or 'Greg is a swan' but not both.,0,Either 'Lily is a lion' or 'Greg is a swan' but not both. It is unlikely that Brian is gray. We believe that Gertrude is a mouse. It is highly unlikely that Bernhard is a swan.,It is likely that either 'Brian is gray' 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.75::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.65,0.011202240448089618,train,likely,improbable,It is likely that either 'Brian is gray' or 'Gertrude is a mouse' but not both.,It is improbable that either 'Brian is gray' or 'Gertrude is a mouse' but not both.,1,Either 'Brian is gray' or 'Gertrude is a mouse' but not both. It is likely that Mary moved to the garden. There is a very good chance that Lily is green. It is certain that Daniel left the apple.,It is improbable that 'Mary moved to the garden 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.7::factA. 0.8::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.45349069813962795,train,likely,improbable,It is likely that 'Mary moved to the garden and Daniel left the apple'.,It is improbable that 'Mary moved to the garden and Daniel left the apple'.,0,'Mary moved to the garden and Daniel left the apple'. It is impossible that John went to the office. It is likely that Lily is a lion. It is unlikely that Jessica is a mouse.,It is unlikely that 'Lily is a lion' 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.7::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7,0.19943988797759551,train,likely,unlikely,It is likely that 'Lily is a lion' or 'John went to the office' or both.,It is unlikely that 'Lily is a lion' or 'John went to the office' or both.,0,'Lily is a lion' or 'John went to the office' or both. It is almost certain that John put down the apple. It is almost certain that Julius is a rhino. It is unlikely that Bernhard is a swan.,It is almost certain that 'Julius is a rhino and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.45829165833166635,train,we doubt,almost certain,We doubt that 'Julius is a rhino and Bernhard is a swan'.,It is almost certain that 'Julius is a rhino and Bernhard is a swan'.,0,'Julius is a rhino and Bernhard is a swan'. It is certain that Mary went to the garden. It is certain that John grabbed the apple. There is little chance that Sumit is hungry.,It is certain that 'John grabbed the apple' 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 1.0::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.5505101020204041,train,certain,about even,It is certain that 'John grabbed the apple' or 'Sumit is hungry' or both.,Chances are about even that 'John grabbed the apple' or 'Sumit is hungry' or both.,1,'John grabbed the apple' or 'Sumit is hungry' or both. It is highly likely that Sandra left the milk. We doubt that Lily is gray. It is probably the case that Mary went to the bedroom.,We doubt that either 'Lily is gray' 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.9::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.2498499699939988,train,we believe,we doubt,We believe that either 'Lily is gray' or 'Sandra left the milk' but not both.,We doubt that either 'Lily is gray' or 'Sandra left the milk' but not both.,0,Either 'Lily is gray' or 'Sandra left the milk' but not both. There is a better than even chance that Mary went to the garden. It is highly likely that Daniel took the milk. There is a better than even chance that Greg is white.,It is almost certain that 'Greg 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.6::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.96,0.40028005601120226,train,almost certain,highly unlikely,It is almost certain that 'Greg is white' or 'Daniel took the milk' or both.,It is highly unlikely that 'Greg is white' or 'Daniel took the milk' or both.,1,'Greg is white' or 'Daniel took the milk' or both. We doubt that John moved to the office. It is certain that Greg is green. It is certain that Yann is tired.,We doubt that 'John moved to the office 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.2::factA. 1.0::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.45749149829965996,train,we doubt,almost certain,We doubt that 'John moved to the office and Yann is tired'.,It is almost certain that 'John moved to the office and Yann is tired'.,1,'John moved to the office and Yann is tired'. There is almost no chance that Winona is a mouse. It is unlikely that Julius is white. It is almost certain that Bernhard is a swan.,It is unlikely that 'Julius 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.02::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.252250450090018,train,unlikely,likely,It is unlikely that 'Julius is white and Bernhard is a swan'.,It is likely that 'Julius is white and Bernhard is a swan'.,1,'Julius is white and Bernhard is a swan'. It is improbable that Fred dropped the milk. It is unlikely that Brian is a lion. Chances are slight that Mary left the milk.,It is probably not the case that 'Mary left 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.1::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.024204840968193638,train,probably not,almost certain,It is probably not the case that 'Mary left the milk' or 'Brian is a lion' or both.,It is almost certain that 'Mary left the milk' or 'Brian is a lion' or both.,1,'Mary left the milk' or 'Brian is a lion' or both. It is highly unlikely that Brian is a swan. It is unlikely that Mary dropped the milk. Chances are about even that Greg is a rhino.,It is probable that 'Mary dropped 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.05::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.24000000000000005,0.6549309861972394,train,probably not,probable,It is probably not the case that 'Mary dropped the milk' or 'Brian is a swan' or both.,It is probable that 'Mary dropped the milk' or 'Brian is a swan' or both.,0,'Mary dropped the milk' or 'Brian is a swan' or both. It is highly unlikely that Winona is a wolf. We believe that John moved to the garden. There is almost no chance that Lily is green.,There is almost no chance that 'John 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.05::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.014999999999999998,0.4890978195639128,train,almost no chance,better than even,There is almost no chance that 'John moved to the garden and Lily is green'.,There is a better than even chance that 'John moved to the garden and Lily is green'.,1,'John moved to the garden and Lily is green'. We believe that John went to the hallway. It is highly likely that Greg is a rhino. There is a better than even chance that Brian is a frog.,It is highly unlikely 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.75::factA. 0.9::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.23204640928185638,train,almost certain,highly unlikely,It is almost certain that 'Greg is a rhino' or 'Brian is a frog' or both.,It is highly unlikely that 'Greg is a rhino' or 'Brian is a frog' or both.,0,'Greg is a rhino' or 'Brian is a frog' or both. It is almost certain that Brian is a lion. It is highly unlikely that Julius is a frog. It is highly likely that Mary discarded the milk.,It is improbable that 'Mary discarded 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.95::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.855,0.1318263652730546,train,highly likely,improbable,It is highly likely that 'Mary discarded the milk and Brian is a lion'.,It is improbable that 'Mary discarded the milk and Brian is a lion'.,0,'Mary discarded the milk and Brian is a lion'. It is highly likely that John discarded the apple. It is probably not the case that Fred went to the garden. It is probably not the case that Bernhard is yellow.,It is unlikely that either 'John discarded 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.9::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7000000000000001,0.6455291058211642,train,probable,unlikely,It is probable that either 'John discarded the apple' or 'Fred went to the garden' but not both.,It is unlikely that either 'John discarded the apple' or 'Fred went to the garden' but not both.,0,Either 'John discarded the apple' or 'Fred went to the garden' but not both. We doubt that Mary dropped the milk. Chances are about even that Bernhard is gray. It is probable that Lily is a rhino.,We believe that 'Mary dropped 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 0.2::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.76,0.2996599319863973,train,we believe,improbable,We believe that 'Mary dropped the milk' or 'Lily is a rhino' or both.,It is improbable that 'Mary dropped the milk' or 'Lily is a rhino' or both.,1,'Mary dropped the milk' or 'Lily is a rhino' or both. We believe that Brian is a frog. It is probably not the case that Mary went to the bedroom. It is almost certain that John put down the apple.,It is probably not the case that either 'John put down 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.75::factA. 0.25::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.275,0.5981196239247849,train,probably not,very good chance,It is probably not the case that either 'John put down the apple' or 'Brian is a frog' but not both.,There is a very good chance that either 'John put down the apple' or 'Brian is a frog' but not both.,1,Either 'John put down the apple' or 'Brian is a frog' but not both. It is improbable that Julius is a frog. It is probable that Greg is yellow. It is probably not the case that Brian is a rhino.,We believe that 'Julius 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.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.6993398679735947,train,we believe,improbable,We believe that 'Julius is a frog' or 'Greg is yellow' or both.,It is improbable that 'Julius is a frog' or 'Greg is yellow' or both.,1,'Julius is a frog' or 'Greg is yellow' or both. Chances are slight that Greg is yellow. It is almost certain that Mary got the milk. We believe that Brian is green.,There is a very good chance that either 'Mary got 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.95::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.275,0.22004400880176037,train,probably not,very good chance,It is probably not the case that either 'Mary got the milk' or 'Brian is green' but not both.,There is a very good chance that either 'Mary got the milk' or 'Brian is green' but not both.,0,Either 'Mary got the milk' or 'Brian is green' but not both. It is impossible that Sandra dropped the milk. It is improbable that Mary went to the kitchen. It is probable that John moved to the garden.,It is likely that 'Sandra 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.0::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7,0.10582116423284657,train,likely,we doubt,It is likely that 'Sandra dropped the milk' or 'John moved to the garden' or both.,We doubt that 'Sandra dropped the milk' or 'John moved to the garden' or both.,1,'Sandra dropped the milk' or 'John moved to the garden' or both. There is a very good chance that John put down the apple. It is certain that Daniel took the milk. Chances are about even that Greg is a frog.,It is highly unlikely that either 'Daniel took 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.8::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.07881576315263053,train,about even,highly unlikely,Chances are about even that either 'Daniel took the milk' or 'Greg is a frog' but not both.,It is highly unlikely that either 'Daniel took the milk' or 'Greg is a frog' but not both.,0,Either 'Daniel took the milk' or 'Greg is a frog' but not both. There is a better than even chance that Julius is green. It is probably not the case that Brian is a swan. We doubt that Mary left the apple.,There is a better than even chance that either 'Mary left 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.6::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5599999999999999,0.04480896179235847,train,better than even,almost no chance,There is a better than even chance that either 'Mary left the apple' or 'Julius is green' but not both.,There is almost no chance that either 'Mary left the apple' or 'Julius is green' but not both.,1,Either 'Mary left the apple' or 'Julius is green' but not both. It is unlikely that Lily is a swan. We doubt that John left the milk. It is probably the case that Brian is a rhino.,Chances are slight that 'Brian is a rhino 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.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.5589117823564713,train,chances are slight,certain,Chances are slight that 'Brian is a rhino and Lily is a swan'.,It is certain that 'Brian is a rhino and Lily is a swan'.,1,'Brian is a rhino and Lily is a swan'. It is highly unlikely that Daniel left the milk. It is probably the case that Lily is a swan. We believe that Emily is a mouse.,We believe that 'Daniel left the milk' 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.7::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7625,0.14022804560912183,train,we believe,we doubt,We believe that 'Daniel left the milk' or 'Emily is a mouse' or both.,We doubt that 'Daniel left the milk' or 'Emily is a mouse' or both.,1,'Daniel left the milk' or 'Emily is a mouse' or both. There is little chance that Brian is green. Chances are about even that Mary went to the hallway. There is almost no chance that Greg is gray.,It is almost certain that 'Brian is green' 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.5::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.11800000000000002,0.09441888377675535,train,little chance,almost certain,There is little chance that 'Brian is green' or 'Greg is gray' or both.,It is almost certain that 'Brian is green' or 'Greg is gray' or both.,0,'Brian is green' or 'Greg is gray' or both. It is impossible that Greg is a rhino. There is almost no chance that Daniel took the apple. It is impossible that Bernhard is yellow.,It is highly likely that either 'Bernhard is yellow' 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.02::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.02,0.7201440288057611,train,almost no chance,highly likely,There is almost no chance that either 'Bernhard is yellow' or 'Daniel took the apple' but not both.,It is highly likely that either 'Bernhard is yellow' or 'Daniel took the apple' but not both.,0,Either 'Bernhard is yellow' or 'Daniel took the apple' but not both. Chances are slight that Bernhard is yellow. It is improbable that Julius is white. It is highly unlikely that John got the milk.,There is a better than even chance that either 'John 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.1::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.7445489097819564,train,little chance,better than even,There is little chance that either 'John got the milk' or 'Julius is white' but not both.,There is a better than even chance that either 'John got the milk' or 'Julius is white' but not both.,0,Either 'John got the milk' or 'Julius is white' but not both. We believe that Bill got the milk there. It is unlikely that Jessica is a cat. It is unlikely that Winona is a wolf.,There is a very good chance that 'Jessica is a cat' 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.75::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.8,0.5119023804760953,train,very good chance,almost no chance,There is a very good chance that 'Jessica is a cat' or 'Bill got the milk there' or both.,There is almost no chance that 'Jessica is a cat' or 'Bill got the milk there' or both.,1,'Jessica is a cat' or 'Bill got the milk there' or both. It is impossible that Brian is a frog. It is likely that John went to the bedroom. It is certain that Sandra dropped the milk.,It is probable that 'Brian 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.0::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7,0.3850770154030806,train,probable,unlikely,It is probable that 'Brian is a frog' or 'John went to the bedroom' or both.,It is unlikely that 'Brian is a frog' or 'John went to the bedroom' or both.,1,'Brian is a frog' or 'John went to the bedroom' or both. It is impossible that Bernhard is a frog. It is certain that Mary dropped the milk. There is a better than even chance that Brian is yellow.,There is a better than even chance that 'Brian is yellow' or 'Bernhard is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6,0.4432886577315463,train,better than even,impossible,There is a better than even chance that 'Brian is yellow' or 'Bernhard is a frog' or both.,It is impossible that 'Brian is yellow' or 'Bernhard is a frog' or both.,1,'Brian is yellow' or 'Bernhard is a frog' or both. Chances are slight that Gertrude is a cat. It is improbable that Greg is yellow. It is unlikely that Jessica is a sheep.,We doubt that either 'Gertrude is a cat' 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.1::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.18000000000000005,0.7535507101420285,train,we doubt,we believe,We doubt that either 'Gertrude is a cat' or 'Greg is yellow' but not both.,We believe that either 'Gertrude is a cat' or 'Greg is yellow' but not both.,1,Either 'Gertrude is a cat' or 'Greg is yellow' but not both. Chances are slight that Winona is a mouse. It is highly likely that Emily is a cat. It is highly unlikely that Julius is a rhino.,It is highly likely that 'Winona is a mouse' 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.1::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.6769353870774155,train,highly likely,highly unlikely,It is highly likely that 'Winona is a mouse' or 'Emily is a cat' or both.,It is highly unlikely that 'Winona is a mouse' or 'Emily is a cat' or both.,1,'Winona is a mouse' or 'Emily is a cat' or both. It is highly likely that Lily is a frog. It is improbable that Sandra took the football. We believe that Gertrude is a cat.,There is almost no chance that either 'Gertrude is a cat' 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.9::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.2456491298259652,train,probable,almost no chance,It is probable that either 'Gertrude is a cat' or 'Sandra took the football' but not both.,There is almost no chance that either 'Gertrude is a cat' or 'Sandra took the football' but not both.,0,Either 'Gertrude is a cat' or 'Sandra took the football' but not both. It is impossible that Jeff went to the bedroom. It is probable that Daniel left the milk. There is a better than even chance that Greg is a frog.,Chances are about even that 'Greg 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.0::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.41999999999999993,0.6203240648129625,train,about even,highly unlikely,Chances are about even that 'Greg is a frog and Daniel left the milk'.,It is highly unlikely that 'Greg is a frog and Daniel left the milk'.,1,'Greg is a frog and Daniel left the milk'. It is certain that John went to the office. We doubt that Lily is a swan. It is probably not the case that Daniel took the apple.,It is probably not the case that either 'Daniel took 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 1.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.7741548309661932,train,probably not,probable,It is probably not the case that either 'Daniel took the apple' or 'Lily is a swan' but not both.,It is probable that either 'Daniel took the apple' or 'Lily is a swan' but not both.,1,Either 'Daniel took the apple' or 'Lily is a swan' but not both. It is improbable that Julius is a swan. We doubt that John grabbed the apple. There is a very good chance that Jeff moved to the garden.,There is a very good chance that 'John grabbed the apple' 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.2::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.6723344668933787,train,very good chance,we doubt,There is a very good chance that 'John grabbed the apple' or 'Jeff moved to the garden' or both.,We doubt that 'John grabbed the apple' or 'Jeff moved to the garden' or both.,1,'John grabbed the apple' or 'Jeff moved to the garden' or both. It is highly unlikely that Julius is a swan. We doubt that Mary is in the hallway. It is probable that Sumit is thirsty.,We believe that 'Mary is in the hallway' or 'Sumit is thirsty' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.76,0.4260852170434087,train,we believe,little chance,We believe that 'Mary is in the hallway' or 'Sumit is thirsty' or both.,There is little chance that 'Mary is in the hallway' or 'Sumit is thirsty' or both.,1,'Mary is in the hallway' or 'Sumit is thirsty' or both. It is probably the case that Julius is a swan. We believe that Bernhard is white. It is probably not the case that John discarded the apple.,It is highly unlikely that either 'Julius is a swan' 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.75::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.2368473694738948,train,about even,highly unlikely,Chances are about even that either 'Julius is a swan' or 'Bernhard is white' but not both.,It is highly unlikely that either 'Julius is a swan' or 'Bernhard is white' but not both.,0,Either 'Julius is a swan' or 'Bernhard is white' but not both. We believe that Jessica is a mouse. It is unlikely that Lily is a swan. There is a very good chance that Gertrude is a sheep.,It is unlikely that 'Lily 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.75::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.16000000000000003,0.3672734546909382,train,unlikely,highly likely,It is unlikely that 'Lily is a swan and Gertrude is a sheep'.,It is highly likely that 'Lily is a swan and Gertrude is a sheep'.,1,'Lily is a swan and Gertrude is a sheep'. It is almost certain that Brian is a frog. There is little chance that Bernhard is a rhino. It is unlikely that Lily is a lion.,It is probably not the case 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.95::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.6095219043808762,train,probably not,highly likely,It is probably not the case that either 'Lily is a lion' or 'Bernhard is a rhino' but not both.,It is highly likely that either 'Lily is a lion' or 'Bernhard is a rhino' but not both.,1,Either 'Lily is a lion' or 'Bernhard is a rhino' but not both. Chances are slight that Bernhard is a swan. It is likely that Greg is a rhino. It is probably not the case that Emily is a wolf.,We believe 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.1::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.5131026205241048,train,we believe,impossible,We believe that 'Emily is a wolf' or 'Greg is a rhino' or both.,It is impossible 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 impossible that Mary went to the hallway. It is likely that Lily is a swan. It is highly likely that John discarded the apple.,It is highly likely that 'John discarded 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.0::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9,0.09261852370474095,train,highly likely,probably not,It is highly likely that 'John discarded the apple' or 'Mary went to the hallway' or both.,It is probably not the case that 'John discarded the apple' or 'Mary went to the hallway' or both.,1,'John discarded the apple' or 'Mary went to the hallway' or both. It is almost certain that John went to the hallway. There is a better than even chance that Julius is white. There is a very good chance that Sandra took the milk.,Chances are about even that 'Sandra took 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.95::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48,0.3194638927785557,train,about even,almost certain,Chances are about even that 'Sandra took the milk and Julius is white'.,It is almost certain that 'Sandra took the milk and Julius is white'.,1,'Sandra took the milk and Julius is white'. We doubt that Mary moved to the garden. There is almost no chance that Sandra is in the kitchen. It is almost certain that Jeff dropped the apple.,We believe that either 'Mary moved to the garden' 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.2::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.77,0.7435487097419484,train,we believe,impossible,We believe that either 'Mary moved to the garden' or 'Jeff dropped the apple' but not both.,It is impossible that either 'Mary moved to the garden' or 'Jeff dropped the apple' but not both.,1,Either 'Mary moved to the garden' or 'Jeff dropped the apple' but not both. It is almost certain that Greg is green. There is a better than even chance that Brian is a swan. It is impossible that Lily is a frog.,There is almost no chance that either 'Greg is green' 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.95::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.41000000000000003,0.5579115823164633,train,about even,almost no chance,Chances are about even that either 'Greg is green' or 'Brian is a swan' but not both.,There is almost no chance that either 'Greg is green' or 'Brian is a swan' but not both.,0,Either 'Greg is green' or 'Brian is a swan' but not both. Chances are slight that John left the football. It is highly unlikely that Greg is a swan. It is probable that Emily is a mouse.,It is highly unlikely that 'Emily is a mouse 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.05::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.035,0.7353470694138827,train,highly unlikely,probable,It is highly unlikely that 'Emily is a mouse and Greg is a swan'.,It is probable that 'Emily is a mouse and Greg is a swan'.,1,'Emily is a mouse and Greg is a swan'. There is little chance that Lily is a swan. We doubt that Bernhard is yellow. It is unlikely that Sandra is in the kitchen.,It is probably not the case 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.1::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.28,0.4330866173234647,train,probably not,certain,It is probably not the case that 'Bernhard is yellow' or 'Lily is a swan' or both.,It is certain that 'Bernhard is yellow' or 'Lily is a swan' or both.,1,'Bernhard is yellow' or 'Lily is a swan' or both. There is a better than even chance that Lily is green. It is impossible that Brian is a rhino. It is likely that Jeff moved to the office.,It is probably the case that either 'Brian is a rhino' 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.6::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.3206641328265653,train,probably,probably not,It is probably the case that either 'Brian is a rhino' or 'Jeff moved to the office' but not both.,It is probably not the case that either 'Brian is a rhino' or 'Jeff moved to the office' but not both.,1,Either 'Brian is a rhino' or 'Jeff moved to the office' but not both. It is probable that John went to the bedroom. It is probably the case that Greg is a swan. It is almost certain that Lily is a frog.,We believe that either 'Lily 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.7::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.10362072414482897,train,probably not,we believe,It is probably not the case that either 'Lily is a frog' or 'John went to the bedroom' but not both.,We believe that either 'Lily is a frog' or 'John went to the bedroom' but not both.,0,Either 'Lily is a frog' or 'John went to the bedroom' but not both. It is certain that Lily is a frog. It is highly likely that Fred put down the apple. It is improbable that Jeff went to the garden.,It is highly likely that either 'Lily 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 1.0::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9,0.7975595119023805,train,highly likely,highly unlikely,It is highly likely that either 'Lily is a frog' or 'Jeff went to the garden' but not both.,It is highly unlikely that either 'Lily is a frog' or 'Jeff went to the garden' but not both.,1,Either 'Lily is a frog' or 'Jeff went to the garden' but not both. It is probable that Mary went to the bedroom. We doubt that Brian is gray. It is impossible that Bernhard is white.,We believe that 'Brian is gray' 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.2::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.14542908581716343,train,we believe,probably not,We believe that 'Brian is gray' or 'Mary went to the bedroom' or both.,It is probably not the case that 'Brian is gray' or 'Mary went to the bedroom' or both.,1,'Brian is gray' or 'Mary went to the bedroom' or both. It is certain that Bernhard is gray. We doubt that Brian is a swan. It is improbable that Bill moved to the office.,It is certain that 'Brian 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 1.0::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.6453290658131626,train,certain,unlikely,It is certain that 'Brian is a swan' or 'Bernhard is gray' or both.,It is unlikely that 'Brian is a swan' or 'Bernhard is gray' or both.,1,'Brian is a swan' or 'Bernhard is gray' or both. It is almost certain that Sandra took the milk. We believe that John went to the garden. It is almost certain that Gertrude is a mouse.,It is highly likely that 'Sandra took the milk 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.95::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.9025,0.7635527105421084,train,highly likely,improbable,It is highly likely that 'Sandra took the milk and Gertrude is a mouse'.,It is improbable that 'Sandra took the milk and Gertrude is a mouse'.,1,'Sandra took the milk and Gertrude is a mouse'. It is almost certain that Julius is a lion. It is almost certain that Fred left the football. It is certain that Mary got the milk.,It is certain that 'Fred left the football' 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.95::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9975,0.06981396279255851,train,certain,about even,It is certain that 'Fred left the football' or 'Julius is a lion' or both.,Chances are about even that 'Fred left the football' or 'Julius is a lion' or both.,1,'Fred left the football' or 'Julius is a lion' or both. Chances are slight that Bernhard is gray. There is a better than even chance that John discarded the apple. It is unlikely that Mary left the football.,It is improbable that either 'Bernhard is gray' 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.6::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.58,0.15543108621724344,train,better than even,improbable,There is a better than even chance that either 'Bernhard is gray' or 'John discarded the apple' but not both.,It is improbable that either 'Bernhard is gray' or 'John discarded the apple' but not both.,0,Either 'Bernhard is gray' or 'John discarded the apple' but not both. It is unlikely that Mary went to the bedroom. There is almost no chance that Jeff moved to the office. It is impossible that Emily is a sheep.,There is almost no chance that either 'Emily is a sheep' 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.2::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.02,0.7803560712142429,train,almost no chance,certain,There is almost no chance that either 'Emily is a sheep' or 'Jeff moved to the office' but not both.,It is certain that either 'Emily is a sheep' or 'Jeff moved to the office' but not both.,1,Either 'Emily is a sheep' or 'Jeff moved to the office' but not both. It is probably not the case that Mary took the milk. We believe that Brian is white. It is unlikely that John picked up the apple.,Chances are slight that either 'Brian is white' 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.25::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.625,0.5209041808361672,train,better than even,chances are slight,There is a better than even chance that either 'Brian is white' or 'Mary took the milk' but not both.,Chances are slight that either 'Brian is white' or 'Mary took the milk' but not both.,0,Either 'Brian is white' or 'Mary took the milk' but not both. There is little chance that Brian is white. It is certain that Mary moved to the garden. We believe that Greg is a swan.,There is almost no chance that 'Mary 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.1::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.15363072614522905,train,certain,almost no chance,It is certain that 'Mary moved to the garden' or 'Greg is a swan' or both.,There is almost no chance that 'Mary moved to the garden' or 'Greg is a swan' or both.,0,'Mary moved to the garden' or 'Greg is a swan' or both. There is a very good chance that Greg is gray. Chances are slight that Mary went to the hallway. It is probably not the case that Julius is yellow.,It is likely 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.8::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.65,0.3214642928585717,train,likely,we doubt,It is likely that either 'Greg is gray' or 'Julius is yellow' but not both.,We doubt that either 'Greg is gray' or 'Julius is yellow' but not both.,1,Either 'Greg is gray' or 'Julius is yellow' but not both. It is highly likely that Emily is a wolf. It is highly unlikely that John picked up the milk. It is highly likely that Julius is white.,We doubt that 'Julius is white 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.05::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.81,0.34946989397879574,train,very good chance,we doubt,There is a very good chance that 'Julius is white and Emily is a wolf'.,We doubt that 'Julius is white and Emily is a wolf'.,0,'Julius is white and Emily is a wolf'. It is improbable that Mary dropped the apple. There is little chance that Lily is white. There is a better than even chance that John got the apple.,It is highly unlikely that 'Mary dropped the apple 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.1::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.03760752150430086,train,highly unlikely,almost certain,It is highly unlikely that 'Mary dropped the apple and John got the apple'.,It is almost certain that 'Mary dropped the apple and John got the apple'.,1,'Mary dropped the apple and John got the apple'. There is a better than even chance that Mary moved to the office. It is probably the case that Sandra dropped the milk. It is probably the case that Greg is white.,There is almost no chance that 'Mary moved to the office 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.6::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.41999999999999993,0.38107621524304863,train,about even,almost no chance,Chances are about even that 'Mary moved to the office and Sandra dropped the milk'.,There is almost no chance that 'Mary moved to the office and Sandra dropped the milk'.,0,'Mary moved to the office and Sandra dropped the milk'. It is certain that Sandra got the milk. It is improbable that John took the apple. Chances are about even that Bernhard is gray.,There is little chance that 'John took the apple' 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 1.0::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.6793358671734346,train,certain,little chance,It is certain that 'John took the apple' or 'Sandra got the milk' or both.,There is little chance that 'John took the apple' or 'Sandra got the milk' or both.,0,'John took the apple' or 'Sandra got the milk' or both. It is highly unlikely that Mary moved to the garden. Chances are about even that John went to the hallway. It is probably not the case that Lily is a lion.,It is improbable that 'John 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.5::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6250000000000001,0.4938987797559512,train,better than even,improbable,There is a better than even chance that 'John went to the hallway' or 'Lily is a lion' or both.,It is improbable that 'John went to the hallway' or 'Lily is a lion' or both.,0,'John went to the hallway' or 'Lily is a lion' or both. It is highly unlikely that Fred put down the apple. We believe that Brian is white. It is certain that Julius is a frog.,It is certain that either 'Julius is a frog' 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.75::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.25,0.3966793358671734,train,probably not,certain,It is probably not the case that either 'Julius is a frog' or 'Brian is white' but not both.,It is certain that either 'Julius is a frog' or 'Brian is white' but not both.,0,Either 'Julius is a frog' or 'Brian is white' but not both. There is little chance that Jeff moved to the garden. Chances are about even that Emily is a mouse. There is a better than even chance that Julius is a lion.,Chances are about even that either 'Emily is a mouse' 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.5::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.4996999399879976,train,about even,impossible,Chances are about even that either 'Emily is a mouse' or 'Jeff moved to the garden' but not both.,It is impossible that either 'Emily is a mouse' or 'Jeff moved to the garden' but not both.,1,Either 'Emily is a mouse' or 'Jeff moved to the garden' but not both. Chances are slight that Emily is a mouse. It is likely that Brian is yellow. There is a very good chance that Lily is a swan.,There is little chance 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.1::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.6493298659731946,train,we believe,little chance,We believe that 'Emily is a mouse' or 'Brian is yellow' or both.,There is little chance that 'Emily is a mouse' or 'Brian is yellow' or both.,0,'Emily is a mouse' or 'Brian is yellow' or both. It is probably the case that John moved to the office. There is a better than even chance that Brian is white. It is highly unlikely that Greg is a swan.,It is probable that 'Greg is a swan 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.6::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.035,0.3762752550510102,train,highly unlikely,probable,It is highly unlikely that 'Greg is a swan and John moved to the office'.,It is probable that 'Greg is a swan and John moved to the office'.,0,'Greg is a swan and John moved to the office'. There is little chance that Lily is white. We believe that Bernhard is yellow. It is almost certain that Greg is a rhino.,It is almost certain that 'Bernhard 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.1::factA. 0.75::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07500000000000002,0.17303460692138428,train,little chance,almost certain,There is little chance that 'Bernhard is yellow and Lily is white'.,It is almost certain that 'Bernhard is yellow and Lily is white'.,0,'Bernhard is yellow and Lily is white'. We doubt that Lily is a lion. It is probable that John went to the hallway. It is certain that Brian is a lion.,It is highly unlikely that either 'Lily is a lion' 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. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.08101620324064814,train,better than even,highly unlikely,There is a better than even chance that either 'Lily is a lion' or 'John went to the hallway' but not both.,It is highly unlikely that either 'Lily is a lion' or 'John went to the hallway' but not both.,0,Either 'Lily is a lion' or 'John went to the hallway' but not both. It is probably the case that Emily is a sheep. There is little chance that Bernhard is a frog. It is probable that Lily is a lion.,There is a better than even chance that 'Bernhard is a frog 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.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.3262652530506101,train,highly unlikely,better than even,It is highly unlikely that 'Bernhard is a frog and Emily is a sheep'.,There is a better than even chance that 'Bernhard is a frog and Emily is a sheep'.,0,'Bernhard is a frog and Emily is a sheep'. It is probable that Mary dropped the milk. It is highly unlikely that Bill went to the kitchen. There is a very good chance that Sumit is thirsty.,It is highly unlikely that 'Bill went to the kitchen 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.7::factA. 0.05::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.04000000000000001,0.34126825365073016,train,highly unlikely,probably,It is highly unlikely that 'Bill went to the kitchen and Sumit is thirsty'.,It is probably the case that 'Bill went to the kitchen and Sumit is thirsty'.,1,'Bill went to the kitchen and Sumit is thirsty'. Chances are about even that Bernhard is a swan. We doubt that Sandra got the milk. It is improbable that Mary moved to the garden.,There is a better than even chance that 'Mary moved to the garden and Bernhard is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.6375275055011003,train,highly unlikely,better than even,It is highly unlikely that 'Mary moved to the garden and Bernhard is a swan'.,There is a better than even chance that 'Mary moved to the garden and Bernhard is a swan'.,0,'Mary moved to the garden and Bernhard is a swan'. It is unlikely that Jessica is a sheep. It is unlikely that Bernhard is a rhino. It is certain that Julius is a frog.,It is likely that 'Jessica 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.2::factB. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.4420884176835367,train,highly unlikely,likely,It is highly unlikely that 'Jessica is a sheep and Bernhard is a rhino'.,It is likely that 'Jessica is a sheep and Bernhard is a rhino'.,0,'Jessica is a sheep and Bernhard is a rhino'. It is highly unlikely that Sandra got the football. Chances are slight that Greg is green. It is probably not the case that Gertrude is a sheep.,There is a very good chance that either 'Gertrude is a sheep' 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.1::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.038807761552310464,train,probably not,very good chance,It is probably not the case that either 'Gertrude is a sheep' or 'Greg is green' but not both.,There is a very good chance that either 'Gertrude is a sheep' or 'Greg is green' but not both.,0,Either 'Gertrude is a sheep' or 'Greg is green' but not both. There is almost no chance that Mary dropped the milk. It is probable that John got the milk. It is almost certain that Greg is gray.,It is likely that either 'Greg is gray' 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.02::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.08921784356871375,train,probably not,likely,It is probably not the case that either 'Greg is gray' or 'John got the milk' but not both.,It is likely that either 'Greg is gray' or 'John got the milk' but not both.,0,Either 'Greg is gray' or 'John got the milk' but not both. It is certain that Sandra grabbed the apple. It is impossible that Julius is a swan. There is little chance that Brian is a frog.,It is certain that 'Sandra grabbed the apple' or 'Julius is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 1.0::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.17763552710542108,train,certain,almost no chance,It is certain that 'Sandra grabbed the apple' or 'Julius is a swan' or both.,There is almost no chance that 'Sandra grabbed the apple' or 'Julius is a swan' or both.,1,'Sandra grabbed the apple' or 'Julius is a swan' or both. There is a very good chance that Sandra got the milk. It is highly unlikely that Lily is a swan. There is little chance that Bernhard is yellow.,There is a very good chance that 'Sandra got 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 0.8::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8200000000000001,0.35827165433086616,train,very good chance,we doubt,There is a very good chance that 'Sandra got the milk' or 'Bernhard is yellow' or both.,We doubt that 'Sandra got the milk' or 'Bernhard is yellow' or both.,1,'Sandra got the milk' or 'Bernhard is yellow' or both. There is a better than even chance that Lily is gray. It is unlikely that Winona is a wolf. It is unlikely that Greg is green.,It is probably the case that 'Winona is a wolf 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. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.04000000000000001,0.3806761352270454,train,highly unlikely,probably,It is highly unlikely that 'Winona is a wolf and Greg is green'.,It is probably the case that 'Winona is a wolf and Greg is green'.,0,'Winona is a wolf and Greg is green'. It is probably the case that Julius is gray. There is little chance that Brian is a swan. There is a very good chance that Emily is a mouse.,It is unlikely that either 'Brian is a swan' or 'Julius is gray' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.7723544708941789,train,likely,unlikely,It is likely that either 'Brian is a swan' or 'Julius is gray' but not both.,It is unlikely that either 'Brian is a swan' or 'Julius is gray' but not both.,0,Either 'Brian is a swan' or 'Julius is gray' but not both. We believe that Sandra got the milk. Chances are about even that Yann is tired. It is probable that Mary went to the bedroom.,It is probably not the case that 'Yann is tired 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.75::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.375,0.3862772554510902,train,probably not,almost certain,It is probably not the case that 'Yann is tired and Sandra got the milk'.,It is almost certain that 'Yann is tired and Sandra got the milk'.,1,'Yann is tired and Sandra got the milk'. We doubt that Julius is a frog. It is probably the case that Sandra left the milk. We believe that Bernhard is yellow.,It is probable that 'Bernhard 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.2::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.46549309861972393,train,chances are slight,probable,Chances are slight that 'Bernhard is yellow and Julius is a frog'.,It is probable that 'Bernhard is yellow and Julius is a frog'.,0,'Bernhard is yellow and Julius is a frog'. It is highly unlikely that Daniel got the football. There is a better than even chance that Gertrude is a sheep. Chances are about even that Sandra took the milk.,Chances are about even that either 'Gertrude is a sheep' 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.05::factA. 0.6::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5000000000000001,0.30026005201040207,train,about even,almost certain,Chances are about even that either 'Gertrude is a sheep' or 'Sandra took the milk' but not both.,It is almost certain that either 'Gertrude is a sheep' or 'Sandra took the milk' but not both.,1,Either 'Gertrude is a sheep' or 'Sandra took the milk' but not both. It is unlikely that Mary dropped the apple. It is certain that John went to the office. It is likely that Jessica is a cat.,It is highly unlikely that 'John went to the office and Jessica is a cat'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7,0.7129425885177035,train,probable,highly unlikely,It is probable that 'John went to the office and Jessica is a cat'.,It is highly unlikely that 'John went to the office and Jessica is a cat'.,0,'John went to the office and Jessica is a cat'. Chances are about even that Greg is a rhino. It is impossible that Julius is yellow. It is highly unlikely that John picked up the apple.,Chances are about even that either 'Greg 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.5::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.2882576515303061,train,about even,highly unlikely,Chances are about even that either 'Greg is a rhino' or 'Julius is yellow' but not both.,It is highly unlikely that either 'Greg is a rhino' or 'Julius is yellow' but not both.,1,Either 'Greg is a rhino' or 'Julius is yellow' but not both. There is a better than even chance that Fred went to the garden. Chances are about even that Sandra left the apple. It is probably not the case that Sumit is thirsty.,It is impossible that 'Fred went to the garden' 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.6::factA. 0.5::factB. 0.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8,0.15563112622524505,train,very good chance,impossible,There is a very good chance that 'Fred went to the garden' or 'Sandra left the apple' or both.,It is impossible that 'Fred went to the garden' or 'Sandra left the apple' or both.,0,'Fred went to the garden' or 'Sandra left the apple' or both. There is a better than even chance that Mary put down the apple. We doubt that John moved to the office. It is certain that Bernhard is green.,It is impossible that either 'John moved to the office' 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.2::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.8,0.3096619323864773,train,very good chance,impossible,There is a very good chance that either 'John moved to the office' or 'Bernhard is green' but not both.,It is impossible that either 'John moved to the office' or 'Bernhard is green' but not both.,0,Either 'John moved to the office' or 'Bernhard is green' but not both. Chances are about even that Winona is a cat. It is probably not the case that Bernhard is a frog. We doubt that Sandra grabbed the milk.,Chances are about even that either 'Winona is a cat' 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.5::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.24664932986597318,train,about even,certain,Chances are about even that either 'Winona is a cat' or 'Sandra grabbed the milk' but not both.,It is certain that either 'Winona is a cat' or 'Sandra grabbed the milk' but not both.,1,Either 'Winona is a cat' or 'Sandra grabbed the milk' but not both. There is a better than even chance that Greg is a frog. There is almost no chance that John put down the apple. There is a very good chance that Daniel took the milk.,It is highly unlikely that 'Daniel took the milk' 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.6::factA. 0.02::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.804,0.06701340268053611,train,very good chance,highly unlikely,There is a very good chance that 'Daniel took the milk' or 'John put down the apple' or both.,It is highly unlikely that 'Daniel took the milk' or 'John put down the apple' or both.,0,'Daniel took the milk' or 'John put down the apple' or both. Chances are about even that Brian is white. Chances are slight that Bernhard is yellow. It is highly unlikely that Mary left the football.,There is little chance that 'Bernhard is yellow' or 'Brian is white' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.17903580716143228,train,better than even,little chance,There is a better than even chance that 'Bernhard is yellow' or 'Brian is white' or both.,There is little chance that 'Bernhard is yellow' or 'Brian is white' or both.,0,'Bernhard is yellow' or 'Brian is white' or both. There is almost no chance that Sandra got the football. There is a better than even chance that Bernhard is green. There is almost no chance that Mary grabbed the milk.,It is highly unlikely that 'Mary grabbed the milk' 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.6::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.0396,0.05821164232846569,train,highly unlikely,better than even,It is highly unlikely that 'Mary grabbed the milk' or 'Sandra got the football' or both.,There is a better than even chance that 'Mary grabbed the milk' or 'Sandra got the football' or both.,1,'Mary grabbed the milk' or 'Sandra got the football' or both. It is improbable that Bernhard is a frog. It is impossible that John dropped the apple. It is highly likely that Lily is a swan.,It is improbable that either 'Bernhard 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.1::factA. 0.0::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.10122024404880976,train,very good chance,improbable,There is a very good chance that either 'Bernhard is a frog' or 'Lily is a swan' but not both.,It is improbable that either 'Bernhard is a frog' or 'Lily is a swan' but not both.,0,Either 'Bernhard is a frog' or 'Lily is a swan' but not both. There is little chance that Sandra got the milk. We believe that John moved to the garden. It is certain that Greg is green.,It is improbable that either 'Sandra got 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.1::factA. 0.75::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.6093218643728746,train,probable,improbable,It is probable that either 'Sandra got the milk' or 'John moved to the garden' but not both.,It is improbable that either 'Sandra got the milk' or 'John moved to the garden' but not both.,0,Either 'Sandra got the milk' or 'John moved to the garden' but not both. Chances are about even that Julius is gray. There is a very good chance that Lily is gray. Chances are slight that Bernhard is a frog.,There is little chance that 'Julius is gray' 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.5::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.09701940388077615,train,highly likely,little chance,It is highly likely that 'Julius is gray' or 'Lily is gray' or both.,There is little chance that 'Julius is gray' or 'Lily is gray' or both.,0,'Julius is gray' or 'Lily is gray' or both. Chances are about even that Lily is white. It is likely that Gertrude is a sheep. We doubt that Brian is a lion.,There is a better than even chance that either 'Gertrude is a sheep' 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.5::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.62,0.6725345069013803,train,better than even,chances are slight,There is a better than even chance that either 'Gertrude is a sheep' or 'Brian is a lion' but not both.,Chances are slight that either 'Gertrude is a sheep' or 'Brian is a lion' but not both.,1,Either 'Gertrude is a sheep' or 'Brian is a lion' but not both. It is almost certain that Mary got the milk. It is probably the case that Brian is a lion. It is almost certain that Bill went to the bedroom.,It is probably not the case 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.95::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.3872774554910982,train,probably not,likely,It is probably not the case that either 'Mary got the milk' or 'Brian is a lion' but not both.,It is likely 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. It is likely that John moved to the garden. It is highly unlikely that Mary dropped the apple. It is probably the case that Julius is a lion.,It is probably the case that either 'Mary dropped 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.05::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6799999999999999,0.359871974394879,train,probably,probably not,It is probably the case that either 'Mary dropped the apple' or 'John moved to the garden' but not both.,It is probably not the case that either 'Mary dropped the apple' or 'John moved to the garden' but not both.,1,Either 'Mary dropped the apple' or 'John moved to the garden' but not both. It is highly unlikely that Bernhard is a lion. There is little chance that Antoine is hungry. It is improbable that Jeff dropped the apple.,We doubt that 'Antoine is hungry' 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.05::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.49049809961992397,train,we doubt,highly likely,We doubt that 'Antoine is hungry' or 'Jeff dropped the apple' or both.,It is highly likely that 'Antoine is hungry' or 'Jeff dropped the apple' or both.,1,'Antoine is hungry' or 'Jeff dropped the apple' or both. It is almost certain that Mary went to the garden. It is impossible that Julius is a swan. There is a better than even chance that Lily is a rhino.,There is a better than even chance that 'Mary went 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.95::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.57,0.19683936787357473,train,better than even,impossible,There is a better than even chance that 'Mary went to the garden and Lily is a rhino'.,It is impossible that 'Mary went to the garden and Lily is a rhino'.,1,'Mary went to the garden and Lily is a rhino'. It is likely that Mary went to the garden. There is little chance that Bernhard is a lion. It is almost certain that Brian is white.,There is little chance 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.7::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.86,0.23844768953790757,train,highly likely,little chance,It is highly likely that either 'Bernhard is a lion' or 'Brian is white' but not both.,There is little chance that either 'Bernhard is a lion' or 'Brian is white' but not both.,0,Either 'Bernhard is a lion' or 'Brian is white' but not both. It is likely that Brian is a frog. It is unlikely that Julius is a rhino. It is probably not the case that Sandra took the football.,There is almost no chance that 'Sandra 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.7::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.4,0.1788357671534307,train,about even,almost no chance,Chances are about even that 'Sandra took the football' or 'Julius is a rhino' or both.,There is almost no chance that 'Sandra took the football' or 'Julius is a rhino' or both.,0,'Sandra took the football' or 'Julius is a rhino' or both. It is probable that Sandra dropped the milk. It is almost certain that Lily is a rhino. It is almost certain that John discarded the apple.,There is almost no chance 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.7::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9975,0.132626525305061,train,certain,almost no chance,It is certain that 'Lily is a rhino' or 'John discarded the apple' or both.,There is almost no chance that 'Lily is a rhino' or 'John discarded the apple' or both.,0,'Lily is a rhino' or 'John discarded the apple' or both. It is probably not the case that Greg is gray. There is a very good chance that John moved to the office. We believe that Lily is a swan.,There is a very good chance that 'John 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.25::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.2,0.2444488897779556,train,we doubt,very good chance,We doubt that 'John moved to the office and Greg is gray'.,There is a very good chance that 'John moved to the office and Greg is gray'.,0,'John moved to the office and Greg is gray'. There is almost no chance that John dropped the milk. We doubt that Lily is gray. There is almost no chance that Julius is a frog.,It is impossible that 'John dropped 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.02::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0004000000000000001,0.6807361472294459,train,impossible,likely,It is impossible that 'John dropped the milk and Julius is a frog'.,It is likely that 'John dropped the milk and Julius is a frog'.,1,'John dropped the milk and Julius is a frog'. It is probably the case that Sumit is tired. We believe that John moved to the office. Chances are slight that Bill left the football.,We believe that 'Bill 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.7::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.5245049009801961,train,we believe,unlikely,We believe that 'Bill left the football' or 'John moved to the office' or both.,It is unlikely that 'Bill left the football' or 'John moved to the office' or both.,1,'Bill left the football' or 'John moved to the office' or both. It is probably the case that Mary took the football. Chances are slight that John moved to the garden. It is impossible that Brian is a frog.,It is probable that either 'John moved to the garden' 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.7::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.5877175435087018,train,probable,improbable,It is probable that either 'John moved to the garden' or 'Mary took the football' but not both.,It is improbable that either 'John moved to the garden' or 'Mary took the football' but not both.,1,Either 'John moved to the garden' or 'Mary took the football' but not both. It is highly unlikely that Julius is green. It is certain that Gertrude is a sheep. Chances are about even that John went to the kitchen.,Chances are about even that 'Julius is green' 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.05::factA. 1.0::factB. 0.5::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.525,0.0616123224644929,train,about even,almost no chance,Chances are about even that 'Julius is green' or 'John went to the kitchen' or both.,There is almost no chance that 'Julius is green' or 'John went to the kitchen' or both.,1,'Julius is green' or 'John went to the kitchen' or both. It is highly likely that Lily is a lion. It is improbable that Brian is a rhino. We doubt that Bernhard is yellow.,There is almost no chance that 'Brian is a rhino' 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.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.91,0.15243048609721943,train,highly likely,almost no chance,It is highly likely that 'Brian is a rhino' or 'Lily is a lion' or both.,There is almost no chance that 'Brian is a rhino' or 'Lily is a lion' or both.,0,'Brian is a rhino' or 'Lily is a lion' or both. It is impossible that Greg is white. It is probably not the case that Mary got the apple. We believe that John went to the garden.,There is a very good chance that 'John went to the garden' 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.0::factA. 0.25::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8125000000000001,0.7713542708541709,train,very good chance,improbable,There is a very good chance that 'John went to the garden' or 'Mary got the apple' or both.,It is improbable that 'John went to the garden' or 'Mary got the apple' or both.,1,'John went to the garden' or 'Mary got the apple' or both. It is almost certain that Mary went to the office. It is unlikely that Julius is a lion. It is almost certain that Sandra left the football.,It is highly likely that 'Mary went to the office 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.95::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.9025,0.6405281056211243,train,highly likely,little chance,It is highly likely that 'Mary went to the office and Sandra left the football'.,There is little chance that 'Mary went to the office and Sandra left the football'.,1,'Mary went to the office and Sandra left the football'. It is certain that Greg is a frog. There is a better than even chance that Daniel took the apple. It is impossible that Bernhard is green.,There is a better than even chance that either 'Bernhard is green' 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 1.0::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.5259051810362072,train,better than even,improbable,There is a better than even chance that either 'Bernhard is green' or 'Daniel took the apple' but not both.,It is improbable that either 'Bernhard is green' or 'Daniel took the apple' but not both.,1,Either 'Bernhard is green' or 'Daniel took the apple' but not both. Chances are slight that Greg is white. It is unlikely that John dropped the apple. It is impossible that Mary took the football.,There is almost no chance that 'John dropped the apple 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.2::factB. 0.0::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.5839167833566713,train,almost no chance,probable,There is almost no chance that 'John dropped the apple and Greg is white'.,It is probable that 'John dropped the apple and Greg is white'.,1,'John dropped the apple and Greg is white'. There is a better than even chance that Bernhard is a lion. It is impossible that Daniel put down the milk. There is little chance that Greg is a swan.,It is probable that 'Bernhard is a lion 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.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.19003800760152031,train,highly unlikely,probable,It is highly unlikely that 'Bernhard is a lion and Greg is a swan'.,It is probable that 'Bernhard is a lion and Greg is a swan'.,0,'Bernhard is a lion and Greg is a swan'. We believe that John discarded the apple. It is highly likely that Julius is a lion. There is a very good chance that Emily is a cat.,It is probably not the case that either 'John discarded the apple' 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.75::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.30000000000000004,0.09921984396879376,train,probably not,likely,It is probably not the case that either 'John discarded the apple' or 'Julius is a lion' but not both.,It is likely that either 'John discarded the apple' or 'Julius is a lion' but not both.,1,Either 'John discarded the apple' or 'Julius is a lion' but not both. It is almost certain that Greg is yellow. It is improbable that Julius is white. Chances are about even that John took the milk.,It is improbable that 'Julius is white' or 'John 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.95::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.55,0.7013402680536107,train,better than even,improbable,There is a better than even chance that 'Julius is white' or 'John took the milk' or both.,It is improbable that 'Julius is white' or 'John took the milk' or both.,0,'Julius is white' or 'John took the milk' or both. Chances are about even that Julius is white. There is a very good chance that Winona is a mouse. It is certain that Mary dropped the apple.,Chances are about even that 'Mary dropped the apple 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.5::factA. 0.8::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5,0.05321064212842568,train,about even,highly unlikely,Chances are about even that 'Mary dropped the apple and Julius is white'.,It is highly unlikely that 'Mary dropped the apple and Julius is white'.,1,'Mary dropped the apple and Julius is white'. We believe that Mary went to the bedroom. It is certain that Bernhard is yellow. Chances are slight that Jeff discarded the milk.,It is highly likely that 'Bernhard is yellow and Jeff discarded the milk'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.75::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.3284656931386277,train,chances are slight,highly likely,Chances are slight that 'Bernhard is yellow and Jeff discarded the milk'.,It is highly likely that 'Bernhard is yellow and Jeff discarded the milk'.,0,'Bernhard is yellow and Jeff discarded the milk'. There is almost no chance that Sandra got the football. There is a better than even chance that Mary grabbed the milk. It is impossible that Jessica is a cat.,There is a very good chance that 'Sandra 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.02::factA. 0.6::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.02,0.7153430686137228,train,almost no chance,very good chance,There is almost no chance that 'Sandra got the football' or 'Jessica is a cat' or both.,There is a very good chance that 'Sandra got the football' or 'Jessica is a cat' or both.,0,'Sandra got the football' or 'Jessica is a cat' or both. It is highly likely that Julius is white. There is almost no chance that Sandra dropped the milk. It is likely that Yann is bored.,There is almost no chance that 'Sandra dropped 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.9::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.018000000000000002,0.6397279455891178,train,almost no chance,we believe,There is almost no chance that 'Sandra dropped the milk and Julius is white'.,We believe that 'Sandra dropped the milk and Julius is white'.,1,'Sandra dropped the milk and Julius is white'. It is impossible that Mary went to the garden. It is unlikely that Julius is a lion. It is unlikely that Sandra dropped the milk.,Chances are about even 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.0::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.04000000000000001,0.7703540708141629,train,highly unlikely,about even,It is highly unlikely that 'Julius is a lion and Sandra dropped the milk'.,Chances are about even that 'Julius is a lion and Sandra dropped the milk'.,0,'Julius is a lion and Sandra dropped the milk'. We believe that Brian is a swan. There is a very good chance that Fred dropped the apple. There is a very good chance that Jeff put down the milk.,There is a better than even chance that 'Fred dropped 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.75::factA. 0.8::factB. 0.8::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6000000000000001,0.5221044208841769,train,better than even,impossible,There is a better than even chance that 'Fred dropped the apple and Brian is a swan'.,It is impossible that 'Fred dropped the apple and Brian is a swan'.,1,'Fred dropped the apple and Brian is a swan'. We believe that John dropped the apple. It is probably not the case that Mary got the football. There is little chance that Greg is a frog.,It is probable that 'Mary 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.75::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.1875,0.22744548909781956,train,we doubt,probable,We doubt that 'Mary got the football and John dropped the apple'.,It is probable that 'Mary got the football and John dropped the apple'.,0,'Mary got the football and John dropped the apple'. There is almost no chance that Julius is a rhino. We believe that Greg is gray. Chances are slight that Mary dropped the milk.,Chances are slight that either 'Mary dropped the milk' 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.75::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.051010202040408084,train,chances are slight,probably,Chances are slight that either 'Mary dropped the milk' or 'Julius is a rhino' but not both.,It is probably the case that either 'Mary dropped the milk' or 'Julius is a rhino' but not both.,1,Either 'Mary dropped the milk' or 'Julius is a rhino' but not both. There is little chance that Jessica is a mouse. There is little chance that Bernhard is green. Chances are slight that Brian is white.,There is almost no chance that 'Brian 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.38867773554710944,train,almost no chance,probable,There is almost no chance that 'Brian is white and Jessica is a mouse'.,It is probable that 'Brian is white and Jessica is a mouse'.,1,'Brian is white and Jessica is a mouse'. It is highly unlikely that Sandra took the milk. There is little chance that John moved to the office. There is a better than even chance that Julius is a swan.,It is highly likely that 'Sandra took 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.05::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.005000000000000002,0.6433286657331466,train,impossible,highly likely,It is impossible that 'Sandra took the milk and John moved to the office'.,It is highly likely that 'Sandra took the milk and John moved to the office'.,0,'Sandra took the milk and John moved to the office'. It is improbable that Bill moved to the office. There is a better than even chance that Mary is in the bathroom. It is highly likely that Greg is a rhino.,It is probably not the case that 'Bill 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.1::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.91,0.3070614122824565,train,highly likely,probably not,It is highly likely that 'Bill moved to the office' or 'Greg is a rhino' or both.,It is probably not the case that 'Bill moved to the office' or 'Greg is a rhino' or both.,0,'Bill moved to the office' or 'Greg is a rhino' or both. It is highly likely that Greg is green. It is almost certain that Brian is gray. It is almost certain that Bernhard is a frog.,There is almost no chance that 'Brian is gray 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.95::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.855,0.7169433886777355,train,highly likely,almost no chance,It is highly likely that 'Brian is gray and Greg is green'.,There is almost no chance that 'Brian is gray and Greg is green'.,0,'Brian is gray and Greg is green'. There is a very good chance that Mary went to the kitchen. There is almost no chance that Antoine is thirsty. Chances are about even that Jessica is a mouse.,It is almost certain that either 'Jessica is a mouse' 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.8::factA. 0.02::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.6075215043008602,train,about even,almost certain,Chances are about even that either 'Jessica is a mouse' or 'Mary went to the kitchen' but not both.,It is almost certain that either 'Jessica is a mouse' or 'Mary went to the kitchen' but not both.,0,Either 'Jessica is a mouse' or 'Mary went to the kitchen' but not both. It is improbable that Jeff moved to the office. It is certain that Emily is a cat. It is highly likely that Julius is green.,It is highly unlikely that 'Julius is green' 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.1::factA. 1.0::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.5617123424684937,train,certain,highly unlikely,It is certain that 'Julius is green' or 'Emily is a cat' or both.,It is highly unlikely that 'Julius is green' or 'Emily is a cat' or both.,0,'Julius is green' or 'Emily is a cat' or both. It is almost certain that John moved to the office. It is highly likely that Bernhard is a swan. It is certain that Daniel left the milk.,Chances are about even that 'Daniel 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.95::factA. 0.9::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.95,0.13402680536107223,train,almost certain,about even,It is almost certain that 'Daniel left the milk and John moved to the office'.,Chances are about even that 'Daniel left the milk and John moved to the office'.,0,'Daniel left the milk and John moved to the office'. There is a very good chance that Antoine is thirsty. There is little chance that Brian is a lion. It is probably not the case that Sandra left the apple.,It is probably the case that either 'Brian is a lion' 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.8::factA. 0.1::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.7415483096619324,train,probably not,probably,It is probably not the case that either 'Brian is a lion' or 'Sandra left the apple' but not both.,It is probably the case that either 'Brian is a lion' or 'Sandra left the apple' but not both.,0,Either 'Brian is a lion' or 'Sandra left the apple' but not both. It is highly likely that John went to the hallway. There is a better than even chance that Fred is in the cinema. It is probably the case that Julius is a lion.,It is probably not the case that either 'Julius is a lion' 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.9::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.33999999999999997,0.09681936387277455,train,probably not,very good chance,It is probably not the case that either 'Julius is a lion' or 'John went to the hallway' but not both.,There is a very good chance that either 'Julius is a lion' or 'John went to the hallway' but not both.,1,Either 'Julius is a lion' or 'John went to the hallway' but not both. It is probable that Sandra took the milk. It is highly likely that Mary went to the bedroom. It is impossible that Daniel left the football.,It is highly unlikely that 'Mary went to the bedroom' 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.7::factA. 0.9::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.41508301660332064,train,almost certain,highly unlikely,It is almost certain that 'Mary went to the bedroom' or 'Sandra took the milk' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Sandra took the milk' or both.,0,'Mary went to the bedroom' or 'Sandra took the milk' or both. It is almost certain that Winona is a sheep. It is almost certain that Julius is yellow. It is improbable that Brian is white.,There is little chance that 'Julius 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.95::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.9025,0.6989397879575915,train,highly likely,little chance,It is highly likely that 'Julius is yellow and Winona is a sheep'.,There is little chance that 'Julius is yellow and Winona is a sheep'.,0,'Julius is yellow and Winona is a sheep'. It is probable that Bill went to the kitchen. It is probably the case that Lily is gray. It is certain that Greg is a frog.,It is improbable that 'Greg is a frog 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.7::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7,0.3834766953390678,train,probable,improbable,It is probable that 'Greg is a frog and Bill went to the kitchen'.,It is improbable that 'Greg is a frog and Bill went to the kitchen'.,0,'Greg is a frog and Bill went to the kitchen'. Chances are slight that John picked up the milk. Chances are slight that Julius is yellow. It is highly likely that Brian is a frog.,There is almost no 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.1::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.7373474694938987,train,highly likely,almost no chance,It is highly likely that 'Brian is a frog' or 'Julius is yellow' or both.,There is almost no chance that 'Brian is a frog' or 'Julius is yellow' or both.,0,'Brian is a frog' or 'Julius is yellow' or both. It is certain that John moved to the office. Chances are slight that Mary discarded the apple. There is almost no chance that Brian is a lion.,There is almost no chance that 'Brian 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 1.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.02,0.7749549909981996,train,almost no chance,about even,There is almost no chance that 'Brian is a lion and John moved to the office'.,Chances are about even that 'Brian is a lion and John moved to the office'.,1,'Brian is a lion and John moved to the office'. It is improbable that Mary left the football. It is probably the case that Brian is a rhino. Chances are slight that John got the milk.,We believe that 'Brian is a rhino' 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.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.592118423684737,train,we believe,little chance,We believe that 'Brian is a rhino' or 'John got the milk' or both.,There is little chance that 'Brian is a rhino' or 'John got the milk' or both.,1,'Brian is a rhino' or 'John got the milk' or both. It is impossible that Sandra dropped the milk. It is likely that Mary grabbed the milk. Chances are slight that Yann is tired.,It is highly unlikely that 'Mary grabbed the milk 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.0::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.009401880376075216,train,highly unlikely,certain,It is highly unlikely that 'Mary grabbed the milk and Yann is tired'.,It is certain that 'Mary grabbed the milk and Yann is tired'.,1,'Mary grabbed the milk and Yann is tired'. It is highly likely that John took the football. It is highly unlikely that Julius is a lion. It is highly likely that Bernhard is a swan.,It is almost certain 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.9::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.045000000000000005,0.755751150230046,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a lion and Bernhard is a swan'.,It is almost certain that 'Julius is a lion and Bernhard is a swan'.,0,'Julius is a lion and Bernhard is a swan'. It is impossible that Julius is white. There is a better than even chance that Bill went to the bedroom. There is a better than even chance that Greg is a swan.,There is a very good chance that 'Bill went to the bedroom' 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.0::factA. 0.6::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.5009001800360072,train,very good chance,improbable,There is a very good chance that 'Bill went to the bedroom' or 'Greg is a swan' or both.,It is improbable that 'Bill went to the bedroom' or 'Greg is a swan' or both.,1,'Bill went to the bedroom' or 'Greg is a swan' or both. It is probably not the case that Julius is a swan. It is improbable that Greg is a frog. We believe that Brian is a rhino.,There is little chance 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.25::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8125000000000001,0.46309261852370476,train,very good chance,little chance,There is a very good chance that 'Brian is a rhino' or 'Julius is a swan' or both.,There is little chance 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 almost no chance that Mary left the apple. It is unlikely that Julius is a swan. It is likely that Lily is green.,It is improbable that 'Julius 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.02::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.6983396679335867,train,improbable,likely,It is improbable that 'Julius is a swan and Lily is green'.,It is likely that 'Julius is a swan and Lily is green'.,1,'Julius is a swan and Lily is green'. There is almost no chance that Greg is a rhino. Chances are about even that Brian is green. There is a very good chance that John took the football.,There is almost no chance that 'Greg 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.02::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.10522104420884176,train,almost no chance,probable,There is almost no chance that 'Greg is a rhino and Brian is green'.,It is probable that 'Greg is a rhino and Brian is green'.,1,'Greg is a rhino and Brian is green'. Chances are slight that Julius is yellow. There is a very good chance that Greg is a lion. It is unlikely that Mary went to the kitchen.,We doubt that either 'Greg is a lion' 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.8::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.68,0.7363472694538907,train,probable,we doubt,It is probable that either 'Greg is a lion' or 'Mary went to the kitchen' but not both.,We doubt that either 'Greg is a lion' or 'Mary went to the kitchen' but not both.,0,Either 'Greg is a lion' or 'Mary went to the kitchen' but not both. It is probable that John left the football. There is a very good chance that Brian is a rhino. It is probably the case that Jeff went to the garden.,Chances are about even that either 'Jeff 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.7::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.1280256051210242,train,about even,almost certain,Chances are about even that either 'Jeff went to the garden' or 'Brian is a rhino' but not both.,It is almost certain that either 'Jeff went to the garden' or 'Brian is a rhino' but not both.,1,Either 'Jeff went to the garden' or 'Brian is a rhino' but not both. We believe that Sandra dropped the apple. It is improbable that Lily is a swan. We doubt that Brian is gray.,It is probable that either 'Brian is gray' 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.75::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.15783156631326264,train,probably not,probable,It is probably not the case that either 'Brian is gray' or 'Lily is a swan' but not both.,It is probable that either 'Brian is gray' or 'Lily is a swan' but not both.,0,Either 'Brian is gray' or 'Lily is a swan' but not both. Chances are slight that Bernhard is green. It is improbable that Mary got the football. Chances are slight that Greg is yellow.,There is almost no chance 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.1::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.39047809561912383,train,almost no chance,certain,There is almost no chance that 'Bernhard is green and Greg is yellow'.,It is certain that 'Bernhard is green and Greg is yellow'.,1,'Bernhard is green and Greg is yellow'. It is highly unlikely that Sandra got the football. There is almost no chance that John went to the kitchen. It is almost certain that Brian is gray.,It is probable that 'Brian 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.05::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0475,0.14162832566513303,train,highly unlikely,probable,It is highly unlikely that 'Brian is gray and Sandra got the football'.,It is probable that 'Brian is gray and Sandra got the football'.,0,'Brian is gray and Sandra got the football'. It is probably not the case that Brian is yellow. It is almost certain that Julius is a swan. It is certain that Fred went to the garden.,It is probably not the case that 'Fred 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.25::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.25,0.43248649729945987,train,probably not,almost certain,It is probably not the case that 'Fred went to the garden and Brian is yellow'.,It is almost certain that 'Fred went to the garden and Brian is yellow'.,1,'Fred went to the garden and Brian is yellow'. It is probably the case that Emily is a sheep. We believe that Bernhard is a frog. It is probably the case that Mary left the football.,Chances are about even that either 'Emily is a sheep' 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.75::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.5409081816363273,train,about even,almost no chance,Chances are about even that either 'Emily is a sheep' or 'Bernhard is a frog' but not both.,There is almost no chance that either 'Emily is a sheep' or 'Bernhard is a frog' but not both.,1,Either 'Emily is a sheep' or 'Bernhard is a frog' but not both. It is almost certain that Julius is yellow. It is impossible that Mary went to the garden. It is improbable that Sandra left the milk.,It is likely that either 'Sandra left 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 0.95::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.10000000000000002,0.360872174434887,train,chances are slight,likely,Chances are slight that either 'Sandra left the milk' or 'Mary went to the garden' but not both.,It is likely that either 'Sandra left the milk' or 'Mary went to the garden' but not both.,0,Either 'Sandra left the milk' or 'Mary went to the garden' but not both. It is certain that Bill went to the garden. Chances are about even that Brian is gray. It is probable that Julius is a frog.,It is impossible that 'Bill went to the garden' 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.5::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.7609521904380876,train,certain,impossible,It is certain that 'Bill went to the garden' or 'Julius is a frog' or both.,It is impossible that 'Bill went to the garden' or 'Julius is a frog' or both.,0,'Bill went to the garden' or 'Julius is a frog' or both. It is likely that Greg is green. It is probable that Julius is gray. It is impossible that John went to the garden.,It is impossible 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.7::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9099999999999999,0.352870574114823,train,highly likely,impossible,It is highly likely that 'Greg is green' or 'Julius is gray' or both.,It is impossible that 'Greg is green' or 'Julius is gray' or both.,0,'Greg is green' or 'Julius is gray' or both. It is highly unlikely that Sandra left the apple. It is probable that Jeff moved to the garden. There is a very good chance that Greg is a lion.,It is impossible that either 'Greg is a lion' or 'Jeff moved to the garden' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.38,0.30126025205041007,train,about even,impossible,Chances are about even that either 'Greg is a lion' or 'Jeff moved to the garden' but not both.,It is impossible that either 'Greg is a lion' or 'Jeff moved to the garden' but not both.,0,Either 'Greg is a lion' or 'Jeff moved to the garden' but not both. It is impossible that Mary moved to the garden. It is likely that Daniel got the football. It is probably not the case that Julius is yellow.,We believe that 'Daniel got the football' or 'Julius is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.775,0.4450890178035607,train,we believe,chances are slight,We believe that 'Daniel got the football' or 'Julius is yellow' or both.,Chances are slight that 'Daniel got the football' or 'Julius is yellow' or both.,1,'Daniel got the football' or 'Julius is yellow' or both. It is almost certain that Bernhard is a swan. We believe that Jeff moved to the garden. There is little chance that Antoine is hungry.,It is highly unlikely that 'Bernhard is a swan' 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.95::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9875,0.5691138227645529,train,certain,highly unlikely,It is certain that 'Bernhard is a swan' or 'Jeff moved to the garden' or both.,It is highly unlikely that 'Bernhard is a swan' or 'Jeff moved to the garden' or both.,0,'Bernhard is a swan' or 'Jeff moved to the garden' or both. Chances are about even that Brian is white. Chances are about even that Mary got the football. It is unlikely that Bernhard is a swan.,There is almost no chance that 'Mary got the football' 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.5::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.75,0.7099419883976795,train,we believe,almost no chance,We believe that 'Mary got the football' or 'Brian is white' or both.,There is almost no chance that 'Mary got the football' or 'Brian is white' or both.,0,'Mary got the football' or 'Brian is white' or both. It is probable that John put down the apple. Chances are slight that Julius is gray. We doubt that Bernhard is a frog.,It is highly likely that 'Bernhard is a frog 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.7::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.0592118423684737,train,chances are slight,highly likely,Chances are slight that 'Bernhard is a frog and John put down the apple'.,It is highly likely that 'Bernhard is a frog and John put down the apple'.,0,'Bernhard is a frog and John put down the apple'. It is almost certain that Winona is a sheep. It is probable that Mary went to the office. Chances are slight that Brian is a lion.,It is probably not the case that either 'Winona is a sheep' 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32000000000000006,0.4138827765553111,train,probably not,we believe,It is probably not the case that either 'Winona is a sheep' or 'Mary went to the office' but not both.,We believe that either 'Winona is a sheep' or 'Mary went to the office' but not both.,1,Either 'Winona is a sheep' or 'Mary went to the office' but not both. We believe that Brian is a rhino. It is probable that Sandra dropped the apple. There is little chance that Jeff went to the hallway.,It is almost certain that 'Jeff went to the hallway 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.75::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.583116623324665,train,chances are slight,almost certain,Chances are slight that 'Jeff went to the hallway and Brian is a rhino'.,It is almost certain that 'Jeff went to the hallway and Brian is a rhino'.,0,'Jeff went to the hallway and Brian is a rhino'. It is probably the case that Lily is gray. It is almost certain that Brian is yellow. It is unlikely that John is in the garden.,We believe that either 'Brian 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.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32000000000000006,0.29925985197039406,train,probably not,we believe,It is probably not the case that either 'Brian is yellow' or 'Lily is gray' but not both.,We believe that either 'Brian is yellow' or 'Lily is gray' but not both.,0,Either 'Brian is yellow' or 'Lily is gray' but not both. It is almost certain that Daniel dropped the apple. There is almost no chance that Mary went to the kitchen. It is improbable that Gertrude is a mouse.,There is little chance that 'Gertrude is a mouse 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.95::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.5857171434286857,train,little chance,very good chance,There is little chance that 'Gertrude is a mouse and Daniel dropped the apple'.,There is a very good chance that 'Gertrude is a mouse and Daniel dropped the apple'.,1,'Gertrude is a mouse and Daniel dropped the apple'. We believe that Winona is a sheep. It is unlikely that John moved to the office. It is impossible that Lily is green.,It is likely that either 'John 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.75::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.533506701340268,train,unlikely,likely,It is unlikely that either 'John moved to the office' or 'Lily is green' but not both.,It is likely that either 'John moved to the office' or 'Lily is green' but not both.,0,Either 'John moved to the office' or 'Lily is green' but not both. Chances are slight that Jason is tired. There is almost no chance that Fred dropped the milk. It is improbable that Brian is a frog.,There is a better than even chance that 'Fred 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. 0.02::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0020000000000000005,0.7375475095019004,train,impossible,better than even,It is impossible that 'Fred dropped the milk and Jason is tired'.,There is a better than even chance that 'Fred dropped the milk and Jason is tired'.,0,'Fred dropped the milk and Jason is tired'. It is unlikely that Brian is gray. There is a better than even chance that John put down the apple. It is certain that Bernhard is a swan.,There is little chance that either 'Brian is gray' 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.6::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.6757351470294058,train,very good chance,little chance,There is a very good chance that either 'Brian is gray' or 'Bernhard is a swan' but not both.,There is little chance that either 'Brian is gray' or 'Bernhard is a swan' but not both.,0,Either 'Brian is gray' or 'Bernhard is a swan' but not both. There is almost no chance that Julius is a lion. It is improbable that Mary dropped the apple. It is probably the case that Jason is tired.,We believe that 'Mary dropped 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.02::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.6963392678535707,train,we believe,little chance,We believe that 'Mary dropped the apple' or 'Jason is tired' or both.,There is little chance that 'Mary dropped the apple' or 'Jason is tired' or both.,1,'Mary dropped the apple' or 'Jason is tired' or both. It is almost certain that Julius is a lion. It is highly likely that Gertrude is a cat. It is probable that Greg is gray.,It is probably not the case that either 'Gertrude 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.95::factA. 0.9::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.33999999999999997,0.7315463092618524,train,probably not,almost certain,It is probably not the case that either 'Gertrude is a cat' or 'Greg is gray' but not both.,It is almost certain that either 'Gertrude is a cat' or 'Greg is gray' but not both.,1,Either 'Gertrude is a cat' or 'Greg is gray' but not both. There is a better than even chance that Brian is white. It is impossible that John went to the hallway. It is certain that Lily is a frog.,Chances are slight 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 0.6::factA. 0.0::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.5745149029805962,train,certain,chances are slight,It is certain that 'John went to the hallway' or 'Lily is a frog' or both.,Chances are slight 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. It is impossible that Daniel left the milk. It is likely that Jason is tired. We doubt that Bernhard is a swan.,There is a better than even chance that either 'Bernhard is a swan' 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.7::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.45649129825965196,train,better than even,little chance,There is a better than even chance that either 'Bernhard is a swan' or 'Jason is tired' but not both.,There is little chance that either 'Bernhard is a swan' or 'Jason is tired' but not both.,1,Either 'Bernhard is a swan' or 'Jason is tired' but not both. There is a very good chance that Daniel dropped the apple. It is highly unlikely that Lily is a rhino. We believe that Greg is yellow.,It is probable that 'Daniel 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.8::factA. 0.05::factB. 0.75::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.19803960792158432,train,highly unlikely,probable,It is highly unlikely that 'Daniel dropped the apple and Lily is a rhino'.,It is probable that 'Daniel dropped the apple and Lily is a rhino'.,0,'Daniel dropped the apple and Lily is a rhino'. It is probable that Julius is a lion. We believe that Jason is tired. There is almost no chance that Greg is a rhino.,Chances are slight that 'Greg is a rhino' 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. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.706,0.7141428285657131,train,probably,chances are slight,It is probably the case that 'Greg is a rhino' or 'Julius is a lion' or both.,Chances are slight that 'Greg is a rhino' or 'Julius is a lion' or both.,0,'Greg is a rhino' or 'Julius is a lion' or both. It is impossible that Daniel dropped the apple. There is a better than even chance that Lily is a rhino. There is a very good chance that Julius is a frog.,It is highly likely that 'Julius 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.0::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.92,0.7459491898379675,train,highly likely,we doubt,It is highly likely that 'Julius is a frog' or 'Lily is a rhino' or both.,We doubt that 'Julius is a frog' or 'Lily is a rhino' or both.,1,'Julius is a frog' or 'Lily is a rhino' or both. It is unlikely that Brian is yellow. It is impossible that Mary got the apple. It is certain that Julius is a swan.,It is improbable that 'Mary got the apple' 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.0::factB. 1.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.12002400480096019,train,certain,improbable,It is certain that 'Mary got the apple' or 'Julius is a swan' or both.,It is improbable that 'Mary got the apple' or 'Julius is a swan' or both.,0,'Mary got the apple' or 'Julius is a swan' or both. There is a very good chance that Emily is a wolf. It is probably the case that Brian is a frog. Chances are slight that John got the milk.,There is a better than even chance that 'John got 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 0.8::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.3740748149629926,train,little chance,better than even,There is little chance that 'John got the milk and Emily is a wolf'.,There is a better than even chance that 'John got the milk and Emily is a wolf'.,0,'John got the milk and Emily is a wolf'. It is unlikely that John dropped the apple. There is almost no chance that Winona is a mouse. It is probably the case that Bernhard is a rhino.,There is almost no chance 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.2::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.014000000000000007,0.6991398279655932,train,almost no chance,highly likely,There is almost no chance that 'Winona is a mouse and Bernhard is a rhino'.,It is highly likely that 'Winona is a mouse and Bernhard is a rhino'.,1,'Winona is a mouse and Bernhard is a rhino'. It is impossible that Lily is a swan. There is almost no chance that John moved to the office. It is probably the case that Sandra dropped the apple.,There is almost no chance that 'John moved to the office' 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.0::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.02,0.1254250850170034,train,almost no chance,highly likely,There is almost no chance that 'John moved to the office' or 'Lily is a swan' or both.,It is highly likely that 'John moved to the office' or 'Lily is a swan' or both.,1,'John moved to the office' or 'Lily is a swan' or both. It is almost certain that John grabbed the apple. It is impossible that Julius is a swan. It is improbable that Greg is gray.,There is little 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.95::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.10000000000000002,0.712742548509702,train,little chance,highly likely,There is little chance that 'Greg is gray' or 'Julius is a swan' or both.,It is highly likely that 'Greg is gray' or 'Julius is a swan' or both.,1,'Greg is gray' or 'Julius is a swan' or both. It is highly likely that Winona is a sheep. It is almost certain that Brian is a swan. It is improbable that John went to the garden.,It is improbable that 'Brian is a swan' 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.9::factA. 0.95::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.955,0.021604320864172834,train,almost certain,improbable,It is almost certain that 'Brian is a swan' or 'John went to the garden' or both.,It is improbable that 'Brian is a swan' or 'John went to the garden' or both.,0,'Brian is a swan' or 'John went to the garden' or both. There is little chance that Mary went to the hallway. There is almost no chance that Bernhard is green. There is almost no chance that Brian is a swan.,There is a very good chance that either 'Mary went to the hallway' 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.02::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.116,0.2534506901380276,train,chances are slight,very good chance,Chances are slight that either 'Mary went to the hallway' or 'Brian is a swan' but not both.,There is a very good chance that either 'Mary went to the hallway' or 'Brian is a swan' but not both.,0,Either 'Mary went to the hallway' or 'Brian is a swan' but not both. We believe that Brian is white. There is a better than even chance that John discarded the apple. It is almost certain that Mary went to the hallway.,It is probable that 'Mary went to the hallway 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.75::factA. 0.6::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.7125,0.6885377075415083,train,probable,almost no chance,It is probable that 'Mary went to the hallway and Brian is white'.,There is almost no chance that 'Mary went to the hallway and Brian is white'.,1,'Mary went to the hallway and Brian is white'. There is almost no chance that John picked up the milk. There is a very good chance that Brian is a swan. There is a better than even chance that Mary took the football.,It is highly likely that 'Mary took 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.02::factA. 0.8::factB. 0.6::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9199999999999999,0.4906981396279256,train,highly likely,almost no chance,It is highly likely that 'Mary took the football' or 'Brian is a swan' or both.,There is almost no chance that 'Mary took the football' or 'Brian is a swan' or both.,1,'Mary took the football' or 'Brian is a swan' or both. It is improbable that John went to the kitchen. It is almost certain that Gertrude is a cat. It is highly likely that Emily is a cat.,There is a better than even chance that either 'Emily is a cat' 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.1::factA. 0.95::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.017803560712142428,train,little chance,better than even,There is little chance that either 'Emily is a cat' or 'Gertrude is a cat' but not both.,There is a better than even chance that either 'Emily is a cat' or 'Gertrude is a cat' but not both.,0,Either 'Emily is a cat' or 'Gertrude is a cat' but not both. It is highly likely that Julius is a swan. It is almost certain that John put down the apple. It is certain that Lily is a frog.,It is unlikely that 'Lily 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.9::factA. 0.95::factB. 1.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.9,0.1802360472094419,train,highly likely,unlikely,It is highly likely that 'Lily is a frog and Julius is a swan'.,It is unlikely that 'Lily is a frog and Julius is a swan'.,0,'Lily is a frog and Julius is a swan'. It is highly likely that Daniel took the milk. It is probably not the case that Greg is green. It is unlikely that John dropped the milk.,We believe that either 'John dropped the milk' 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.9::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.5551110222044409,train,we believe,improbable,We believe that either 'John dropped the milk' or 'Daniel took the milk' but not both.,It is improbable that either 'John dropped the milk' or 'Daniel took the milk' but not both.,1,Either 'John dropped the milk' or 'Daniel took the milk' but not both. It is probable that Julius is white. It is impossible that Yann is bored. Chances are slight that Fred went to the garden.,It is impossible that 'Yann is bored 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.0::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.79375875175035,train,impossible,almost certain,It is impossible that 'Yann is bored and Julius is white'.,It is almost certain that 'Yann is bored and Julius is white'.,1,'Yann is bored and Julius is white'. There is a very good chance that John went to the office. We doubt that Brian is white. It is highly likely that Lily is a frog.,It is probably not the case that either 'John went 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.8::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25999999999999995,0.23804760952190437,train,probably not,we believe,It is probably not the case that either 'John went to the office' or 'Lily is a frog' but not both.,We believe that either 'John went to the office' or 'Lily is a frog' but not both.,1,Either 'John went to the office' or 'Lily is a frog' but not both. It is highly likely that John moved to the office. It is probably the case that Greg is a frog. There is a better than even chance that Bill got the milk there.,It is impossible that 'John moved to the office' or 'Greg is a frog' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.9::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.33906781356271254,train,almost certain,impossible,It is almost certain that 'John moved to the office' or 'Greg is a frog' or both.,It is impossible that 'John moved to the office' or 'Greg is a frog' or both.,0,'John moved to the office' or 'Greg is a frog' or both. We doubt that Sumit is thirsty. It is unlikely that Fred is in the office. It is certain that Sandra left the milk.,It is highly likely that either 'Fred is in the office' 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.2::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32,0.7985597119423885,train,probably not,highly likely,It is probably not the case that either 'Fred is in the office' or 'Sumit is thirsty' but not both.,It is highly likely that either 'Fred is in the office' or 'Sumit is thirsty' but not both.,0,Either 'Fred is in the office' or 'Sumit is thirsty' but not both. Chances are about even that Lily is yellow. We doubt that Bernhard is a rhino. It is probable that Fred left the football.,It is improbable that 'Fred 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.5::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.710742148429686,train,improbable,very good chance,It is improbable that 'Fred left the football and Bernhard is a rhino'.,There is a very good chance that 'Fred left the football and Bernhard is a rhino'.,1,'Fred left the football and Bernhard is a rhino'. It is probably not the case that Mary is in the bathroom. There is almost no chance that Sandra got the milk. It is probably not the case that Lily is green.,It is highly unlikely that 'Mary is in the bathroom' or 'Lily is green' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.25::factA. 0.02::factB. 0.25::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.4375,0.34666933386677334,train,about even,highly unlikely,Chances are about even that 'Mary is in the bathroom' or 'Lily is green' or both.,It is highly unlikely that 'Mary is in the bathroom' or 'Lily is green' or both.,0,'Mary is in the bathroom' or 'Lily is green' or both. There is a very good chance that Mary got the football. Chances are about even that Gertrude is a cat. It is highly unlikely that Daniel took the milk.,It is highly likely that 'Gertrude 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.8::factA. 0.5::factB. 0.05::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.7809561912382477,train,highly likely,highly unlikely,It is highly likely that 'Gertrude is a cat' or 'Mary got the football' or both.,It is highly unlikely that 'Gertrude is a cat' or 'Mary got the football' or both.,1,'Gertrude is a cat' or 'Mary got the football' or both. It is probable that Brian is a lion. It is impossible that Daniel got the football. There is little chance that Mary is in the bathroom.,It is highly unlikely that 'Brian is a lion 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.7961592318463693,train,highly unlikely,probably,It is highly unlikely that 'Brian is a lion and Mary is in the bathroom'.,It is probably the case that 'Brian is a lion and Mary is in the bathroom'.,1,'Brian is a lion and Mary is in the bathroom'. It is improbable that Mary went to the bedroom. It is unlikely that Fred put down the apple. There is a very good chance that Emily is a wolf.,Chances are slight that 'Mary went to the bedroom 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.1::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.40008001600320064,train,chances are slight,very good chance,Chances are slight that 'Mary went to the bedroom and Emily is a wolf'.,There is a very good chance that 'Mary went to the bedroom and Emily is a wolf'.,1,'Mary went to the bedroom and Emily is a wolf'. We doubt that Daniel dropped the milk. It is improbable that Mary went to the hallway. Chances are slight that Jessica is a cat.,It is likely that either 'Jessica is a cat' 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.1::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.483496699339868,train,probably not,likely,It is probably not the case that either 'Jessica is a cat' or 'Daniel dropped the milk' but not both.,It is likely that either 'Jessica is a cat' or 'Daniel dropped the milk' but not both.,0,Either 'Jessica is a cat' or 'Daniel dropped the milk' but not both. It is certain that Greg is white. It is likely that Brian is a rhino. It is unlikely that Julius is a swan.,It is certain that 'Greg 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 1.0::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.7939587917583517,train,certain,almost no chance,It is certain that 'Greg is white' or 'Julius is a swan' or both.,There is almost no chance that 'Greg is white' or 'Julius is a swan' or both.,1,'Greg is white' or 'Julius is a swan' or both. It is highly likely that Greg is a frog. It is almost certain that Lily is a rhino. It is almost certain that Bernhard is yellow.,There is almost no chance that 'Bernhard 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.9::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9975,0.10422084416883377,train,certain,almost no chance,It is certain that 'Bernhard is yellow' or 'Lily is a rhino' or both.,There is almost no chance that 'Bernhard is yellow' or 'Lily is a rhino' or both.,0,'Bernhard is yellow' or 'Lily is a rhino' or both. There is a better than even chance that Sandra got the milk. There is a better than even chance that Bernhard is a rhino. We doubt that Greg is gray.,It is probably the case that 'Sandra got 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.6::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.68,0.4262852570514103,train,probably,impossible,It is probably the case that 'Sandra got the milk' or 'Greg is gray' or both.,It is impossible that 'Sandra got the milk' or 'Greg is gray' or both.,1,'Sandra got the milk' or 'Greg is gray' or both. It is probably the case that Mary went to the garden. It is likely that Julius is gray. We believe that Lily is green.,Chances are about even that either 'Lily is green' 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.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.5191038207641528,train,about even,impossible,Chances are about even that either 'Lily is green' or 'Mary went to the garden' but not both.,It is impossible that either 'Lily is green' or 'Mary went to the garden' but not both.,1,Either 'Lily is green' or 'Mary went to the garden' but not both. There is a very good chance that Bernhard is a lion. It is likely that John took the apple. There is almost no chance that Sandra got the football.,It is probably the case that 'Sandra got the football 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.8::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014000000000000007,0.6499299859971994,train,almost no chance,probably,There is almost no chance that 'Sandra got the football and John took the apple'.,It is probably the case that 'Sandra got the football and John took the apple'.,0,'Sandra got the football and John took the apple'. It is impossible that Bernhard is a frog. There is little chance that Winona is a wolf. It is highly likely that Julius is white.,It is impossible that either 'Julius is white' 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.0::factA. 0.1::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.82,0.597119423884777,train,very good chance,impossible,There is a very good chance that either 'Julius is white' or 'Winona is a wolf' but not both.,It is impossible that either 'Julius is white' or 'Winona is a wolf' but not both.,0,Either 'Julius is white' or 'Winona is a wolf' but not both. We believe that Bernhard is green. It is probable that Brian is yellow. It is unlikely that Emily is a mouse.,It is probable that 'Emily is a mouse 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.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.15,0.03780756151230246,train,improbable,probable,It is improbable that 'Emily is a mouse and Bernhard is green'.,It is probable that 'Emily is a mouse and Bernhard is green'.,0,'Emily is a mouse and Bernhard is green'. Chances are slight that Sandra got the milk. It is almost certain that John left the football. It is unlikely that Bernhard is white.,It is probably the case that 'Bernhard 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.95::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.24124824964993,train,probably not,probably,It is probably not the case that 'Bernhard is white' or 'Sandra got the milk' or both.,It is probably the case that 'Bernhard is white' or 'Sandra got the milk' or both.,0,'Bernhard is white' or 'Sandra got the milk' or both. Chances are about even that John got the apple. There is little chance that Brian is white. It is probable that Julius is a lion.,Chances are about even that either 'Brian 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.5::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.42968593718743747,train,about even,impossible,Chances are about even that either 'Brian is white' or 'John got the apple' but not both.,It is impossible that either 'Brian is white' or 'John got the apple' but not both.,1,Either 'Brian is white' or 'John got the apple' but not both. There is little chance that Brian is a swan. It is impossible that Mary went to the garden. We believe that Lily is green.,There is a better than even chance that either 'Mary went to the garden' 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.0::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.10000000000000002,0.28885777155431086,train,chances are slight,better than even,Chances are slight that either 'Mary went to the garden' or 'Brian is a swan' but not both.,There is a better than even chance that either 'Mary went to the garden' or 'Brian is a swan' but not both.,0,Either 'Mary went to the garden' or 'Brian is a swan' but not both. There is a very good chance that Emily is a wolf. It is probably the case that Bernhard is green. It is probably the case that John discarded the apple.,There is a better than even chance that 'Bernhard is green 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.8::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.5319063812762552,train,better than even,impossible,There is a better than even chance that 'Bernhard is green and Emily is a wolf'.,It is impossible that 'Bernhard is green and Emily is a wolf'.,1,'Bernhard is green and Emily is a wolf'. There is a very good chance that Brian is yellow. It is improbable that Mary took the milk. It is unlikely that Jessica is a mouse.,Chances are about even that 'Mary took the milk 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. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.04880976195239048,train,almost no chance,about even,There is almost no chance that 'Mary took the milk and Jessica is a mouse'.,Chances are about even that 'Mary took the milk and Jessica is a mouse'.,0,'Mary took the milk and Jessica is a mouse'. It is likely that Julius is a frog. There is a better than even chance that Bernhard is gray. It is highly likely that Sandra took the milk.,Chances are slight that 'Bernhard 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 0.7::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.88,0.035607121424284856,train,highly likely,chances are slight,It is highly likely that 'Bernhard is gray' or 'Julius is a frog' or both.,Chances are slight that 'Bernhard is gray' or 'Julius is a frog' or both.,0,'Bernhard is gray' or 'Julius is a frog' or both. We believe that Jason is tired. There is a very good chance that Mary put down the milk. There is almost no chance that Brian is a lion.,It is almost certain that 'Mary put down the milk' 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.8::factB. 0.02::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9500000000000001,0.16623324664932987,train,almost certain,highly unlikely,It is almost certain that 'Mary put down the milk' or 'Jason is tired' or both.,It is highly unlikely that 'Mary put down the milk' or 'Jason is tired' or both.,1,'Mary put down the milk' or 'Jason is tired' or both. It is highly unlikely that John discarded the apple. We believe that Greg is gray. We believe that Emily is a mouse.,It is almost certain that either 'Greg is gray' or 'Emily is a mouse' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.75::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.375,0.13982796559311864,train,probably not,almost certain,It is probably not the case that either 'Greg is gray' or 'Emily is a mouse' but not both.,It is almost certain that either 'Greg is gray' or 'Emily is a mouse' but not both.,0,Either 'Greg is gray' or 'Emily is a mouse' but not both. It is improbable that John dropped the milk. We doubt that Lily is a lion. We doubt that Mary went to the kitchen.,There is a very good chance that 'John dropped 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.2::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.7053410682136427,train,probably not,very good chance,It is probably not the case that 'John dropped the milk' or 'Lily is a lion' or both.,There is a very good chance that 'John dropped the milk' or 'Lily is a lion' or both.,0,'John dropped the milk' or 'Lily is a lion' or both. It is highly likely that Bernhard is a rhino. There is a better than even chance that Winona is a wolf. It is probable that Sandra dropped the milk.,Chances are about even that 'Winona is a wolf 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.9::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.41999999999999993,0.6127225445089017,train,about even,certain,Chances are about even that 'Winona is a wolf and Sandra dropped the milk'.,It is certain that 'Winona is a wolf and Sandra dropped the milk'.,1,'Winona is a wolf and Sandra dropped the milk'. It is improbable that Emily is a mouse. There is a better than even chance that Brian is white. It is probably the case that Daniel got the football.,It is highly likely that 'Brian 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.1::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.17223444688937786,train,highly likely,little chance,It is highly likely that 'Brian is white' or 'Daniel got the football' or both.,There is little chance that 'Brian is white' or 'Daniel got the football' or both.,1,'Brian is white' or 'Daniel got the football' or both. It is impossible that John picked up the apple. It is highly unlikely that Bernhard is gray. Chances are slight that Greg is a lion.,There is little chance that either 'Greg 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.05::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.10000000000000002,0.5973194638927786,train,little chance,probably,There is little chance that either 'Greg is a lion' or 'John picked up the apple' but not both.,It is probably the case that either 'Greg is a lion' or 'John picked up the apple' but not both.,1,Either 'Greg is a lion' or 'John picked up the apple' but not both. It is unlikely that Mary discarded the milk. There is a better than even chance that Brian is green. Chances are slight that Lily is a swan.,It is improbable that either 'Brian is green' or 'Mary discarded the milk' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.2::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5599999999999999,0.4346869373874775,train,better than even,improbable,There is a better than even chance that either 'Brian is green' or 'Mary discarded the milk' but not both.,It is improbable that either 'Brian is green' or 'Mary discarded the milk' but not both.,0,Either 'Brian is green' or 'Mary discarded the milk' but not both. It is improbable that Bernhard is a lion. It is probable that Lily is white. There is a better than even chance that Mary left the milk.,There is almost no chance that either 'Lily 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.1::factA. 0.7::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.6633326665333067,train,probably,almost no chance,It is probably the case that either 'Lily is white' or 'Bernhard is a lion' but not both.,There is almost no chance that either 'Lily is white' or 'Bernhard is a lion' but not both.,0,Either 'Lily is white' or 'Bernhard is a lion' but not both. It is probable that Julius is yellow. Chances are about even that John left the apple. It is improbable that Greg is green.,We believe 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.7::factA. 0.5::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.35047009401880375,train,highly unlikely,we believe,It is highly unlikely that 'Julius is yellow and Greg is green'.,We believe that 'Julius is yellow and Greg is green'.,0,'Julius is yellow and Greg is green'. It is likely that Sandra left the milk. We doubt that John went to the office. Chances are about even that Mary dropped the apple.,It is unlikely that 'John 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.7::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.2448489697939588,train,we believe,unlikely,We believe that 'John went to the office' or 'Sandra left the milk' or both.,It is unlikely that 'John went to the office' or 'Sandra left the milk' or both.,0,'John went to the office' or 'Sandra left the milk' or both. It is impossible that Bernhard is green. There is almost no chance that Sandra took the football. It is highly unlikely that Mary moved to the garden.,It is highly unlikely that 'Sandra took the football' 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.0::factA. 0.02::factB. 0.05::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.069,0.7483496699339868,train,highly unlikely,certain,It is highly unlikely that 'Sandra took the football' or 'Mary moved to the garden' or both.,It is certain that 'Sandra took the football' or 'Mary moved to the garden' or both.,1,'Sandra took the football' or 'Mary moved to the garden' or both. It is almost certain that Brian is white. There is almost no chance that Greg is a swan. It is impossible that Bernhard is a lion.,It is probably not the case that 'Greg is a swan' 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.02::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.951,0.052810562112422486,train,almost certain,probably not,It is almost certain that 'Greg is a swan' or 'Brian is white' or both.,It is probably not the case that 'Greg is a swan' or 'Brian is white' or both.,0,'Greg is a swan' or 'Brian is white' or both. It is probable that Greg is a lion. It is likely that Fred left the football. It is certain that Mary put down the apple.,It is certain that 'Greg is a lion' 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. 1.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.5321064212842569,train,certain,about even,It is certain that 'Greg is a lion' or 'Mary put down the apple' or both.,Chances are about even that 'Greg is a lion' or 'Mary put down the apple' or both.,1,'Greg is a lion' or 'Mary put down the apple' or both. It is certain that Mary went to the office. It is certain that Julius is gray. It is almost certain that Jeff moved to the garden.,It is probably not the case that 'Julius is gray 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 1.0::factA. 1.0::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.95,0.5817163432686537,train,almost certain,probably not,It is almost certain that 'Julius is gray and Jeff moved to the garden'.,It is probably not the case that 'Julius is gray and Jeff moved to the garden'.,0,'Julius is gray and Jeff moved to the garden'. Chances are slight that Greg is gray. There is a very good chance that Mary grabbed the milk. It is almost certain that John dropped the apple.,Chances are slight that 'Mary grabbed 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.1::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.08000000000000002,0.3300660132026405,train,chances are slight,better than even,Chances are slight that 'Mary grabbed the milk and Greg is gray'.,There is a better than even chance that 'Mary grabbed the milk and Greg is gray'.,1,'Mary grabbed the milk and Greg is gray'. It is improbable that John took the apple. It is certain that Bernhard is yellow. There is a better than even chance that Greg is a rhino.,There is a better than even chance that either 'John took the apple' or 'Greg is a rhino' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.58,0.4322864572914583,train,better than even,little chance,There is a better than even chance that either 'John took the apple' or 'Greg is a rhino' but not both.,There is little chance that either 'John took the apple' or 'Greg is a rhino' but not both.,1,Either 'John took the apple' or 'Greg is a rhino' but not both. It is likely that John went to the garden. It is unlikely that Lily is gray. It is highly unlikely that Daniel dropped the apple.,It is unlikely that either 'John 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.7::factA. 0.2::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6799999999999999,0.01800360072014403,train,probable,unlikely,It is probable that either 'John went to the garden' or 'Daniel dropped the apple' but not both.,It is unlikely that either 'John went to the garden' or 'Daniel dropped the apple' but not both.,0,Either 'John went to the garden' or 'Daniel dropped the apple' but not both. It is highly likely that Greg is green. There is almost no chance that Lily is a rhino. It is impossible that Brian is yellow.,There is almost no chance 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.9::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9,0.5687137427485497,train,highly likely,almost no chance,It is highly likely that 'Greg is green' or 'Brian is yellow' or both.,There is almost no chance that 'Greg is green' or 'Brian is yellow' or both.,0,'Greg is green' or 'Brian is yellow' or both. It is probable that Bernhard is a swan. Chances are about even that Lily is a rhino. We doubt that John dropped the apple.,It is impossible that either 'Lily is a rhino' 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.5::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.4680936187237448,train,about even,impossible,Chances are about even that either 'Lily is a rhino' or 'John dropped the apple' but not both.,It is impossible that either 'Lily is a rhino' or 'John dropped the apple' but not both.,0,Either 'Lily is a rhino' or 'John dropped the apple' but not both. It is highly unlikely that Julius is yellow. There is almost no chance that John moved to the garden. We believe that Greg is a swan.,It is highly unlikely that 'John 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.05::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.069,0.7245449089817964,train,highly unlikely,almost certain,It is highly unlikely that 'John moved to the garden' or 'Julius is yellow' or both.,It is almost certain that 'John moved to the garden' or 'Julius is yellow' or both.,1,'John moved to the garden' or 'Julius is yellow' or both. Chances are slight that John grabbed the apple. There is a better than even chance that Bernhard is yellow. It is highly likely that Julius is a frog.,Chances are slight 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.1::factA. 0.6::factB. 0.9::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.09000000000000001,0.27545509101820365,train,chances are slight,certain,Chances are slight that 'John grabbed the apple and Julius is a frog'.,It is certain that 'John grabbed the apple and Julius is a frog'.,1,'John grabbed the apple and Julius is a frog'. It is probable that Brian is a rhino. We doubt that Bernhard is gray. Chances are slight that Mary went to the office.,It is probably not the case that 'Mary went to the office' 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.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.5069013802760552,train,probably not,almost certain,It is probably not the case that 'Mary went to the office' or 'Bernhard is gray' or both.,It is almost certain that 'Mary went to the office' or 'Bernhard is gray' or both.,1,'Mary went to the office' or 'Bernhard is gray' or both. There is a very good chance that Bernhard is a lion. It is likely that Emily is a wolf. There is a very good chance that Greg is gray.,There is a better than even chance that 'Emily is a wolf 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.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5599999999999999,0.11142228445689138,train,better than even,improbable,There is a better than even chance that 'Emily is a wolf and Greg is gray'.,It is improbable that 'Emily is a wolf and Greg is gray'.,1,'Emily is a wolf and Greg is gray'. It is unlikely that Sandra grabbed the milk. There is a better than even chance that Julius is a swan. We believe that Mary took the football.,It is impossible that 'Mary took the football' or 'Sandra 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.6::factB. 0.75::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8,0.3176635327065413,train,very good chance,impossible,There is a very good chance that 'Mary took the football' or 'Sandra grabbed the milk' or both.,It is impossible that 'Mary took the football' or 'Sandra grabbed the milk' or both.,0,'Mary took the football' or 'Sandra grabbed the milk' or both. It is improbable that John went to the office. It is highly likely that Brian is a rhino. It is improbable that Bernhard is a frog.,Chances are slight that 'Brian 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.1::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09000000000000001,0.7639527905581116,train,chances are slight,very good chance,Chances are slight that 'Brian is a rhino and Bernhard is a frog'.,There is a very good chance that 'Brian is a rhino and Bernhard is a frog'.,1,'Brian is a rhino and Bernhard is a frog'. Chances are about even that John moved to the office. Chances are slight that Mary went to the garden. It is impossible that Bernhard is yellow.,It is almost certain that 'John moved to the office and Bernhard is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.1860372074414883,train,impossible,almost certain,It is impossible that 'John moved to the office and Bernhard is yellow'.,It is almost certain that 'John moved to the office and Bernhard is yellow'.,0,'John moved to the office and Bernhard is yellow'. Chances are about even that Mary is in the school. It is unlikely that Lily is a lion. It is highly likely that Greg is a rhino.,It is improbable that 'Mary is in the school' 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.2::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.6000000000000001,0.593118623724745,train,better than even,improbable,There is a better than even chance that 'Mary is in the school' or 'Lily is a lion' or both.,It is improbable that 'Mary is in the school' or 'Lily is a lion' or both.,0,'Mary is in the school' or 'Lily is a lion' or both. It is probably the case that John took the football. It is probably the case that Julius is a lion. It is probably not the case that Winona is a wolf.,It is impossible that either 'John took the football' 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.7::factA. 0.7::factB. 0.25::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.029405881176235247,train,better than even,impossible,There is a better than even chance that either 'John took the football' or 'Winona is a wolf' but not both.,It is impossible that either 'John took the football' or 'Winona is a wolf' but not both.,0,Either 'John took the football' or 'Winona is a wolf' but not both. We doubt that Greg is a frog. It is highly unlikely that John got the apple. It is probably not the case that Julius is a swan.,It is highly unlikely that 'Julius is a swan 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.05::factB. 0.25::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.48189637927585516,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a swan and Greg is a frog'.,It is almost certain that 'Julius is a swan and Greg is a frog'.,1,'Julius is a swan and Greg is a frog'. There is almost no chance that John moved to the garden. We doubt that Bernhard is a rhino. There is almost no chance that Daniel grabbed the milk.,Chances are about even that 'Daniel grabbed 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.2::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.0396,0.027005401080216044,train,highly unlikely,about even,It is highly unlikely that 'Daniel grabbed the milk' or 'John moved to the garden' or both.,Chances are about even that 'Daniel grabbed the milk' or 'John moved to the garden' or both.,0,'Daniel grabbed the milk' or 'John moved to the garden' or both. Chances are about even that Greg is a lion. Chances are slight that Julius is green. It is almost certain that John went to the office.,It is improbable 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.5::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.55,0.1894378875775155,train,better than even,improbable,There is a better than even chance that 'Greg is a lion' or 'Julius is green' or both.,It is improbable that 'Greg is a lion' or 'Julius is green' or both.,0,'Greg is a lion' or 'Julius is green' or both. It is highly likely that Julius is gray. Chances are about even that John discarded the milk. It is highly likely that Mary left the apple.,Chances are about even that 'Julius is gray' 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.9::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.95,0.4404880976195239,train,almost certain,about even,It is almost certain that 'Julius is gray' or 'John discarded the milk' or both.,Chances are about even that 'Julius is gray' or 'John discarded the milk' or both.,0,'Julius is gray' or 'John discarded the milk' or both. It is certain that Emily is a mouse. It is probable that Mary dropped the apple. There is almost no chance that Bernhard is a rhino.,It is certain that 'Bernhard 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 1.0::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.3150630126025205,train,certain,about even,It is certain that 'Bernhard is a rhino' or 'Emily is a mouse' or both.,Chances are about even that 'Bernhard is a rhino' or 'Emily is a mouse' or both.,1,'Bernhard is a rhino' or 'Emily is a mouse' or both. Chances are about even that Bernhard is gray. We believe that Lily is a swan. We doubt that Sandra took the apple.,It is probable that 'Lily is a swan 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.75::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.15,0.022604520904180837,train,little chance,probable,There is little chance that 'Lily is a swan and Sandra took the apple'.,It is probable that 'Lily is a swan and Sandra took the apple'.,0,'Lily is a swan and Sandra took the apple'. It is certain that Lily is yellow. It is unlikely that Bernhard is a lion. There is little chance that Gertrude is a cat.,It is highly likely that 'Lily 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 1.0::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.760752150430086,train,chances are slight,highly likely,Chances are slight that 'Lily is yellow and Gertrude is a cat'.,It is highly likely that 'Lily is yellow and Gertrude is a cat'.,0,'Lily is yellow and Gertrude is a cat'. It is impossible that John picked up the apple. We doubt that Lily is a lion. There is almost no chance that Brian is a rhino.,Chances are about even 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.0::factA. 0.2::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.02,0.35227045409081814,train,almost no chance,about even,There is almost no chance that either 'John picked up the apple' or 'Brian is a rhino' but not both.,Chances are about even that either 'John picked up the apple' or 'Brian is a rhino' but not both.,0,Either 'John picked up the apple' or 'Brian is a rhino' but not both. It is highly likely that Lily is a swan. It is almost certain that Julius is a rhino. We doubt that Sandra left the milk.,We doubt that 'Sandra 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.9::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.18000000000000002,0.39707941588317663,train,we doubt,likely,We doubt that 'Sandra left the milk and Lily is a swan'.,It is likely that 'Sandra left the milk and Lily is a swan'.,1,'Sandra left the milk and Lily is a swan'. It is probably not the case that Sandra left the football. There is little chance that Brian is green. It is certain that Bernhard is a rhino.,It is highly 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.25::factA. 0.1::factB. 1.0::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9,0.6699339867973595,train,highly likely,chances are slight,It is highly likely that either 'Bernhard is a rhino' or 'Brian is green' but not both.,Chances are slight 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 very good chance that Greg is a swan. There is a very good chance that Sandra left the milk. It is unlikely that Bernhard is yellow.,There is a very good chance that 'Greg is a swan' 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.8::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8400000000000001,0.7903580716143229,train,very good chance,little chance,There is a very good chance that 'Greg is a swan' or 'Bernhard is yellow' or both.,There is little chance that 'Greg is a swan' or 'Bernhard is yellow' or both.,1,'Greg is a swan' or 'Bernhard is yellow' or both. It is unlikely that Julius is a lion. We doubt that Winona is a mouse. It is likely that Brian is yellow.,It is improbable 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.2::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.3766753350670134,train,better than even,improbable,There is a better than even chance that either 'Julius is a lion' or 'Brian is yellow' but not both.,It is improbable that either 'Julius is a lion' or 'Brian is yellow' but not both.,0,Either 'Julius is a lion' or 'Brian is yellow' but not both. It is highly likely that Jessica is a mouse. It is likely that Lily is a swan. It is unlikely that Brian is gray.,It is probably not the case that either 'Jessica is a mouse' 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.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.33999999999999997,0.41428285657131425,train,probably not,likely,It is probably not the case that either 'Jessica is a mouse' or 'Lily is a swan' but not both.,It is likely that either 'Jessica is a mouse' or 'Lily is a swan' but not both.,1,Either 'Jessica is a mouse' or 'Lily is a swan' but not both. It is likely that Mary went to the kitchen. There is almost no chance that Julius is a swan. There is a very good chance that Brian is a frog.,It is probably the case that 'Julius is a swan' 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.02::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.03100620124024805,train,probably,we doubt,It is probably the case that 'Julius is a swan' or 'Mary went to the kitchen' or both.,We doubt that 'Julius is a swan' or 'Mary went to the kitchen' or both.,1,'Julius is a swan' or 'Mary went to the kitchen' or both. It is highly unlikely that Sandra got the milk. It is certain that Daniel left the apple. There is almost no chance that Julius is a swan.,It is highly unlikely that either 'Sandra got 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.05::factA. 1.0::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.068,0.6635327065413082,train,highly unlikely,highly likely,It is highly unlikely that either 'Sandra got the milk' or 'Julius is a swan' but not both.,It is highly likely that either 'Sandra got the milk' or 'Julius is a swan' but not both.,1,Either 'Sandra got the milk' or 'Julius is a swan' but not both. It is impossible that Bernhard is a frog. It is impossible that John moved to the office. It is highly unlikely that Mary got the football.,It is almost certain that either 'John moved to the office' or 'Bernhard is a frog' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.0,0.7739547909581916,train,impossible,almost certain,It is impossible that either 'John moved to the office' or 'Bernhard is a frog' but not both.,It is almost certain that either 'John moved to the office' or 'Bernhard is a frog' but not both.,0,Either 'John moved to the office' or 'Bernhard is a frog' but not both. It is likely that Lily is a frog. There is almost no chance that John discarded the milk. Chances are about even that Mary took the football.,It is probably the case that 'Lily is a frog 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.02::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.5637127425485097,train,almost no chance,probably,There is almost no chance that 'Lily is a frog and John discarded the milk'.,It is probably the case that 'Lily is a frog and John discarded the milk'.,0,'Lily is a frog and John discarded the milk'. It is probably the case that Brian is green. It is highly likely that John got the apple. It is almost certain that Lily is a swan.,It is probably not the case 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.7::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.32000000000000006,0.5177035407081416,train,probably not,likely,It is probably not the case that either 'Brian is green' or 'Lily is a swan' but not both.,It is likely that either 'Brian is green' or 'Lily is a swan' but not both.,1,Either 'Brian is green' or 'Lily is a swan' but not both. It is unlikely that Julius is a rhino. It is highly likely that Mary went to the bedroom. There is a very good chance that John moved to the garden.,It is highly unlikely that 'Mary went to the bedroom 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.2::factA. 0.9::factB. 0.8::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.7200000000000001,0.7307461492298459,train,probable,highly unlikely,It is probable that 'Mary went to the bedroom and John moved to the garden'.,It is highly unlikely that 'Mary went to the bedroom and John moved to the garden'.,0,'Mary went to the bedroom and John moved to the garden'. It is probable that John put down the apple. There is almost no chance that Sandra took the football. We believe that Bernhard is green.,It is highly unlikely that either 'John put down the apple' 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.02::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.5717143428685737,train,about even,highly unlikely,Chances are about even that either 'John put down the apple' or 'Bernhard is green' but not both.,It is highly unlikely that either 'John put down the apple' or 'Bernhard is green' but not both.,0,Either 'John put down the apple' or 'Bernhard is green' but not both. Chances are about even that Mary dropped the milk. It is improbable that John moved to the garden. It is improbable that Lily is a rhino.,There is little chance that 'Lily is a rhino' 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.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.55,0.7035407081416283,train,better than even,little chance,There is a better than even chance that 'Lily is a rhino' or 'Mary dropped the milk' or both.,There is little chance that 'Lily is a rhino' or 'Mary dropped the milk' or both.,0,'Lily is a rhino' or 'Mary dropped the milk' or both. It is likely that Jason is tired. It is highly unlikely that Mary discarded the milk. Chances are slight that Greg is green.,It is probably not the case 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.7::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.14782956591318264,train,probably,probably not,It is probably the case that either 'Greg is green' or 'Jason is tired' but not both.,It is probably not the case that either 'Greg is green' or 'Jason is tired' but not both.,0,Either 'Greg is green' or 'Jason is tired' but not both. There is a better than even chance that John moved to the office. It is highly unlikely that Lily is a rhino. It is unlikely that Jeff dropped the apple.,It is improbable that 'Jeff dropped 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.05::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.68,0.4044808961792358,train,likely,improbable,It is likely that 'Jeff dropped the apple' or 'John moved to the office' or both.,It is improbable that 'Jeff dropped the apple' or 'John moved to the office' or both.,0,'Jeff dropped the apple' or 'John moved to the office' or both. It is almost certain that Daniel left the milk. Chances are about even that Greg is white. It is highly likely that Mary got the football.,It is probably not the case that 'Mary got the football 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.95::factA. 0.5::factB. 0.9::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.855,0.267253450690138,train,highly likely,probably not,It is highly likely that 'Mary got the football and Daniel left the milk'.,It is probably not the case that 'Mary got the football and Daniel left the milk'.,0,'Mary got the football and Daniel left the milk'. It is improbable that John went to the office. There is a better than even chance that Brian is a rhino. It is likely that Mary took the football.,We believe that 'Mary took 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.1::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.11102220444088817,train,we believe,we doubt,We believe that 'Mary took the football' or 'John went to the office' or both.,We doubt that 'Mary took the football' or 'John went to the office' or both.,1,'Mary took the football' or 'John went to the office' or both. It is highly unlikely that Bernhard is a swan. Chances are about even that John left the apple. It is highly unlikely that Julius is a lion.,Chances are about even that either 'John left the apple' 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.5::factB. 0.05::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.10402080416083216,train,about even,highly unlikely,Chances are about even that either 'John left the apple' or 'Julius is a lion' but not both.,It is highly unlikely that either 'John left the apple' or 'Julius is a lion' but not both.,1,Either 'John left the apple' or 'Julius is a lion' but not both. There is a better than even chance that Greg is a swan. Chances are slight that John left the milk. It is almost certain that Jeff dropped the apple.,It is highly unlikely that 'Greg 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 0.6::factA. 0.1::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.06,0.379875975195039,train,highly unlikely,likely,It is highly unlikely that 'Greg is a swan and John left the milk'.,It is likely that 'Greg is a swan and John left the milk'.,1,'Greg is a swan and John left the milk'. It is unlikely that Bill got the milk there. It is probable that Bernhard is green. It is almost certain that John moved to the office.,It is probably not the case that either 'Bernhard is green' 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.7::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32000000000000006,0.11662332466493298,train,probably not,highly likely,It is probably not the case that either 'Bernhard is green' or 'John moved to the office' but not both.,It is highly likely that either 'Bernhard is green' or 'John moved to the office' but not both.,1,Either 'Bernhard is green' or 'John moved to the office' but not both. We believe that Jeff moved to the office. It is unlikely that Daniel took the milk. It is unlikely that Julius is white.,Chances are slight that either 'Daniel took the milk' 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.75::factA. 0.2::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.22244448889777957,train,probably,chances are slight,It is probably the case that either 'Daniel took the milk' or 'Jeff moved to the office' but not both.,Chances are slight that either 'Daniel took the milk' or 'Jeff moved to the office' but not both.,0,Either 'Daniel took the milk' or 'Jeff moved to the office' but not both. There is little chance that Winona is a sheep. It is improbable that John went to the bedroom. We doubt that Fred dropped the milk.,It is likely that 'Fred dropped 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.1::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.4728945789157832,train,almost no chance,likely,There is almost no chance that 'Fred dropped the milk and John went to the bedroom'.,It is likely that 'Fred dropped the milk and John went to the bedroom'.,0,'Fred dropped the milk and John went to the bedroom'. It is unlikely that Lily is white. Chances are slight that John went to the office. It is likely that Bernhard is white.,We believe that 'Bernhard is white 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.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.585117023404681,train,improbable,we believe,It is improbable that 'Bernhard is white and Lily is white'.,We believe that 'Bernhard is white and Lily is white'.,0,'Bernhard is white and Lily is white'. It is highly unlikely that Greg is a frog. There is almost no chance that Sandra dropped the milk. Chances are slight that Mary went to the hallway.,It is likely that either 'Greg 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.05::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.068,0.6247249449889978,train,highly unlikely,likely,It is highly unlikely that either 'Greg is a frog' or 'Sandra dropped the milk' but not both.,It is likely that either 'Greg is a frog' or 'Sandra dropped the milk' but not both.,0,Either 'Greg is a frog' or 'Sandra dropped the milk' but not both. It is unlikely that Sandra dropped the milk. There is almost no chance that Bernhard is a lion. It is probable that Lily is a swan.,There is a better than even chance 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.2::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.62,0.6533306661332267,train,better than even,little chance,There is a better than even chance that either 'Sandra dropped the milk' or 'Lily is a swan' but not both.,There is little chance that either 'Sandra dropped the milk' or 'Lily is a swan' but not both.,1,Either 'Sandra dropped the milk' or 'Lily is a swan' but not both. It is improbable that Emily is a wolf. There is almost no chance that Julius is a swan. It is certain that Greg is gray.,It is probable that 'Julius 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.02::factB. 1.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02,0.34506901380276056,train,almost no chance,probable,There is almost no chance that 'Julius is a swan and Greg is gray'.,It is probable that 'Julius is a swan and Greg is gray'.,0,'Julius is a swan and Greg is gray'. It is improbable that Mary picked up the milk. It is certain that Greg is gray. Chances are slight that Brian is a swan.,There is almost no chance that 'Mary picked up 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.1::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.09381876375275056,train,almost no chance,about even,There is almost no chance that 'Mary picked up the milk and Brian is a swan'.,Chances are about even that 'Mary picked up the milk and Brian is a swan'.,1,'Mary picked up the milk and Brian is a swan'. We doubt that Bernhard is a frog. It is highly unlikely that Brian is a lion. It is probably the case that Winona is a mouse.,There is a very good chance 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.2::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.24000000000000005,0.13062612522504502,train,probably not,very good chance,It is probably not the case that 'Bernhard is a frog' or 'Brian is a lion' or both.,There is a very good chance that 'Bernhard is a frog' or 'Brian is a lion' or both.,0,'Bernhard is a frog' or 'Brian is a lion' or both. We believe that Sandra left the milk. Chances are about even that Winona is a mouse. We believe that Daniel put down the milk.,It is probably the case that either 'Sandra left the milk' or 'Daniel 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.5::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.375,0.5565113022604521,train,probably not,probably,It is probably not the case that either 'Sandra left the milk' or 'Daniel put down the milk' but not both.,It is probably the case that either 'Sandra left the milk' or 'Daniel put down the milk' but not both.,0,Either 'Sandra left the milk' or 'Daniel put down the milk' but not both. There is a very good chance that Greg is a swan. It is almost certain that Antoine is hungry. We doubt that Lily is yellow.,There is a very good chance that 'Lily is yellow' or 'Greg is a swan' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.8::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8400000000000001,0.7003400680136027,train,very good chance,little chance,There is a very good chance that 'Lily is yellow' or 'Greg is a swan' or both.,There is little chance that 'Lily is yellow' or 'Greg is a swan' or both.,1,'Lily is yellow' or 'Greg is a swan' or both. It is certain that Emily is a wolf. There is a better than even chance that Greg is a rhino. It is improbable that Lily is green.,There is a better than even chance 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 1.0::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6,0.3606721344268854,train,better than even,almost no chance,There is a better than even chance that 'Greg is a rhino and Emily is a wolf'.,There is almost no chance that 'Greg is a rhino and Emily is a wolf'.,1,'Greg is a rhino and Emily is a wolf'. It is probable that Lily is a lion. It is likely that Greg is a swan. It is probably not the case that John went to the kitchen.,It is highly unlikely that either 'John went to the kitchen' 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.7::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6,0.6813362672534506,train,better than even,highly unlikely,There is a better than even chance that either 'John went to the kitchen' or 'Greg is a swan' but not both.,It is highly unlikely that either 'John went to the kitchen' or 'Greg is a swan' but not both.,0,Either 'John went to the kitchen' or 'Greg is a swan' but not both. It is certain that Lily is a swan. It is certain that Sandra dropped the milk. There is a very good chance that Julius is a rhino.,We believe 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 1.0::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.19999999999999998,0.07801560312062412,train,we doubt,we believe,We doubt that either 'Lily is a swan' or 'Julius is a rhino' but not both.,We believe 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. It is probably not the case that Greg is a rhino. It is likely that Sandra left the apple. It is improbable that Antoine is hungry.,It is almost certain that either 'Greg is a rhino' 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.628125625125025,train,probably not,almost certain,It is probably not the case that either 'Greg is a rhino' or 'Antoine is hungry' but not both.,It is almost certain that either 'Greg is a rhino' or 'Antoine is hungry' but not both.,0,Either 'Greg is a rhino' or 'Antoine is hungry' but not both. There is a very good chance that Winona is a sheep. It is almost certain that Julius is white. It is unlikely that Sandra got the milk.,It is certain that 'Sandra got 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.8::factA. 0.95::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.19,0.375875175035007,train,unlikely,certain,It is unlikely that 'Sandra got the milk and Julius is white'.,It is certain that 'Sandra got the milk and Julius is white'.,0,'Sandra got the milk and Julius is white'. It is impossible that Brian is a rhino. It is impossible that John left the apple. It is unlikely that Lily is green.,It is impossible that 'John 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.0::factA. 0.0::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.0,0.09821964392878575,train,impossible,very good chance,It is impossible that 'John left the apple' or 'Brian is a rhino' or both.,There is a very good chance that 'John left the apple' or 'Brian is a rhino' or both.,1,'John left the apple' or 'Brian is a rhino' or both. There is little chance that Greg is gray. It is probable that Mary moved to the office. It is highly likely that Brian is a rhino.,There is little chance that 'Greg 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.1::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.91,0.3052610522104421,train,highly likely,little chance,It is highly likely that 'Greg is gray' or 'Brian is a rhino' or both.,There is little chance that 'Greg is gray' or 'Brian is a rhino' or both.,0,'Greg is gray' or 'Brian is a rhino' or both. There is almost no chance that Mary went to the garden. There is almost no chance that Daniel took the football. It is almost certain that Sumit is thirsty.,It is improbable that either 'Sumit is thirsty' 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.02::factA. 0.02::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9319999999999999,0.781756351270254,train,almost certain,improbable,It is almost certain that either 'Sumit is thirsty' or 'Daniel took the football' but not both.,It is improbable that either 'Sumit is thirsty' or 'Daniel took the football' but not both.,0,Either 'Sumit is thirsty' or 'Daniel took the football' but not both. It is impossible that Mary moved to the office. We doubt that Sandra took the football. It is probably not the case that Lily is green.,It is probably the case that either 'Sandra took 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.0::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.35000000000000003,0.39747949589917986,train,probably not,probably,It is probably not the case that either 'Sandra took the football' or 'Lily is green' but not both.,It is probably the case that either 'Sandra took the football' or 'Lily is green' but not both.,0,Either 'Sandra took the football' or 'Lily is green' but not both. It is probably the case that John discarded the milk. Chances are slight that Lily is a swan. It is improbable that Gertrude is a cat.,We believe that 'Lily 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.5805161032206442,train,we believe,we doubt,We believe that 'Lily is a swan' or 'John discarded the milk' or both.,We doubt that 'Lily is a swan' or 'John discarded the milk' or both.,1,'Lily is a swan' or 'John discarded the milk' or both. It is probably the case that Winona is a wolf. It is impossible that Bernhard is a frog. Chances are slight that Greg is yellow.,There is little chance that 'Bernhard 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.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.2740548109621924,train,little chance,likely,There is little chance that 'Bernhard is a frog' or 'Greg is yellow' or both.,It is likely that 'Bernhard is a frog' or 'Greg is yellow' or both.,1,'Bernhard is a frog' or 'Greg is yellow' or both. It is almost certain that Mary went to the bedroom. There is a better than even chance that Lily is a swan. We believe that Julius is a lion.,It is certain that 'Lily 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.95::factA. 0.6::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45,0.367873574714943,train,about even,certain,Chances are about even that 'Lily is a swan and Julius is a lion'.,It is certain that 'Lily is a swan and Julius is a lion'.,0,'Lily is a swan and Julius is a lion'. It is certain that Lily is green. There is little chance that Julius is white. There is almost no chance that John grabbed the apple.,It is improbable that either 'John grabbed 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 1.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.7069413882776555,train,improbable,better than even,It is improbable that either 'John grabbed the apple' or 'Julius is white' but not both.,There is a better than even chance that either 'John grabbed the apple' or 'Julius is white' but not both.,1,Either 'John grabbed the apple' or 'Julius is white' but not both. Chances are slight that Greg is gray. It is probably not the case that Mary dropped the milk. We doubt that Brian is a frog.,Chances are about even that 'Brian 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.1::factA. 0.25::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.4,0.4708941788357672,train,about even,highly unlikely,Chances are about even that 'Brian is a frog' or 'Mary dropped the milk' or both.,It is highly unlikely that 'Brian is a frog' or 'Mary dropped the milk' or both.,1,'Brian is a frog' or 'Mary dropped the milk' or both. It is likely that John got the milk. Chances are slight that Bernhard is a lion. It is improbable that Jeff left the apple.,Chances are slight that 'Bernhard is a lion' 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.7::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.2506501300260052,train,we believe,chances are slight,We believe that 'Bernhard is a lion' or 'John got the milk' or both.,Chances are slight that 'Bernhard is a lion' or 'John got the milk' or both.,0,'Bernhard is a lion' or 'John got the milk' or both. It is highly unlikely that John went to the office. It is probably not the case that Mary got the football. It is likely that Julius is a swan.,There is a very good chance that 'John went to the office and Mary got the football'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.012500000000000006,0.620124024804961,train,almost no chance,very good chance,There is almost no chance that 'John went to the office and Mary got the football'.,There is a very good chance that 'John went to the office and Mary got the football'.,0,'John went to the office and Mary got the football'. We doubt that Mary left the football. We doubt that Julius is yellow. It is almost certain that John discarded the apple.,It is probably the case that 'Julius is yellow 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.2::factA. 0.2::factB. 0.95::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.75375075015003,train,we doubt,probably,We doubt that 'Julius is yellow and John discarded the apple'.,It is probably the case that 'Julius is yellow and John discarded the apple'.,0,'Julius is yellow and John discarded the apple'. There is little chance that Sumit is thirsty. It is likely that Gertrude is a mouse. There is little chance that Daniel got the football.,It is highly unlikely that 'Sumit is thirsty' 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.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.6849369873974795,train,we believe,highly unlikely,We believe that 'Sumit is thirsty' or 'Gertrude is a mouse' or both.,It is highly unlikely that 'Sumit is thirsty' or 'Gertrude is a mouse' or both.,0,'Sumit is thirsty' or 'Gertrude is a mouse' or both. It is highly unlikely that Jason is tired. It is impossible that Brian is a swan. There is a very good chance that Gertrude is a cat.,There is a very good chance 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.05::factA. 0.0::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8,0.5375075015003,train,very good chance,we doubt,There is a very good chance that 'Brian is a swan' or 'Gertrude is a cat' or both.,We doubt that 'Brian is a swan' or 'Gertrude is a cat' or both.,1,'Brian is a swan' or 'Gertrude is a cat' or both. It is probably the case that John put down the milk. It is unlikely that Mary left the milk. Chances are about even that Bernhard is a lion.,It is almost certain that 'Mary left the milk 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.2::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.3444688937787557,train,improbable,almost certain,It is improbable that 'Mary left the milk and Bernhard is a lion'.,It is almost certain that 'Mary left the milk and Bernhard is a lion'.,0,'Mary left the milk and Bernhard is a lion'. It is likely that Julius is a frog. There is almost no chance that Mary went to the office. It is highly unlikely that Sandra left the milk.,Chances are about even that 'Julius 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.02::factB. 0.05::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.5039007801560312,train,almost no chance,about even,There is almost no chance that 'Julius is a frog and Mary went to the office'.,Chances are about even that 'Julius is a frog and Mary went to the office'.,0,'Julius is a frog and Mary went to the office'. It is probable that Sandra dropped the milk. Chances are about even that John took the football. It is almost certain that Lily is a rhino.,It is impossible 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.7::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.975,0.7081416283256652,train,almost certain,impossible,It is almost certain that 'John took the football' or 'Lily is a rhino' or both.,It is impossible that 'John took the football' or 'Lily is a rhino' or both.,0,'John took the football' or 'Lily is a rhino' or both. There is a very good chance that Julius is a lion. It is unlikely that Sandra took the milk. Chances are about even that Brian is a rhino.,It is highly unlikely that 'Brian 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.8::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.4,0.15303060612122424,train,about even,highly unlikely,Chances are about even that 'Brian is a rhino and Julius is a lion'.,It is highly unlikely that 'Brian is a rhino and Julius is a lion'.,0,'Brian is a rhino and Julius is a lion'. There is almost no chance that Mary moved to the garden. We doubt that Julius is white. It is impossible that John put down the apple.,There is almost no chance that either 'John put down the apple' 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.02::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.02,0.2624524904980996,train,almost no chance,we believe,There is almost no chance that either 'John put down the apple' or 'Mary moved to the garden' but not both.,We believe that either 'John put down the apple' or 'Mary moved to the garden' but not both.,1,Either 'John put down the apple' or 'Mary moved to the garden' but not both. It is probably the case that Bernhard is yellow. We believe that Bill went to the kitchen. There is a better than even chance that John moved to the garden.,Chances are about even that either 'Bill went to the kitchen' 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.75::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45000000000000007,0.06881376275255051,train,about even,certain,Chances are about even that either 'Bill went to the kitchen' or 'John moved to the garden' but not both.,It is certain that either 'Bill went to the kitchen' or 'John moved to the garden' but not both.,1,Either 'Bill went to the kitchen' or 'John moved to the garden' but not both. It is probably the case that Julius is white. It is probably not the case that Brian is a lion. It is almost certain that Bill moved to the office.,It is probably not the case that 'Bill moved to the office 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.25::factB. 0.95::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.2375,0.6465293058611722,train,probably not,probably,It is probably not the case that 'Bill moved to the office and Brian is a lion'.,It is probably the case that 'Bill moved to the office and Brian is a lion'.,1,'Bill moved to the office and Brian is a lion'. It is certain that John got the apple. It is improbable that Bill moved to the office. We doubt that Lily is yellow.,Chances are about even that 'John got 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 1.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.2656531306261252,train,certain,about even,It is certain that 'John got the apple' or 'Lily is yellow' or both.,Chances are about even that 'John got the apple' or 'Lily is yellow' or both.,0,'John got the apple' or 'Lily is yellow' or both. We doubt that Greg is white. There is almost no chance that Fred dropped the apple. It is impossible that Lily is green.,We doubt that 'Greg is white' 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 0.2::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.21600000000000003,0.5695139027805561,train,we doubt,probably,We doubt that 'Greg is white' or 'Fred dropped the apple' or both.,It is probably the case that 'Greg is white' or 'Fred dropped the apple' or both.,1,'Greg is white' or 'Fred dropped the apple' or both. It is almost certain that John grabbed the apple. It is certain that Lily is green. It is improbable that Brian is white.,It is highly unlikely that either 'John grabbed 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.95::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.34406881376275256,train,highly likely,highly unlikely,It is highly likely that either 'John grabbed the apple' or 'Brian is white' but not both.,It is highly unlikely that either 'John grabbed the apple' or 'Brian is white' but not both.,0,Either 'John grabbed the apple' or 'Brian is white' but not both. It is likely that Bernhard is a rhino. It is impossible that Jeff went to the bedroom. It is highly unlikely that Mary moved to the garden.,Chances are slight that either 'Mary moved 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.7::factA. 0.0::factB. 0.05::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.33066613322664534,train,probably,chances are slight,It is probably the case that either 'Mary moved to the garden' or 'Bernhard is a rhino' but not both.,Chances are slight that either 'Mary moved to the garden' or 'Bernhard is a rhino' but not both.,0,Either 'Mary moved to the garden' or 'Bernhard is a rhino' but not both. It is unlikely that Brian is a rhino. It is highly likely that Julius is yellow. Chances are slight that John discarded the apple.,There is a very good chance that either 'Julius 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.2::factA. 0.9::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.82,0.6441288257651531,train,very good chance,little chance,There is a very good chance that either 'Julius is yellow' or 'John discarded the apple' but not both.,There is little chance that either 'Julius is yellow' or 'John discarded the apple' but not both.,1,Either 'Julius is yellow' or 'John discarded the apple' but not both. We doubt that Lily is gray. We doubt that Bernhard is a swan. It is probably not the case that Winona is a sheep.,Chances are about even that 'Winona 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.2::factA. 0.2::factB. 0.25::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.4,0.39807961592318464,train,about even,highly unlikely,Chances are about even that 'Winona is a sheep' or 'Lily is gray' or both.,It is highly unlikely that 'Winona is a sheep' or 'Lily is gray' or both.,1,'Winona is a sheep' or 'Lily is gray' or both. There is a better than even chance that Bill went to the garden. There is little chance that Lily is yellow. It is probable that Greg is a swan.,There is a better than even chance that 'Bill went to the garden' 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.6::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.64,0.1832366473294659,train,better than even,improbable,There is a better than even chance that 'Bill went to the garden' or 'Lily is yellow' or both.,It is improbable that 'Bill went to the garden' or 'Lily is yellow' or both.,1,'Bill went to the garden' or 'Lily is yellow' or both. Chances are about even that Sandra dropped the milk. Chances are slight that Daniel put down the milk. We believe that Fred went to the garden.,There is little chance that 'Daniel put down 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.5::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07500000000000002,0.3294658931786357,train,little chance,probable,There is little chance that 'Daniel put down the milk and Fred went to the garden'.,It is probable that 'Daniel put down the milk and Fred went to the garden'.,1,'Daniel put down the milk and Fred went to the garden'. It is certain that Winona is a mouse. We doubt that John moved to the office. There is a very good chance that Yann is hungry.,It is probably not the case that 'Yann is hungry' 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 1.0::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6145229045809162,train,certain,probably not,It is certain that 'Yann is hungry' or 'Winona is a mouse' or both.,It is probably not the case that 'Yann is hungry' or 'Winona is a mouse' or both.,0,'Yann is hungry' or 'Winona is a mouse' or both. We doubt that Lily is a swan. There is a better than even chance that Fred discarded the apple. We doubt that Julius is a frog.,It is probable that 'Fred discarded 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.6::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.68,0.32766553310662133,train,probable,little chance,It is probable that 'Fred discarded the apple' or 'Julius is a frog' or both.,There is little chance that 'Fred discarded the apple' or 'Julius is a frog' or both.,1,'Fred discarded the apple' or 'Julius is a frog' or both. It is highly likely that Jessica is a cat. Chances are about even that Gertrude is a cat. There is almost no chance that Sandra dropped the milk.,Chances are about even that 'Gertrude is a cat' 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.9::factA. 0.5::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.51,0.6787357471494299,train,about even,almost no chance,Chances are about even that 'Gertrude is a cat' or 'Sandra dropped the milk' or both.,There is almost no chance that 'Gertrude is a cat' or 'Sandra dropped the milk' or both.,1,'Gertrude is a cat' or 'Sandra dropped the milk' or both. It is probably the case that Mary put down the apple. It is probably not the case that John went to the hallway. There is almost no chance that Jessica is a cat.,There is almost no chance that 'Jessica is a cat 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.25::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.2480496099219844,train,almost no chance,we believe,There is almost no chance that 'Jessica is a cat and Mary put down the apple'.,We believe that 'Jessica is a cat and Mary put down the apple'.,1,'Jessica is a cat and Mary put down the apple'. We doubt that Lily is a frog. There is almost no chance that Brian is a lion. There is a better than even chance that Greg is yellow.,There is almost no chance that 'Greg is yellow 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.02::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.011999999999999999,0.6855371074214843,train,almost no chance,very good chance,There is almost no chance that 'Greg is yellow and Brian is a lion'.,There is a very good chance that 'Greg is yellow and Brian is a lion'.,1,'Greg is yellow and Brian is a lion'. It is impossible that Winona is a mouse. Chances are slight that Julius is green. We doubt that Sandra left the milk.,There is a better than even chance that 'Julius 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.0::factA. 0.1::factB. 0.2::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.10000000000000002,0.7657531506301261,train,little chance,better than even,There is little chance that 'Julius is green' or 'Winona is a mouse' or both.,There is a better than even chance that 'Julius is green' or 'Winona is a mouse' or both.,0,'Julius is green' or 'Winona is a mouse' or both. Chances are about even that Lily is yellow. Chances are slight that Bernhard is a frog. It is highly unlikely that Jeff put down the milk.,Chances are about even that 'Lily is yellow' 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.5::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.525,0.6153230646129226,train,about even,impossible,Chances are about even that 'Lily is yellow' or 'Jeff put down the milk' or both.,It is impossible that 'Lily is yellow' or 'Jeff put down the milk' or both.,1,'Lily is yellow' or 'Jeff put down the milk' or both. There is a better than even chance that Bernhard is a frog. We believe that Mary got the football. It is highly likely that John moved to the garden.,There is almost no chance that 'Mary got 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.75::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.7215443088617723,train,highly likely,almost no chance,It is highly likely that 'Mary got the football' or 'Bernhard is a frog' or both.,There is almost no chance that 'Mary got the football' or 'Bernhard is a frog' or both.,0,'Mary got the football' or 'Bernhard is a frog' or both. There is little chance that Bernhard is yellow. There is little chance that Mary went to the kitchen. It is probably the case that Brian is a lion.,It is highly unlikely that 'Bernhard is yellow 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.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.6475295059011802,train,highly unlikely,certain,It is highly unlikely that 'Bernhard is yellow and Brian is a lion'.,It is certain that 'Bernhard is yellow and Brian is a lion'.,1,'Bernhard is yellow and Brian is a lion'. It is unlikely that Mary picked up the apple. It is highly unlikely that Greg is a swan. Chances are about even that Brian is green.,It is almost certain 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.2::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.525,0.4606921384276855,train,about even,almost certain,Chances are about even that 'Brian is green' or 'Greg is a swan' or both.,It is almost certain that 'Brian is green' or 'Greg is a swan' or both.,0,'Brian is green' or 'Greg is a swan' or both. It is impossible that Lily is yellow. It is almost certain that Jeff moved to the garden. There is a better than even chance that Brian is white.,It is highly unlikely that 'Jeff moved to the garden' 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.0::factA. 0.95::factB. 0.6::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.95,0.12042408481696339,train,almost certain,highly unlikely,It is almost certain that 'Jeff moved to the garden' or 'Lily is yellow' or both.,It is highly unlikely that 'Jeff moved to the garden' or 'Lily is yellow' or both.,0,'Jeff moved to the garden' or 'Lily is yellow' or both. There is little chance that Greg is a frog. There is a very good chance that Lily is a rhino. It is probable that Emily is a cat.,It is improbable that 'Greg 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.8::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8200000000000001,0.35447089417883576,train,very good chance,improbable,There is a very good chance that 'Greg is a frog' or 'Lily is a rhino' or both.,It is improbable that 'Greg is a frog' or 'Lily is a rhino' or both.,0,'Greg is a frog' or 'Lily is a rhino' or both. It is likely that John grabbed the milk. It is impossible that Brian is gray. It is probably the case that Lily is yellow.,It is impossible that either 'Brian is gray' 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.7::factA. 0.0::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.5493098619723945,train,probably,impossible,It is probably the case that either 'Brian is gray' or 'John grabbed the milk' but not both.,It is impossible that either 'Brian is gray' or 'John grabbed the milk' but not both.,0,Either 'Brian is gray' or 'John grabbed the milk' but not both. Chances are about even that Mary moved to the office. There is almost no chance that Bernhard is a swan. We doubt that Lily is a lion.,There is little chance that 'Mary moved to the office' 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.02::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.6000000000000001,0.034406881376275254,train,better than even,little chance,There is a better than even chance that 'Mary moved to the office' or 'Lily is a lion' or both.,There is little chance that 'Mary moved to the office' or 'Lily is a lion' or both.,0,'Mary moved to the office' or 'Lily is a lion' or both. It is highly likely that Lily is a swan. We doubt that John took the apple. Chances are about even that Julius is a rhino.,There is a better than even chance that 'John took the apple 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.9::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.5955191038207641,train,chances are slight,better than even,Chances are slight that 'John took the apple and Julius is a rhino'.,There is a better than even chance that 'John took the apple and Julius is a rhino'.,0,'John took the apple and Julius is a rhino'. We believe that John went to the office. We doubt that Mary picked up the apple. Chances are about even that Jason is tired.,There is a better than even chance that 'Mary picked up 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.75::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6,0.22424484896979396,train,better than even,chances are slight,There is a better than even chance that 'Mary picked up the apple' or 'Jason is tired' or both.,Chances are slight that 'Mary picked up the apple' or 'Jason is tired' or both.,1,'Mary picked up the apple' or 'Jason is tired' or both. There is almost no chance that Antoine is bored. There is little chance that John dropped the apple. Chances are slight that Mary went to the garden.,It is impossible that 'Antoine is bored 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.02::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.44288857771554313,train,impossible,highly likely,It is impossible that 'Antoine is bored and Mary went to the garden'.,It is highly likely that 'Antoine is bored and Mary went to the garden'.,1,'Antoine is bored and Mary went to the garden'. It is almost certain that Lily is a lion. We believe that Mary moved to the office. There is almost no chance that Gertrude is a cat.,It is certain that either 'Lily is a lion' 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.95::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.275,0.3816763352670534,train,probably not,certain,It is probably not the case that either 'Lily is a lion' or 'Mary moved to the office' but not both.,It is certain that either 'Lily is a lion' or 'Mary moved to the office' but not both.,0,Either 'Lily is a lion' or 'Mary moved to the office' but not both. It is unlikely that Daniel got the football. It is highly likely that John went to the garden. It is highly unlikely that Greg is white.,There is a very good chance that 'John went to the garden 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.9::factB. 0.05::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.18000000000000002,0.7025405081016203,train,unlikely,very good chance,It is unlikely that 'John went to the garden and Daniel got the football'.,There is a very good chance that 'John went to the garden and Daniel got the football'.,0,'John went to the garden and Daniel got the football'. We believe that Greg is green. There is little chance that Brian is a swan. We believe that Sandra put down the milk.,It is probably the case that either 'Brian 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.75::factA. 0.1::factB. 0.75::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.15163032606521304,train,probably,chances are slight,It is probably the case that either 'Brian is a swan' or 'Sandra put down the milk' but not both.,Chances are slight that either 'Brian is a swan' or 'Sandra put down the milk' but not both.,1,Either 'Brian is a swan' or 'Sandra put down the milk' but not both. It is probably the case that Brian is a frog. It is likely that John went to the office. We believe that Lily is white.,Chances are about even that either 'Lily 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.7::factA. 0.7::factB. 0.75::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.4,0.23824764952990599,train,about even,highly unlikely,Chances are about even that either 'Lily is white' or 'Brian is a frog' but not both.,It is highly unlikely that either 'Lily is white' or 'Brian is a frog' but not both.,1,Either 'Lily is white' or 'Brian is a frog' but not both. It is certain that Emily is a sheep. There is a better than even chance that John went to the garden. It is improbable that Bernhard is a swan.,There is little chance that 'Emily 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 1.0::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.7401480296059212,train,certain,little chance,It is certain that 'Emily is a sheep' or 'John went to the garden' or both.,There is little chance that 'Emily is a sheep' or 'John went to the garden' or both.,0,'Emily is a sheep' or 'John went to the garden' or both. There is little chance that Jason is tired. Chances are about even that Bernhard is a frog. It is probably the case that Emily is a sheep.,It is certain that 'Bernhard is a frog 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.5::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.4302860572114423,train,probably not,certain,It is probably not the case that 'Bernhard is a frog and Emily is a sheep'.,It is certain that 'Bernhard is a frog and Emily is a sheep'.,0,'Bernhard is a frog and Emily is a sheep'. It is certain that John moved to the garden. It is certain that Greg is yellow. We believe that Bernhard is yellow.,It is probably not the case 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 1.0::factA. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25,0.659131826365273,train,probably not,very good chance,It is probably not the case that either 'John moved to the garden' or 'Bernhard is yellow' but not both.,There is a very good 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 Julius is white. It is impossible that Jessica is a cat. There is a better than even chance that Mary got the apple.,It is highly likely that 'Mary got 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.75::factA. 0.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9,0.02660532106421284,train,highly likely,probably not,It is highly likely that 'Mary got the apple' or 'Julius is white' or both.,It is probably not the case that 'Mary got the apple' or 'Julius is white' or both.,1,'Mary got the apple' or 'Julius is white' or both. It is unlikely that Mary left the milk. It is probable that Julius is a swan. There is little chance that Lily is yellow.,It is probably not the case that 'Lily 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.2::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.28,0.6597319463892779,train,probably not,certain,It is probably not the case that 'Lily is yellow' or 'Mary left the milk' or both.,It is certain that 'Lily is yellow' or 'Mary left the milk' or both.,1,'Lily is yellow' or 'Mary left the milk' or both. Chances are slight that Mary left the football. Chances are about even that Brian is a rhino. It is probable that Greg is a lion.,It is probably not the case 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.1::factA. 0.5::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.21304260852170434,train,probably not,we believe,It is probably not the case that 'Greg is a lion and Brian is a rhino'.,We believe that 'Greg is a lion and Brian is a rhino'.,1,'Greg is a lion and Brian is a rhino'. There is a very good chance that John put down the apple. It is highly likely that Bernhard is green. It is highly unlikely that Lily is white.,It is highly unlikely that 'Lily is white' 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.8::factA. 0.9::factB. 0.05::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.905,0.24044808961792358,train,highly likely,highly unlikely,It is highly likely that 'Lily is white' or 'Bernhard is green' or both.,It is highly unlikely that 'Lily is white' or 'Bernhard is green' or both.,0,'Lily is white' or 'Bernhard is green' or both. It is unlikely that Julius is gray. It is highly likely that Lily is yellow. It is probable that John took the football.,It is certain that 'Julius is gray 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.9::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.7359471894378876,train,improbable,certain,It is improbable that 'Julius is gray and John took the football'.,It is certain that 'Julius is gray and John took the football'.,0,'Julius is gray and John took the football'. It is highly unlikely that Julius is a swan. There is a better than even chance that Mary took the milk. There is a very good chance that Brian is white.,It is highly likely that 'Mary took 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.05::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9199999999999999,0.38767753550710143,train,highly likely,little chance,It is highly likely that 'Mary took the milk' or 'Brian is white' or both.,There is little chance that 'Mary took the milk' or 'Brian is white' or both.,1,'Mary took the milk' or 'Brian is white' or both. We doubt that Sumit is bored. Chances are slight that Mary is in the bathroom. Chances are slight that Julius is gray.,It is probably the case that 'Sumit is bored 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.4120824164832967,train,almost no chance,probably,There is almost no chance that 'Sumit is bored and Mary is in the bathroom'.,It is probably the case that 'Sumit is bored and Mary is in the bathroom'.,0,'Sumit is bored and Mary is in the bathroom'. We doubt that John went to the office. It is highly likely that Brian is a swan. It is certain that Greg is white.,We doubt that 'John went to the office 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. 1.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.18000000000000002,0.5269053810762152,train,we doubt,almost certain,We doubt that 'John went to the office and Brian is a swan'.,It is almost certain that 'John went to the office and Brian is a swan'.,1,'John went to the office and Brian is a swan'. It is likely that Gertrude is a mouse. It is certain that Lily is white. It is almost certain that Jessica is a cat.,It is certain that 'Lily is white' 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. 1.0::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.22264452890578115,train,certain,about even,It is certain that 'Lily is white' or 'Gertrude is a mouse' or both.,Chances are about even that 'Lily is white' or 'Gertrude is a mouse' or both.,1,'Lily is white' or 'Gertrude is a mouse' or both. It is highly unlikely that Brian is white. It is likely that Daniel dropped the milk. We doubt that Greg is a swan.,We doubt that either 'Brian is white' 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.05::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6799999999999999,0.22784556911382275,train,probable,we doubt,It is probable that either 'Brian is white' or 'Daniel dropped the milk' but not both.,We doubt that either 'Brian is white' or 'Daniel dropped the milk' but not both.,0,Either 'Brian is white' or 'Daniel dropped the milk' but not both. It is highly likely that Brian is a rhino. It is unlikely that John moved to the office. There is a better than even chance that Lily is gray.,It is almost certain that 'Lily 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.9::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.4232846569313863,train,almost certain,highly unlikely,It is almost certain that 'Lily is gray' or 'Brian is a rhino' or both.,It is highly unlikely that 'Lily is gray' or 'Brian is a rhino' or both.,1,'Lily is gray' or 'Brian is a rhino' or both. There is a very good chance that Julius is a frog. Chances are about even that Mary went to the bedroom. It is impossible that Emily is a mouse.,It is impossible that 'Emily 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.8::factA. 0.5::factB. 0.0::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.5,0.656131226245249,train,about even,impossible,Chances are about even that 'Emily is a mouse' or 'Mary went to the bedroom' or both.,It is impossible that 'Emily is a mouse' or 'Mary went to the bedroom' or both.,0,'Emily is a mouse' or 'Mary went to the bedroom' or both. It is impossible that John moved to the office. Chances are about even that Julius is a swan. Chances are about even that Brian is yellow.,Chances are about even that 'Julius is a swan' 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.5::factB. 0.5::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.5,0.6595319063812762,train,about even,impossible,Chances are about even that 'Julius is a swan' or 'John moved to the office' or both.,It is impossible that 'Julius is a swan' or 'John moved to the office' or both.,1,'Julius is a swan' or 'John moved to the office' or both. It is almost certain that John dropped the milk. We believe that Winona is a cat. There is almost no chance that Sumit is thirsty.,There is almost no chance that 'Sumit is thirsty 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.95::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.014999999999999998,0.7139427885577115,train,almost no chance,highly likely,There is almost no chance that 'Sumit is thirsty and Winona is a cat'.,It is highly likely that 'Sumit is thirsty and Winona is a cat'.,1,'Sumit is thirsty and Winona is a cat'. It is highly likely that Mary got the apple. It is probable that Julius is a lion. There is little chance that Bill moved to the office.,It is almost certain that 'Mary got 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.9::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.97,0.7485497099419884,train,almost certain,improbable,It is almost certain that 'Mary got the apple' or 'Julius is a lion' or both.,It is improbable that 'Mary got the apple' or 'Julius is a lion' or both.,1,'Mary got the apple' or 'Julius is a lion' or both. We believe that John left the milk. Chances are slight that Winona is a cat. Chances are slight that Lily is yellow.,It is improbable that 'Lily 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.75::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.17163432686537308,train,improbable,very good chance,It is improbable that 'Lily is yellow and John left the milk'.,There is a very good chance that 'Lily is yellow and John left the milk'.,1,'Lily is yellow and John left the milk'. It is probable that Sandra is in the kitchen. There is almost no chance that Julius is a frog. It is improbable that Fred went to the garden.,It is probably not the case that 'Sandra is in 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.7::factA. 0.02::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.706,0.13522704540908181,train,probable,probably not,It is probable that 'Sandra is in the kitchen' or 'Julius is a frog' or both.,It is probably not the case that 'Sandra is in the kitchen' or 'Julius is a frog' or both.,0,'Sandra is in the kitchen' or 'Julius is a frog' or both. There is almost no chance that Brian is gray. It is certain that Greg is white. It is probably not the case that Mary picked up the milk.,It is improbable that either 'Greg 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.02::factA. 1.0::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.98,0.08141628325665133,train,certain,improbable,It is certain that either 'Greg is white' or 'Brian is gray' but not both.,It is improbable that either 'Greg is white' or 'Brian is gray' but not both.,0,Either 'Greg is white' or 'Brian is gray' but not both. We believe that Brian is yellow. There is little chance that Mary went to the office. It is highly unlikely that Julius is a frog.,It is almost 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.75::factA. 0.1::factB. 0.05::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.03750000000000001,0.11482296459291859,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a frog and Brian is yellow'.,It is almost certain that 'Julius is a frog and Brian is yellow'.,0,'Julius is a frog and Brian is yellow'. We believe that Emily is a wolf. There is almost no chance that Jeff left the apple. It is impossible that Lily is yellow.,We believe that either 'Jeff left 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.02::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.2834566913382677,train,we believe,probably not,We believe that either 'Jeff left the apple' or 'Emily is a wolf' but not both.,It is probably not the case that either 'Jeff left the apple' or 'Emily is a wolf' but not both.,1,Either 'Jeff left the apple' or 'Emily is a wolf' but not both. There is a very good chance that Mary took the milk. It is highly unlikely that Jessica is a cat. There is almost no chance that Daniel got the football.,Chances are slight that 'Mary took 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.8::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.81,0.1960392078415683,train,very good chance,chances are slight,There is a very good chance that 'Mary took the milk' or 'Jessica is a cat' or both.,Chances are slight that 'Mary took the milk' or 'Jessica is a cat' or both.,0,'Mary took the milk' or 'Jessica is a cat' or both. It is likely that Mary moved to the garden. It is almost certain that Daniel dropped the milk. There is little chance that Jeff discarded the milk.,It is likely that 'Mary moved to the garden 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.26885377075415084,train,highly unlikely,likely,It is highly unlikely that 'Mary moved to the garden and Jeff discarded the milk'.,It is likely that 'Mary moved to the garden and Jeff discarded the milk'.,0,'Mary moved to the garden and Jeff discarded the milk'. There is a better than even chance that Jeff discarded the milk. It is probably the case that Emily is a sheep. It is highly likely that Brian is yellow.,It is highly unlikely that 'Brian is yellow' 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.6::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.31446289257851573,train,almost certain,highly unlikely,It is almost certain that 'Brian is yellow' or 'Jeff discarded the milk' or both.,It is highly unlikely that 'Brian is yellow' or 'Jeff discarded the milk' or both.,0,'Brian is yellow' or 'Jeff discarded the milk' or both. It is probably not the case that Mary went to the bedroom. It is likely that Brian is a rhino. It is likely that Greg is a swan.,Chances are about even 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.25::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.5641128225645129,train,about even,almost certain,Chances are about even 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 almost certain that John put down the apple. There is almost no chance that Brian is yellow. We believe that Lily is gray.,We doubt 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.95::factA. 0.02::factB. 0.75::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.755,0.10662132426485298,train,we believe,we doubt,We believe that 'Brian is yellow' or 'Lily is gray' or both.,We doubt that 'Brian is yellow' or 'Lily is gray' or both.,0,'Brian is yellow' or 'Lily is gray' or both. It is probably not the case that Julius is a rhino. It is almost certain that John went to the kitchen. It is almost certain that Bernhard is a lion.,It is almost certain 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.25::factA. 0.95::factB. 0.95::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9625,0.1294258851770354,train,almost certain,almost no chance,It is almost certain that 'John went to the kitchen' or 'Julius is a rhino' or both.,There is almost no chance that 'John went to the kitchen' or 'Julius is a rhino' or both.,1,'John went to the kitchen' or 'Julius is a rhino' or both. Chances are slight that Julius is a rhino. We believe that John went to the office. It is probable that Brian is white.,It is improbable that 'John went to the office 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.75::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07500000000000002,0.3264652930586117,train,improbable,likely,It is improbable that 'John went to the office and Julius is a rhino'.,It is likely that 'John went to the office and Julius is a rhino'.,1,'John went to the office and Julius is a rhino'. There is little chance that Jeff put down the milk. It is unlikely that Bernhard is a rhino. It is certain that Brian is a swan.,It is improbable that 'Brian is a swan' or 'Jeff put down the milk' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.2::factB. 1.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6297259451890378,train,certain,improbable,It is certain that 'Brian is a swan' or 'Jeff put down the milk' or both.,It is improbable that 'Brian is a swan' or 'Jeff put down the milk' or both.,0,'Brian is a swan' or 'Jeff put down the milk' or both. It is certain that Mary went to the garden. It is probably not the case that Julius is a lion. It is highly unlikely that Brian is white.,It is probably the case that 'Mary went 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 1.0::factA. 0.25::factB. 0.05::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.707741548309662,train,highly unlikely,probably,It is highly unlikely that 'Mary went to the garden and Brian is white'.,It is probably the case that 'Mary went to the garden and Brian is white'.,0,'Mary went to the garden and Brian is white'. We doubt that Mary went to the garden. Chances are about even that Greg is gray. There is a very good chance that Bernhard is green.,There is almost no chance that either 'Mary went 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.2::factA. 0.5::factB. 0.8::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.68,0.6553310662132427,train,probable,almost no chance,It is probable that either 'Mary went to the garden' or 'Bernhard is green' but not both.,There is almost no chance that either 'Mary went to the garden' or 'Bernhard is green' but not both.,0,Either 'Mary went to the garden' or 'Bernhard is green' but not both. Chances are about even that Julius is a lion. There is a better than even chance that John picked up the apple. Chances are about even that Mary took the milk.,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 0.5::factA. 0.6::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.4624924984996999,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. There is a better than even chance that Mary went to the hallway. We doubt that Greg is a frog. It is certain that Bernhard is white.,It is improbable that either 'Mary went to the hallway' 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.2::factB. 1.0::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5599999999999999,0.4240848169633927,train,better than even,improbable,There is a better than even chance that either 'Mary went to the hallway' or 'Greg is a frog' but not both.,It is improbable that either 'Mary went to the hallway' or 'Greg is a frog' but not both.,0,Either 'Mary went to the hallway' or 'Greg is a frog' but not both. Chances are about even that Brian is yellow. It is unlikely that Julius is yellow. There is little chance that John moved to the garden.,There is almost no chance that 'John moved to the garden and Julius is yellow'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.05661132226445289,train,almost no chance,very good chance,There is almost no chance that 'John moved to the garden and Julius is yellow'.,There is a very good chance that 'John moved to the garden and Julius is yellow'.,1,'John moved to the garden and Julius is yellow'. We believe that Brian is white. There is little chance that John went to the office. Chances are about even that Mary left the milk.,There is a better than even 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.75::factA. 0.1::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.42288457691538306,train,better than even,little chance,There is a better than even chance that 'Mary left the milk' or 'John went to the office' or both.,There is little chance that 'Mary left the milk' or 'John went to the office' or both.,1,'Mary left the milk' or 'John went to the office' or both. There is little chance that John put down the apple. There is a very good chance that Fred went to the garden. We doubt that Julius is a lion.,There is little chance that 'Julius 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.1::factA. 0.8::factB. 0.2::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8400000000000001,0.5585117023404681,train,very good chance,little chance,There is a very good chance that 'Julius is a lion' or 'Fred went to the garden' or both.,There is little chance that 'Julius is a lion' or 'Fred went to the garden' or both.,0,'Julius is a lion' or 'Fred went to the garden' or both. It is highly likely that Julius is white. We doubt that Bernhard is yellow. There is little chance that John left the milk.,It is probably not the case that either 'Bernhard is yellow' 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.9::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.6569313862772554,train,probably not,very good chance,It is probably not the case that either 'Bernhard is yellow' or 'John left the milk' but not both.,There is a very good chance that either 'Bernhard is yellow' or 'John left the milk' but not both.,1,Either 'Bernhard is yellow' or 'John left the milk' but not both. There is little chance that Bernhard is a swan. It is probable that Sandra dropped the milk. It is probably not the case that Yann is bored.,We believe that 'Bernhard 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.25::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.6479295859171834,train,we believe,chances are slight,We believe that 'Bernhard is a swan' or 'Sandra dropped the milk' or both.,Chances are slight that 'Bernhard is a swan' or 'Sandra dropped the milk' or both.,1,'Bernhard is a swan' or 'Sandra dropped the milk' or both. There is a very good chance that Jason is thirsty. It is probably the case that John discarded the apple. It is improbable that Bernhard is a frog.,It is certain that either 'John discarded the apple' 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.8::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.7461492298459692,train,about even,certain,Chances are about even that either 'John discarded the apple' or 'Jason is thirsty' but not both.,It is certain that either 'John discarded the apple' or 'Jason is thirsty' but not both.,0,Either 'John discarded the apple' or 'Jason is thirsty' but not both. There is a very good chance that Sandra got the football. There is almost no chance that Mary went to the kitchen. It is likely that Lily is green.,Chances are slight that either 'Sandra got the football' 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.8::factA. 0.02::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.788,0.29365873174634927,train,very good chance,chances are slight,There is a very good chance that either 'Sandra got the football' or 'Mary went to the kitchen' but not both.,Chances are slight that either 'Sandra got the football' or 'Mary went to the kitchen' but not both.,0,Either 'Sandra got the football' or 'Mary went to the kitchen' but not both. It is probably the case that Mary moved to the garden. There is a very good chance that Jeff left the apple. It is almost certain that Greg is yellow.,Chances are slight that 'Mary moved to the garden 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.7::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.16463292658531706,train,better than even,chances are slight,There is a better than even chance that 'Mary moved to the garden and Jeff left the apple'.,Chances are slight that 'Mary moved to the garden and Jeff left the apple'.,0,'Mary moved to the garden and Jeff left the apple'. It is unlikely that Lily is a swan. It is probably not the case that John is in the garden. It is highly likely that Greg is white.,It is probably not the case that 'Greg is white 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.25::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.225,0.19663932786557312,train,probably not,almost certain,It is probably not the case that 'Greg is white and John is in the garden'.,It is almost certain that 'Greg is white and John is in the garden'.,1,'Greg is white and John is in the garden'. Chances are slight that Mary dropped the apple. It is probable that Brian is a rhino. There is almost no chance that Bernhard is a frog.,It is likely that 'Mary dropped 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.7::factB. 0.02::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.7221444288857771,train,impossible,likely,It is impossible that 'Mary dropped the apple and Bernhard is a frog'.,It is likely that 'Mary dropped the apple and Bernhard is a frog'.,0,'Mary dropped the apple and Bernhard is a frog'. It is improbable that Greg is a rhino. It is likely that Mary grabbed the milk. Chances are about even that Julius is gray.,It is highly unlikely that 'Greg 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.1::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.1826365273054611,train,highly unlikely,better than even,It is highly unlikely that 'Greg is a rhino and Mary grabbed the milk'.,There is a better than even chance that 'Greg is a rhino and Mary grabbed the milk'.,1,'Greg is a rhino and Mary grabbed the milk'. There is almost no chance that Mary picked up the milk. It is likely that Winona is a cat. There is almost no chance that Greg is a rhino.,It is likely that either 'Winona is a cat' 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.02::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.692,0.6159231846369274,train,likely,impossible,It is likely that either 'Winona is a cat' or 'Mary picked up the milk' but not both.,It is impossible that either 'Winona is a cat' or 'Mary picked up the milk' but not both.,1,Either 'Winona is a cat' or 'Mary picked up the milk' but not both. It is probably the case that John took the apple. There is little chance that Winona is a wolf. It is impossible that Daniel got the milk.,There is little chance that either 'Winona is a wolf' 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.1::factB. 0.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.10000000000000002,0.40648129625925183,train,little chance,almost certain,There is little chance that either 'Winona is a wolf' or 'Daniel got the milk' but not both.,It is almost certain that either 'Winona is a wolf' or 'Daniel got the milk' but not both.,1,Either 'Winona is a wolf' or 'Daniel got the milk' but not both. It is highly likely that Jeff dropped the apple. It is improbable that Lily is white. There is a very good chance that John went to the hallway.,We believe that either 'John 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.9::factA. 0.1::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.74,0.016803360672134428,train,we believe,highly unlikely,We believe that either 'John went to the hallway' or 'Lily is white' but not both.,It is highly unlikely that either 'John went to the hallway' or 'Lily is white' but not both.,1,Either 'John went to the hallway' or 'Lily is white' but not both. We believe that John moved to the garden. It is almost certain that Mary went to the office. It is almost certain that Gertrude is a sheep.,Chances are slight that either 'Gertrude is a sheep' 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.95::factB. 0.95::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.0950000000000001,0.4880976195239048,train,chances are slight,very good chance,Chances are slight that either 'Gertrude is a sheep' or 'Mary went to the office' but not both.,There is a very good chance that either 'Gertrude is a sheep' or 'Mary went to the office' but not both.,1,Either 'Gertrude is a sheep' or 'Mary went to the office' but not both. It is almost certain that Lily is yellow. It is likely that Greg is gray. It is probably the case that Jessica is a sheep.,There is almost no chance that either 'Greg is gray' 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.95::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.42,0.05121024204840968,train,about even,almost no chance,Chances are about even that either 'Greg is gray' or 'Jessica is a sheep' but not both.,There is almost no chance that either 'Greg is gray' or 'Jessica is a sheep' but not both.,0,Either 'Greg is gray' or 'Jessica is a sheep' but not both. It is unlikely that Julius is a swan. It is almost certain that Daniel left the milk. It is certain that Lily is white.,There is a very good chance that either 'Daniel left the milk' 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.95::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.05000000000000005,0.7613522704540908,train,highly unlikely,very good chance,It is highly unlikely that either 'Daniel left the milk' or 'Lily is white' but not both.,There is a very good chance that either 'Daniel left the milk' or 'Lily is white' but not both.,0,Either 'Daniel left the milk' or 'Lily is white' but not both. Chances are slight that Sandra took the milk. It is almost certain that Fred is in the school. It is unlikely that John went to the garden.,We doubt that 'Fred is in the school 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.95::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.2540508101620324,train,we doubt,almost certain,We doubt that 'Fred is in the school and John went to the garden'.,It is almost certain that 'Fred is in the school and John went to the garden'.,1,'Fred is in the school and John went to the garden'. We believe that Greg is a frog. It is probably not the case that Mary went to the office. It is improbable that Lily is gray.,It is probably not the case that 'Mary went to the office' 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.75::factA. 0.25::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.325,0.3034606921384277,train,probably not,highly likely,It is probably not the case that 'Mary went to the office' or 'Lily is gray' or both.,It is highly likely that 'Mary went to the office' or 'Lily is gray' or both.,1,'Mary went to the office' or 'Lily is gray' or both. It is unlikely that Brian is a lion. It is almost certain that Bernhard is yellow. It is impossible that Mary moved to the office.,It is almost certain that 'Bernhard is yellow' 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.2::factA. 0.95::factB. 0.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.1974394878975795,train,almost certain,improbable,It is almost certain that 'Bernhard is yellow' or 'Brian is a lion' or both.,It is improbable that 'Bernhard is yellow' or 'Brian is a lion' or both.,1,'Bernhard is yellow' or 'Brian is a lion' or both. There is a better than even chance that John went to the garden. It is probable that Sandra left the milk. It is highly likely that Greg is a lion.,Chances are about even that either 'Greg 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.6::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42000000000000004,0.08041608321664333,train,about even,highly unlikely,Chances are about even that either 'Greg is a lion' or 'John went to the garden' but not both.,It is highly unlikely that either 'Greg is a lion' or 'John went to the garden' but not both.,1,Either 'Greg is a lion' or 'John went to the garden' but not both. We doubt that Julius is a rhino. It is almost certain that Daniel got the milk. It is likely that Bernhard is green.,There is little chance that 'Julius is a rhino 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.95::factB. 0.7::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.14,0.09901980396079216,train,little chance,likely,There is little chance that 'Julius is a rhino and Bernhard is green'.,It is likely that 'Julius is a rhino and Bernhard is green'.,1,'Julius is a rhino and Bernhard is green'. It is almost certain that Julius is a lion. It is likely that John dropped the apple. It is probably the case that Brian is a rhino.,It is likely that 'Brian 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.95::factA. 0.7::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.6937387477495499,train,likely,unlikely,It is likely that 'Brian is a rhino and Julius is a lion'.,It is unlikely that 'Brian is a rhino and Julius is a lion'.,1,'Brian is a rhino and Julius is a lion'. We doubt that Greg is a swan. Chances are slight that John took the football. It is likely that Bernhard is a frog.,We believe that 'Greg is a swan 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.1::factB. 0.7::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.6943388677735547,train,almost no chance,we believe,There is almost no chance that 'Greg is a swan and John took the football'.,We believe that 'Greg is a swan and John took the football'.,0,'Greg is a swan and John took the football'. We doubt that John put down the milk. It is unlikely that Lily is a rhino. Chances are about even that Bernhard is a frog.,It is improbable 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.2::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.14722944588917783,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'.,1,'Lily is a rhino and Bernhard is a frog'. It is likely that Brian is a frog. It is probably the case that Lily is a rhino. There is little chance that Bernhard is a rhino.,It is almost certain 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.4558911782356471,train,about even,almost certain,Chances are about even that either 'Lily is a rhino' or 'Brian is a frog' but not both.,It is almost certain that either 'Lily is a rhino' or 'Brian is a frog' but not both.,0,Either 'Lily is a rhino' or 'Brian is a frog' but not both. Chances are slight that Julius is gray. It is certain that Lily is a swan. We believe that Mary went to the office.,We doubt that either 'Julius is gray' 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. 1.0::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.709741948389678,train,probable,we doubt,It is probable that either 'Julius is gray' or 'Mary went to the office' but not both.,We doubt that either 'Julius is gray' or 'Mary went to the office' but not both.,0,Either 'Julius is gray' or 'Mary went to the office' but not both. It is impossible that John moved to the garden. It is probably not the case that Greg is a rhino. It is probably not the case that Julius is a swan.,Chances are about even that either 'Greg 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.0::factA. 0.25::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.375,0.35927185437087417,train,about even,almost certain,Chances are about even that either 'Greg is a rhino' or 'Julius is a swan' but not both.,It is almost certain that either 'Greg is a rhino' or 'Julius is a swan' but not both.,1,Either 'Greg is a rhino' or 'Julius is a swan' but not both. It is probable that Jeff went to the bedroom. There is a better than even chance that Mary dropped the milk. There is little chance that John got the apple.,It is highly unlikely that 'Mary 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.7::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.06,0.4526905381076215,train,highly unlikely,we believe,It is highly unlikely that 'Mary dropped the milk and John got the apple'.,We believe that 'Mary dropped the milk and John got the apple'.,1,'Mary dropped the milk and John got the apple'. It is impossible that Brian is green. We believe that John left the milk. There is a very good chance that Lily is a swan.,It is almost certain that 'John 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.0::factA. 0.75::factB. 0.8::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9500000000000001,0.3388677735547109,train,almost certain,impossible,It is almost certain that 'John left the milk' or 'Lily is a swan' or both.,It is impossible that 'John left the milk' or 'Lily is a swan' or both.,1,'John left the milk' or 'Lily is a swan' or both. There is almost no chance that Bernhard is a swan. We doubt that Mary moved to the office. Chances are about even that John dropped the milk.,It is likely that either 'Mary 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.02::factA. 0.2::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.21200000000000002,0.010202040408081616,train,unlikely,likely,It is unlikely that either 'Mary moved to the office' or 'Bernhard is a swan' but not both.,It is likely that either 'Mary moved to the office' or 'Bernhard is a swan' but not both.,0,Either 'Mary moved to the office' or 'Bernhard is a swan' but not both. It is likely that Jessica is a cat. It is unlikely that John picked up the apple. It is certain that Bill moved to the office.,We believe that 'Jessica is a cat' 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.2::factB. 1.0::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.07661532306461293,train,we believe,improbable,We believe that 'Jessica is a cat' or 'John picked up the apple' or both.,It is improbable that 'Jessica is a cat' or 'John picked up the apple' or both.,1,'Jessica is a cat' or 'John picked up the apple' or both. It is probably not the case that Julius is a rhino. There is little chance that Lily is yellow. There is a better than even chance that Fred left the apple.,It is highly unlikely that 'Fred left 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.25::factA. 0.1::factB. 0.6::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.06,0.5167033406681336,train,highly unlikely,very good chance,It is highly unlikely that 'Fred left the apple and Lily is yellow'.,There is a very good chance that 'Fred left the apple and Lily is yellow'.,1,'Fred left the apple and Lily is yellow'. There is a very good chance that Bernhard is a swan. Chances are about even that Bill left the milk. It is unlikely that Mary moved to the garden.,There is almost no chance that either 'Bill left the milk' 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.8::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.29825965193038606,train,about even,almost no chance,Chances are about even that either 'Bill left the milk' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Bill left the milk' or 'Mary moved to the garden' but not both.,0,Either 'Bill left the milk' or 'Mary moved to the garden' but not both. It is improbable that Mary went to the bedroom. We doubt that Greg is a swan. There is a better than even chance that Bernhard is a rhino.,It is improbable that 'Bernhard is a rhino' 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.2::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.64,0.128625725145029,train,better than even,improbable,There is a better than even chance that 'Bernhard is a rhino' or 'Mary went to the bedroom' or both.,It is improbable that 'Bernhard is a rhino' or 'Mary went to the bedroom' or both.,0,'Bernhard is a rhino' or 'Mary went to the bedroom' or both. It is unlikely that Mary went to the bedroom. It is probably the case that Lily is green. It is unlikely that Bernhard is white.,We doubt 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.2::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.76,0.5441088217643528,train,we believe,we doubt,We believe that 'Mary went to the bedroom' or 'Lily is green' or both.,We doubt that 'Mary went to the bedroom' or 'Lily is green' or both.,0,'Mary went to the bedroom' or 'Lily is green' or both. It is likely that Lily is a swan. It is likely that Bernhard is a swan. It is impossible that John discarded the apple.,It is impossible that 'Bernhard 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.7::factA. 0.7::factB. 0.0::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.15183036607321465,train,impossible,better than even,It is impossible that 'Bernhard is a swan and John discarded the apple'.,There is a better than even chance that 'Bernhard is a swan and John discarded the apple'.,1,'Bernhard is a swan and John discarded the apple'. It is impossible that Julius is a frog. It is likely that Mary went to the garden. Chances are about even that Bernhard is yellow.,Chances are about even that either 'Bernhard 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.0::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.2470494098819764,train,about even,impossible,Chances are about even that either 'Bernhard is yellow' or 'Julius is a frog' but not both.,It is impossible that either 'Bernhard is yellow' or 'Julius is a frog' but not both.,1,Either 'Bernhard is yellow' or 'Julius is a frog' but not both. Chances are about even that Lily is a frog. It is highly unlikely that John put down the milk. It is highly likely that Mary discarded the apple.,It is highly likely that either 'John put down the milk' 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.5::factA. 0.05::factB. 0.9::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.86,0.6519303860772154,train,highly likely,improbable,It is highly likely that either 'John put down the milk' or 'Mary discarded the apple' but not both.,It is improbable that either 'John put down the milk' or 'Mary discarded the apple' but not both.,1,Either 'John put down the milk' or 'Mary discarded the apple' but not both. There is little chance that John put down the milk. There is almost no chance that Lily is white. It is impossible that Bernhard is a frog.,It is probably the case 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.1::factA. 0.02::factB. 0.0::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.10000000000000002,0.3864772954590918,train,chances are slight,probably,Chances are slight that 'John put down the milk' or 'Bernhard is a frog' or both.,It is probably the case that 'John put down the milk' or 'Bernhard is a frog' or both.,0,'John put down the milk' or 'Bernhard is a frog' or both. There is almost no chance that Mary went to the bedroom. There is a better than even chance that Gertrude is a cat. It is probably not the case that Greg is gray.,There is a better than even chance that either 'Greg is gray' 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.6::factB. 0.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.55,0.35067013402680536,train,better than even,impossible,There is a better than even chance that either 'Greg is gray' or 'Gertrude is a cat' but not both.,It is impossible that either 'Greg is gray' or 'Gertrude is a cat' but not both.,1,Either 'Greg is gray' or 'Gertrude is a cat' but not both. It is highly likely that John went to the garden. It is probable that Mary grabbed the milk. There is almost no chance that Julius is a frog.,It is highly likely that either 'John 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.9::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.884,0.08381676335267053,train,highly likely,probably not,It is highly likely that either 'John went to the garden' or 'Julius is a frog' but not both.,It is probably not the case that either 'John went to the garden' or 'Julius is a frog' but not both.,1,Either 'John went to the garden' or 'Julius is a frog' but not both. It is impossible that Bernhard is gray. It is probably not the case that Winona is a mouse. It is probably the case that Brian is a frog.,It is probably not the case that 'Winona is a mouse' 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.0::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.25,0.4546909381876375,train,probably not,we believe,It is probably not the case that 'Winona is a mouse' or 'Bernhard is gray' or both.,We believe that 'Winona is a mouse' or 'Bernhard is gray' or both.,1,'Winona is a mouse' or 'Bernhard is gray' or both. It is certain that Brian is a rhino. It is probably not the case that Yann is tired. There is almost no chance that Bernhard is a swan.,It is probably not the case that either 'Bernhard 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 1.0::factA. 0.25::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.3814762952590518,train,probably not,probable,It is probably not the case that either 'Bernhard is a swan' or 'Yann is tired' but not both.,It is probable that either 'Bernhard is a swan' or 'Yann is tired' but not both.,1,Either 'Bernhard is a swan' or 'Yann is tired' but not both. Chances are slight that Lily is a swan. Chances are slight that Jeff discarded the milk. It is likely that Brian is yellow.,It is likely that either 'Jeff discarded the milk' 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.1::factB. 0.7::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.6841368273654731,train,likely,chances are slight,It is likely that either 'Jeff discarded the milk' or 'Brian is yellow' but not both.,Chances are slight that either 'Jeff discarded the milk' or 'Brian is yellow' but not both.,1,Either 'Jeff discarded the milk' or 'Brian is yellow' but not both. It is unlikely that Brian is white. There is a very good chance that John took the football. It is certain that Julius is gray.,It is highly likely that either 'John took the football' 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.8::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.19999999999999998,0.1300260052010402,train,we doubt,highly likely,We doubt that either 'John took the football' or 'Julius is gray' but not both.,It is highly likely that either 'John took the football' or 'Julius is gray' but not both.,0,Either 'John took the football' or 'Julius is gray' but not both. It is impossible that John went to the bedroom. There is a better than even chance that Mary got the milk. It is likely that Greg is a lion.,It is impossible that 'Greg is a lion' 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.0::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7,0.5327065413082617,train,likely,impossible,It is likely that 'Greg is a lion' or 'John went to the bedroom' or both.,It is impossible that 'Greg is a lion' or 'John went to the bedroom' or both.,0,'Greg is a lion' or 'John went to the bedroom' or both. It is almost certain that Greg is a rhino. There is little chance that John went to the garden. There is little chance that Mary put down the milk.,There is a very good chance that 'Mary put down the milk and Greg is a rhino'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.95::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.11322264452890578,train,improbable,very good chance,It is improbable that 'Mary put down the milk and Greg is a rhino'.,There is a very good chance that 'Mary put down the milk and Greg is a rhino'.,0,'Mary put down the milk and Greg is a rhino'. It is almost certain that Mary went to the garden. It is likely that Brian is white. There is a better than even chance that Jessica is a cat.,Chances are about even that either 'Mary went to the garden' 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.7::factB. 0.6::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.41000000000000003,0.3104620924184837,train,about even,almost certain,Chances are about even that either 'Mary went to the garden' or 'Jessica is a cat' but not both.,It is almost certain that either 'Mary went to the garden' or 'Jessica is a cat' but not both.,1,Either 'Mary went to the garden' or 'Jessica is a cat' but not both. It is improbable that Daniel took the milk. It is probably not the case that Bernhard is yellow. It is certain that Brian is a frog.,There is a better than even chance that 'Daniel took 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.1::factA. 0.25::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.07861572314462893,train,chances are slight,better than even,Chances are slight that 'Daniel took the milk and Brian is a frog'.,There is a better than even chance that 'Daniel took the milk and Brian is a frog'.,0,'Daniel took the milk and Brian is a frog'. It is unlikely that Antoine is bored. Chances are slight that Bernhard is a frog. There is little chance that Jeff left the apple.,It is certain that 'Jeff left 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.2::factA. 0.1::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.19000000000000006,0.40788157631526306,train,unlikely,certain,It is unlikely that 'Jeff left the apple' or 'Bernhard is a frog' or both.,It is certain that 'Jeff left the apple' or 'Bernhard is a frog' or both.,0,'Jeff left the apple' or 'Bernhard is a frog' or both. We doubt that Daniel got the football. It is highly likely that John dropped the apple. It is probably the case that Emily is a sheep.,It is highly unlikely that either 'Emily is a sheep' 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.9::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.62,0.7565513102620525,train,better than even,highly unlikely,There is a better than even chance that either 'Emily is a sheep' or 'Daniel got the football' but not both.,It is highly unlikely that either 'Emily is a sheep' or 'Daniel got the football' but not both.,0,Either 'Emily is a sheep' or 'Daniel got the football' but not both. There is little chance that Mary moved to the office. It is certain that Lily is white. There is almost no chance that Greg is green.,Chances are slight that 'Greg 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. 1.0::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.11802360472094418,train,chances are slight,highly likely,Chances are slight that 'Greg is green' or 'Mary moved to the office' or both.,It is highly likely that 'Greg is green' or 'Mary moved to the office' or both.,1,'Greg is green' or 'Mary moved to the office' or both. It is impossible that Fred is in the cinema. There is a very good chance that Lily is a rhino. Chances are about even that Bernhard is yellow.,There is a better than even chance that 'Fred is in the cinema 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.0::factA. 0.8::factB. 0.5::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.4474894978995799,train,impossible,better than even,It is impossible that 'Fred is in the cinema and Bernhard is yellow'.,There is a better than even chance that 'Fred is in the cinema and Bernhard is yellow'.,0,'Fred is in the cinema and Bernhard is yellow'. It is certain that Brian is yellow. There is little chance that John got the apple. There is almost no chance that Bernhard is white.,It is impossible that 'John got 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 1.0::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0020000000000000005,0.368873774754951,train,impossible,better than even,It is impossible that 'John got the apple and Bernhard is white'.,There is a better than even chance that 'John got the apple and Bernhard is white'.,1,'John got the apple and Bernhard is white'. It is improbable that Julius is a swan. It is almost certain that Lily is a lion. There is little chance that Mary got the apple.,It is highly unlikely that either 'Lily is a lion' 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.95::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.86,0.33746749349869976,train,highly likely,highly unlikely,It is highly likely that either 'Lily is a lion' or 'Julius is a swan' but not both.,It is highly unlikely that either 'Lily is a lion' or 'Julius is a swan' but not both.,0,Either 'Lily is a lion' or 'Julius is a swan' but not both. It is highly likely that Fred is in the school. It is certain that Bernhard is yellow. It is probable that Mary dropped the milk.,It is improbable that 'Mary dropped the milk' 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.9::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.97,0.20024004800960193,train,almost certain,improbable,It is almost certain that 'Mary dropped the milk' or 'Fred is in the school' or both.,It is improbable that 'Mary dropped the milk' or 'Fred is in the school' or both.,0,'Mary dropped the milk' or 'Fred is in the school' or both. It is highly unlikely that Mary went to the kitchen. We doubt that Jeff discarded the milk. It is improbable that John put down the apple.,There is almost no chance that 'John put down 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.05::factA. 0.2::factB. 0.1::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.14062812562512503,train,almost no chance,almost certain,There is almost no chance that 'John put down the apple and Jeff discarded the milk'.,It is almost certain that 'John put down the apple and Jeff discarded the milk'.,1,'John put down the apple and Jeff discarded the milk'. Chances are slight that John went to the kitchen. Chances are slight that Gertrude is a sheep. It is probably not the case that Jessica is a mouse.,There is almost no chance that 'Gertrude is a sheep 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.1::factB. 0.25::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.11202240448089618,train,almost no chance,likely,There is almost no chance that 'Gertrude is a sheep and John went to the kitchen'.,It is likely that 'Gertrude is a sheep and John went to the kitchen'.,1,'Gertrude is a sheep and John went to the kitchen'. Chances are about even that John went to the garden. Chances are about even that Brian is yellow. It is almost certain that Mary got the football.,Chances are about even 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.5::factA. 0.5::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.475,0.6265253050610122,train,about even,highly unlikely,Chances are about even that 'Mary got the football and John went to the garden'.,It is highly unlikely that 'Mary got the football and John went to the garden'.,1,'Mary got the football and John went to the garden'. There is almost no chance that Mary discarded the milk. There is a very good chance that Lily is yellow. There is little chance that Bernhard is a frog.,It is unlikely that 'Lily 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.02::factA. 0.8::factB. 0.1::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.804,0.610122024404881,train,very good chance,unlikely,There is a very good chance that 'Lily is yellow' or 'Mary discarded the milk' or both.,It is unlikely that 'Lily is yellow' or 'Mary discarded the milk' or both.,0,'Lily is yellow' or 'Mary discarded the milk' or both. There is almost no chance that Daniel left the football. We doubt that John went to the office. There is a very good chance that Jessica is a cat.,It is probable that 'Daniel 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.02::factA. 0.2::factB. 0.8::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.21600000000000003,0.2436487297459492,train,unlikely,probable,It is unlikely that 'Daniel left the football' or 'John went to the office' or both.,It is probable that 'Daniel left the football' or 'John went to the office' or both.,0,'Daniel left the football' or 'John went to the office' or both. It is impossible that John discarded the apple. It is certain that Greg is a frog. There is a better than even chance that Brian is yellow.,It is improbable 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.0::factA. 1.0::factB. 0.6::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.6,0.40568113622724544,train,better than even,improbable,There is a better than even chance that 'Brian is yellow' or 'John discarded the apple' or both.,It is improbable that 'Brian is yellow' or 'John discarded the apple' or both.,0,'Brian is yellow' or 'John discarded the apple' or both. There is a very good chance that Daniel left the milk. We doubt that Greg is yellow. There is a better than even chance that Lily is white.,It is highly unlikely that 'Greg 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.8::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.68,0.21204240848169634,train,probable,highly unlikely,It is probable that 'Greg is yellow' or 'Lily is white' or both.,It is highly unlikely that 'Greg is yellow' or 'Lily is white' or both.,0,'Greg is yellow' or 'Lily is white' or both. It is improbable that Winona is a mouse. It is likely that Greg is yellow. It is certain that Mary took the football.,It is probably not the case that 'Greg is yellow' 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. 0.7::factB. 1.0::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.3802760552110422,train,we believe,probably not,We believe that 'Greg is yellow' or 'Winona is a mouse' or both.,It is probably not the case that 'Greg is yellow' or 'Winona is a mouse' or both.,0,'Greg is yellow' or 'Winona is a mouse' or both. It is probable that Mary dropped the apple. There is a very good chance that Lily is yellow. We believe that John took the football.,It is highly unlikely that 'Lily is yellow 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.7::factA. 0.8::factB. 0.75::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.6000000000000001,0.06621324264852971,train,better than even,highly unlikely,There is a better than even chance that 'Lily is yellow and John took the football'.,It is highly unlikely that 'Lily is yellow and John took the football'.,0,'Lily is yellow and John took the football'. It is improbable that Bernhard is a swan. It is impossible that Brian is green. It is improbable that John left the apple.,It is certain that 'Brian is green' 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.1::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.17823564712942588,train,improbable,certain,It is improbable that 'Brian is green' or 'John left the apple' or both.,It is certain that 'Brian is green' or 'John left the apple' or both.,0,'Brian is green' or 'John left the apple' or both. We believe that Brian is a lion. We doubt that Emily is a cat. It is impossible that Daniel grabbed the milk.,There is a very good chance that 'Brian is a lion 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.75::factA. 0.2::factB. 0.0::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.15,0.6365273054610923,train,little chance,very good chance,There is little chance that 'Brian is a lion and Emily is a cat'.,There is a very good chance that 'Brian is a lion and Emily is a cat'.,0,'Brian is a lion and Emily is a cat'. There is a very good chance that Gertrude is a sheep. It is unlikely that Greg is yellow. It is probable that John grabbed the apple.,It is almost certain that 'Gertrude is a sheep' 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.2::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.9400000000000001,0.2524504900980196,train,almost certain,about even,It is almost certain that 'Gertrude is a sheep' or 'John grabbed the apple' or both.,Chances are about even that 'Gertrude is a sheep' or 'John grabbed the apple' or both.,1,'Gertrude is a sheep' or 'John grabbed the apple' or both. It is likely that Winona is a sheep. There is little chance that Sandra dropped the milk. It is impossible that Julius is a frog.,There is a better than even chance 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 0.7::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.10000000000000002,0.48769753950790157,train,chances are slight,better than even,Chances are slight that 'Sandra dropped the milk' or 'Julius is a frog' or both.,There is a better than even chance that 'Sandra dropped the milk' or 'Julius is a frog' or both.,0,'Sandra dropped the milk' or 'Julius is a frog' or both. There is little chance that Sandra got the football. It is probable that Lily is a frog. There is almost no chance that Greg is a lion.,It is improbable that either 'Sandra got the football' or 'Greg is a lion' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.1::factA. 0.7::factB. 0.02::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.116,0.7825565113022604,train,improbable,almost certain,It is improbable that either 'Sandra got the football' or 'Greg is a lion' but not both.,It is almost certain that either 'Sandra got the football' or 'Greg is a lion' but not both.,1,Either 'Sandra got the football' or 'Greg is a lion' but not both. Chances are slight that John got the apple. Chances are slight that Brian is green. It is highly likely that Jessica is a sheep.,It is highly unlikely that 'John got the apple' 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.9::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.91,0.2510502100420084,train,highly likely,highly unlikely,It is highly likely that 'John got the apple' or 'Jessica is a sheep' or both.,It is highly unlikely that 'John got the apple' or 'Jessica is a sheep' or both.,0,'John got the apple' or 'Jessica is a sheep' or both. There is almost no chance that Brian is green. Chances are about even that John went to the hallway. It is almost certain that Greg is yellow.,There is almost no chance that 'Brian is green 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.5::factB. 0.95::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.2488497699539908,train,almost no chance,better than even,There is almost no chance that 'Brian is green and John went to the hallway'.,There is a better than even chance that 'Brian is green and John went to the hallway'.,1,'Brian is green and John went to the hallway'. There is a very good chance that Bernhard is a swan. It is highly unlikely that Brian is green. It is improbable that Gertrude is a wolf.,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.8::factA. 0.05::factB. 0.1::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.3378675735147029,train,impossible,about even,It is impossible that 'Brian is green and Gertrude is a wolf'.,Chances are about even that 'Brian is green and Gertrude is a wolf'.,1,'Brian is green and Gertrude is a wolf'. It is probably not the case that Brian is green. We believe that Mary left the milk. It is unlikely that Bernhard is a frog.,There is a very good chance that 'Brian is green' 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.25::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8125,0.29465893178635727,train,very good chance,highly unlikely,There is a very good chance that 'Brian is green' or 'Mary left the milk' or both.,It is highly unlikely that 'Brian is green' or 'Mary left the milk' or both.,1,'Brian is green' or 'Mary left the milk' or both. It is certain that John took the football. There is almost no chance that Greg is gray. There is a better than even chance that Sandra left the milk.,There is almost no chance that either 'Greg is gray' 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.02::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.98,0.28805761152230447,train,certain,almost no chance,It is certain that either 'Greg is gray' or 'John took the football' but not both.,There is almost no chance that either 'Greg is gray' or 'John took the football' but not both.,0,Either 'Greg is gray' or 'John took the football' but not both. It is certain that Bernhard is green. It is improbable that Lily is a swan. It is probably not the case that Mary went to the bedroom.,We believe that either 'Mary went to the bedroom' 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.25::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.784756951390278,train,probably not,we believe,It is probably not the case that either 'Mary went to the bedroom' or 'Lily is a swan' but not both.,We believe that either 'Mary went to the bedroom' or 'Lily is a swan' but not both.,0,Either 'Mary went to the bedroom' or 'Lily is a swan' but not both. There is almost no chance that Daniel took the apple. It is unlikely that Julius is white. We believe that Bernhard is a swan.,There is a very good chance that 'Bernhard 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.02::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.6193238647729546,train,very good chance,probably not,There is a very good chance that 'Bernhard is a swan' or 'Julius is white' or both.,It is probably not the case that 'Bernhard is a swan' or 'Julius is white' or both.,1,'Bernhard is a swan' or 'Julius is white' or both. There is a very good chance that Julius is white. We believe that John went to the garden. It is improbable that Greg is yellow.,There is a very good chance that 'Greg is yellow' 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.8::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.627125425085017,train,very good chance,little chance,There is a very good chance that 'Greg is yellow' or 'John went to the garden' or both.,There is little chance that 'Greg is yellow' or 'John went to the garden' or both.,1,'Greg is yellow' or 'John went to the garden' or both. It is impossible that Julius is a lion. It is probably not the case that Greg is a swan. It is likely that Daniel left the milk.,It is probably the case that 'Greg 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.0::factA. 0.25::factB. 0.7::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.175,0.3076615323064613,train,unlikely,probably,It is unlikely that 'Greg is a swan and Daniel left the milk'.,It is probably the case that 'Greg is a swan and Daniel left the milk'.,0,'Greg is a swan and Daniel left the milk'. There is a very good chance that Bernhard is gray. Chances are slight that Sandra is in the kitchen. There is almost no chance that Mary left the football.,Chances are slight that 'Sandra is in the kitchen' 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.1::factB. 0.02::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.11800000000000002,0.7735547109421884,train,chances are slight,almost certain,Chances are slight that 'Sandra is in the kitchen' or 'Mary left the football' or both.,It is almost certain that 'Sandra is in the kitchen' or 'Mary left the football' or both.,1,'Sandra is in the kitchen' or 'Mary left the football' or both. There is little chance that Julius is a swan. It is likely that Fred dropped the apple. It is almost certain that Brian is yellow.,Chances are slight that 'Julius 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.1::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.955,0.665133026605321,train,almost certain,chances are slight,It is almost certain that 'Julius is a swan' or 'Brian is yellow' or both.,Chances are slight that 'Julius is a swan' or 'Brian is yellow' or both.,0,'Julius is a swan' or 'Brian is yellow' or both. It is improbable that Brian is yellow. It is highly likely that Lily is green. It is impossible that Sandra left the milk.,It is highly likely that 'Lily is green' 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.9::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9,0.044608921784356874,train,highly likely,chances are slight,It is highly likely that 'Lily is green' or 'Sandra left the milk' or both.,Chances are slight that 'Lily is green' or 'Sandra left the milk' or both.,1,'Lily is green' or 'Sandra left the milk' or both. We believe that John dropped the apple. There is a better than even chance that Greg is a rhino. There is a very good chance that Bernhard is white.,There is almost no chance that 'Greg 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.75::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9,0.377875575115023,train,highly likely,almost no chance,It is highly likely that 'Greg is a rhino' or 'John dropped the apple' or both.,There is almost no chance that 'Greg is a rhino' or 'John dropped the apple' or both.,0,'Greg is a rhino' or 'John dropped the apple' or both. Chances are about even that Sandra took the football. There is almost no chance that Brian is yellow. It is unlikely that Mary left the apple.,We doubt that either 'Mary left 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.5::factA. 0.02::factB. 0.2::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.21200000000000002,0.1844368873774755,train,we doubt,likely,We doubt that either 'Mary left the apple' or 'Brian is yellow' but not both.,It is likely that either 'Mary left the apple' or 'Brian is yellow' but not both.,1,Either 'Mary left the apple' or 'Brian is yellow' but not both. Chances are about even that Brian is a lion. It is probable that Sandra got the milk. It is unlikely that Mary went to the office.,We believe that 'Sandra got 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.5::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.19383876775355072,train,chances are slight,we believe,Chances are slight that 'Sandra got the milk and Mary went to the office'.,We believe that 'Sandra got the milk and Mary went to the office'.,0,'Sandra got the milk and Mary went to the office'. It is probably not the case that Lily is yellow. It is improbable that Bernhard is a frog. It is likely that Brian is a rhino.,There is almost no chance that 'Bernhard is a frog 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.25::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025000000000000012,0.5635127025405081,train,almost no chance,likely,There is almost no chance that 'Bernhard is a frog and Lily is yellow'.,It is likely that 'Bernhard is a frog and Lily is yellow'.,1,'Bernhard is a frog and Lily is yellow'. It is likely that Greg is a rhino. There is a very good chance that Bernhard is a swan. It is probably the case that Mary took the milk.,There is a better than even chance 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.7::factA. 0.8::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.7337467493498699,train,better than even,improbable,There is a better than even chance that 'Bernhard is a swan and Greg is a rhino'.,It is improbable that 'Bernhard is a swan and Greg is a rhino'.,1,'Bernhard is a swan and Greg is a rhino'. It is probably the case that John moved to the office. It is probable that Mary left the football. It is unlikely that Jessica is a mouse.,It is almost certain that 'Jessica 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.7::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.4268853770754151,train,little chance,almost certain,There is little chance that 'Jessica is a mouse and Mary left the football'.,It is almost certain that 'Jessica is a mouse and Mary left the football'.,0,'Jessica is a mouse and Mary left the football'. It is probably not the case that Lily is a frog. It is probably the case that Sandra dropped the apple. There is little chance that Julius is green.,It is improbable that either 'Lily is a frog' 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.25::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.5515103020604121,train,better than even,improbable,There is a better than even chance that either 'Lily is a frog' or 'Sandra dropped the apple' but not both.,It is improbable that either 'Lily is a frog' or 'Sandra dropped the apple' but not both.,0,Either 'Lily is a frog' or 'Sandra dropped the apple' but not both. We doubt that Mary dropped the apple. Chances are slight that John went to the garden. It is likely that Jeff left the apple.,We believe that 'Mary dropped 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.2::factA. 0.1::factB. 0.7::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.76,0.2730546109221844,train,we believe,probably not,We believe that 'Mary dropped the apple' or 'Jeff left the apple' or both.,It is probably not the case that 'Mary dropped the apple' or 'Jeff left the apple' or both.,1,'Mary dropped the apple' or 'Jeff left the apple' or both. It is unlikely that Daniel took the milk. We believe that John moved to the garden. It is almost certain that Greg is a frog.,We doubt that either 'John moved to the garden' 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.75::factB. 0.95::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.19523904780956192,train,probable,we doubt,It is probable that either 'John moved to the garden' or 'Daniel took the milk' but not both.,We doubt that either 'John moved to the garden' or 'Daniel took the milk' but not both.,0,Either 'John moved to the garden' or 'Daniel took the milk' but not both. There is a very good chance that Bernhard is a frog. It is highly unlikely that Daniel got the football. It is likely that Lily is a lion.,We believe that 'Daniel got 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.8::factA. 0.05::factB. 0.7::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.04000000000000001,0.02480496099219844,train,highly unlikely,we believe,It is highly unlikely that 'Daniel got the football and Bernhard is a frog'.,We believe that 'Daniel got the football and Bernhard is a frog'.,0,'Daniel got the football and Bernhard is a frog'. Chances are slight that Mary left the milk. It is certain that Bernhard is a frog. It is probably the case that John went to the garden.,It is certain that 'Mary left 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.1::factA. 1.0::factB. 0.7::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.1228245649129826,train,certain,chances are slight,It is certain that 'Mary left the milk' or 'Bernhard is a frog' or both.,Chances are slight that 'Mary left the milk' or 'Bernhard is a frog' or both.,1,'Mary left the milk' or 'Bernhard is a frog' or both. There is little chance that Bernhard is yellow. Chances are about even that Mary moved to the garden. It is likely that Jeff discarded the milk.,Chances are about even that either 'Bernhard is yellow' 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.5::factB. 0.7::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.751750350070014,train,about even,almost no chance,Chances are about even that either 'Bernhard is yellow' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Mary moved to the garden' but not both.,1,Either 'Bernhard is yellow' or 'Mary moved to the garden' but not both. We doubt that John went to the garden. It is likely that Sumit is bored. Chances are slight that Julius is white.,It is impossible that either 'Julius is white' 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.7::factB. 0.1::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.32886577315463095,train,probably,impossible,It is probably the case that either 'Julius is white' or 'Sumit is bored' but not both.,It is impossible that either 'Julius is white' or 'Sumit is bored' but not both.,0,Either 'Julius is white' or 'Sumit is bored' but not both. It is improbable that Greg is a rhino. There is a better than even chance that Julius is a lion. We believe that Mary left the football.,It is almost certain that 'Julius 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.6::factB. 0.75::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.06,0.4072814562912582,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a lion and Greg is a rhino'.,It is almost certain that 'Julius is a lion and Greg is a rhino'.,0,'Julius is a lion and Greg is a rhino'. We doubt that Fred moved to the office. It is probable that Brian is a frog. It is highly likely that Greg is a lion.,Chances are slight that 'Brian is a frog' 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.2::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7599999999999999,0.4718943788757752,train,we believe,chances are slight,We believe that 'Brian is a frog' or 'Fred moved to the office' or both.,Chances are slight that 'Brian is a frog' or 'Fred moved to the office' or both.,0,'Brian is a frog' or 'Fred moved to the office' or both. Chances are slight that Mary went to the hallway. We believe that Winona is a cat. There is a very good chance that Greg is a lion.,It is probably not the case that either 'Greg is a lion' 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.75::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.24004800960192038,train,probably not,we believe,It is probably not the case that either 'Greg is a lion' or 'Winona is a cat' but not both.,We believe that either 'Greg is a lion' or 'Winona is a cat' but not both.,1,Either 'Greg is a lion' or 'Winona is a cat' but not both. It is highly unlikely that Mary dropped the apple. It is certain that Fred put down the apple. Chances are slight that Brian is white.,It is certain that 'Mary dropped the apple' 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.05::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.3730746149229846,train,certain,unlikely,It is certain that 'Mary dropped the apple' or 'Fred put down the apple' or both.,It is unlikely that 'Mary dropped the apple' or 'Fred put down the apple' or both.,1,'Mary dropped the apple' or 'Fred put down the apple' or both. It is almost certain that Winona is a wolf. It is probable that Bill went to the garden. There is a very good chance that Brian is white.,It is certain that 'Bill went to the garden' 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.95::factA. 0.7::factB. 0.8::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.985,0.632126425285057,train,certain,improbable,It is certain that 'Bill went to the garden' or 'Winona is a wolf' or both.,It is improbable that 'Bill went to the garden' or 'Winona is a wolf' or both.,1,'Bill went to the garden' or 'Winona is a wolf' or both. It is highly likely that Greg is green. There is a better than even chance that Lily is a swan. There is a very good chance that Mary left the football.,It is probably the case that 'Greg 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.9::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7200000000000001,0.5511102220444088,train,probably,improbable,It is probably the case that 'Greg is green and Mary left the football'.,It is improbable that 'Greg is green and Mary left the football'.,1,'Greg is green and Mary left the football'. It is certain that Mary went to the kitchen. It is highly likely that John left the milk. It is almost certain that Greg is white.,There is almost no chance that 'Greg 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 1.0::factA. 0.9::factB. 0.95::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.2460492098419684,train,certain,almost no chance,It is certain that 'Greg is white' or 'Mary went to the kitchen' or both.,There is almost no chance that 'Greg is white' or 'Mary went to the kitchen' or both.,0,'Greg is white' or 'Mary went to the kitchen' or both. It is unlikely that Lily is a lion. It is highly unlikely that Brian is a rhino. It is probably not the case that Greg is a swan.,It is probable that either 'Brian is a rhino' 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.05::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.6187237447489498,train,probably not,probable,It is probably not the case that either 'Brian is a rhino' or 'Lily is a lion' but not both.,It is probable that either 'Brian is a rhino' or 'Lily is a lion' but not both.,0,Either 'Brian is a rhino' or 'Lily is a lion' but not both. It is impossible that John went to the garden. It is highly unlikely that Julius is white. Chances are about even that Greg is a swan.,It is almost certain that either 'John went 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.0::factA. 0.05::factB. 0.5::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.21244248849769953,train,about even,almost certain,Chances are about even that either 'John went to the garden' or 'Greg is a swan' but not both.,It is almost certain that either 'John went to the garden' or 'Greg is a swan' but not both.,0,Either 'John went to the garden' or 'Greg is a swan' but not both. It is highly unlikely that John picked up the milk. It is probably the case that Greg is a swan. Chances are about even that Sandra dropped the milk.,Chances are about even that either 'Greg 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.05::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.49999999999999994,0.05621124224844969,train,about even,impossible,Chances are about even that either 'Greg is a swan' or 'Sandra dropped the milk' but not both.,It is impossible that either 'Greg is a swan' or 'Sandra dropped the milk' but not both.,1,Either 'Greg is a swan' or 'Sandra dropped the milk' but not both. It is impossible that Mary picked up the milk. There is a better than even chance that Lily is gray. There is a very good chance that Brian is a swan.,There is a better than even chance that either 'Lily is gray' 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.0::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.39327865573114623,train,better than even,highly unlikely,There is a better than even chance that either 'Lily is gray' or 'Mary picked up the milk' but not both.,It is highly unlikely that either 'Lily is gray' or 'Mary picked up the milk' but not both.,1,Either 'Lily is gray' or 'Mary picked up the milk' but not both. It is impossible that Lily is a rhino. There is a better than even chance that John left the football. It is probably not the case that Bernhard is a frog.,It is highly likely that 'Lily is a rhino 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.6::factB. 0.25::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.16643328665733148,train,impossible,highly likely,It is impossible that 'Lily is a rhino and John left the football'.,It is highly likely that 'Lily is a rhino and John left the football'.,0,'Lily is a rhino and John left the football'. It is likely that Brian is white. There is a better than even chance that Emily is a wolf. There is a very good chance that Jeff dropped the apple.,Chances are about even that 'Jeff dropped 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.7::factA. 0.6::factB. 0.8::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9400000000000001,0.41808361672334465,train,almost certain,about even,It is almost certain that 'Jeff dropped the apple' or 'Brian is white' or both.,Chances are about even that 'Jeff dropped the apple' or 'Brian is white' or both.,0,'Jeff dropped the apple' or 'Brian is white' or both. There is little chance that Julius is gray. It is probably not the case that Mary went to the office. It is unlikely that John put down the milk.,There is almost no chance that 'Mary went to the office 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.25::factB. 0.2::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025000000000000012,0.2546509301860372,train,almost no chance,about even,There is almost no chance that 'Mary went to the office and Julius is gray'.,Chances are about even that 'Mary went to the office and Julius is gray'.,1,'Mary went to the office and Julius is gray'. We believe that John took the apple. There is a better than even chance that Bernhard is a lion. There is almost no chance that Lily is a swan.,There is a better than even chance that 'Lily 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.75::factA. 0.6::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.608,0.7275455091018204,train,better than even,highly unlikely,There is a better than even chance that 'Lily is a swan' or 'Bernhard is a lion' or both.,It is highly unlikely that 'Lily is a swan' or 'Bernhard is a lion' or both.,1,'Lily is a swan' or 'Bernhard is a lion' or both. It is certain that Brian is a swan. It is almost certain that John dropped the apple. We believe that Mary went to the bedroom.,It is certain that 'Brian 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 1.0::factA. 0.95::factB. 0.75::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.5275055011002201,train,certain,improbable,It is certain that 'Brian is a swan' or 'Mary went to the bedroom' or both.,It is improbable that 'Brian is a swan' or 'Mary went to the bedroom' or both.,1,'Brian is a swan' or 'Mary went to the bedroom' or both. It is certain that Fred left the apple. It is probably not the case that Mary moved to the office. It is highly likely that Brian is a swan.,There is little chance 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 1.0::factA. 0.25::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.3006601320264053,train,probably,little chance,It is probably the case that either 'Brian is a swan' or 'Mary moved to the office' but not both.,There is little chance that either 'Brian is a swan' or 'Mary moved to the office' but not both.,0,Either 'Brian is a swan' or 'Mary moved to the office' but not both. There is a better than even chance that John took the milk. Chances are about even that Julius is a swan. We doubt that Jessica is a mouse.,There is a very good chance that 'John took 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.6::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8,0.3852770554110822,train,very good chance,we doubt,There is a very good chance that 'John took the milk' or 'Julius is a swan' or both.,We doubt that 'John took the milk' or 'Julius is a swan' or both.,1,'John took the milk' or 'Julius is a swan' or both. It is almost certain that Julius is a lion. It is highly likely that Greg is white. It is highly likely that Brian is green.,There is a very good chance that 'Greg 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.95::factA. 0.9::factB. 0.9::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.81,0.40548109621924383,train,very good chance,we doubt,There is a very good chance that 'Greg is white and Brian is green'.,We doubt that 'Greg is white and Brian is green'.,1,'Greg is white and Brian is green'. It is almost certain that Jeff dropped the apple. It is probably not the case that Greg is a swan. Chances are about even that Lily is white.,It is improbable that 'Lily is white' 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.95::factA. 0.25::factB. 0.5::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.6250000000000001,0.20584116823364673,train,better than even,improbable,There is a better than even chance that 'Lily is white' or 'Greg is a swan' or both.,It is improbable that 'Lily is white' or 'Greg is a swan' or both.,0,'Lily is white' or 'Greg is a swan' or both. It is improbable that Mary went to the hallway. It is almost certain that Julius is yellow. We believe that Jason is thirsty.,It is probably not the case that 'Jason is thirsty' 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.95::factB. 0.75::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9875,0.19243848769753952,train,certain,probably not,It is certain that 'Jason is thirsty' or 'Julius is yellow' or both.,It is probably not the case that 'Jason is thirsty' or 'Julius is yellow' or both.,0,'Jason is thirsty' or 'Julius is yellow' or both. It is unlikely that Daniel left the apple. It is almost certain that John took the football. Chances are slight that Brian is gray.,We doubt that 'Daniel left the apple 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.95::factB. 0.1::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.19,0.2578515703140628,train,we doubt,certain,We doubt that 'Daniel left the apple and John took the football'.,It is certain that 'Daniel left the apple and John took the football'.,1,'Daniel left the apple and John took the football'. It is probably not the case that John went to the garden. It is improbable that Brian is a rhino. There is almost no chance that Lily is green.,It is probable that 'Lily 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 0.25::factA. 0.1::factB. 0.02::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.11800000000000002,0.023404680936187236,train,improbable,probable,It is improbable that 'Lily is green' or 'Brian is a rhino' or both.,It is probable that 'Lily is green' or 'Brian is a rhino' or both.,0,'Lily is green' or 'Brian is a rhino' or both. It is certain that Gertrude is a mouse. It is probably the case that Lily is a rhino. Chances are about even that Brian is a frog.,It is probable 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 1.0::factA. 0.7::factB. 0.5::factC. %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.0678135627125425,train,probably not,probable,It is probably not the case that 'Lily is a rhino and Brian is a frog'.,It is probable that 'Lily is a rhino and Brian is a frog'.,0,'Lily is a rhino and Brian is a frog'. It is likely that Jeff left the apple. We believe that John moved to the office. There is almost no chance that Lily is gray.,There is almost no chance that 'Lily 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.7::factA. 0.75::factB. 0.02::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.706,0.6377275455091018,train,likely,almost no chance,It is likely that 'Lily is gray' or 'Jeff left the apple' or both.,There is almost no chance that 'Lily is gray' or 'Jeff left the apple' or both.,0,'Lily is gray' or 'Jeff left the apple' or both. It is highly likely that Mary dropped the milk. There is a better than even chance that Sandra left the football. It is probably the case that Gertrude is a cat.,Chances are about even that either 'Gertrude is a cat' 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.9::factA. 0.6::factB. 0.7::factC. %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.45999999999999996,0.3156631326265253,train,about even,highly unlikely,Chances are about even that either 'Gertrude is a cat' or 'Sandra left the football' but not both.,It is highly unlikely that either 'Gertrude is a cat' or 'Sandra left the football' but not both.,1,Either 'Gertrude is a cat' or 'Sandra left the football' but not both. There is a very good chance that Lily is a swan. It is likely that Mary went to the bedroom. There is a better than even chance that John discarded the apple.,It is almost certain that 'Lily 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.7::factB. 0.6::factC. %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9400000000000001,0.06601320264052811,train,almost certain,improbable,It is almost certain that 'Lily is a swan' or 'Mary went to the bedroom' or both.,It is improbable that 'Lily is a swan' or 'Mary went to the bedroom' or both.,1,'Lily is a swan' or 'Mary went to the bedroom' or both. We believe that Greg is a rhino. We doubt that Jessica is a sheep. It is likely that Brian is a frog.,Chances are about even that 'Brian 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.75::factA. 0.2::factB. 0.7::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.525,0.029205841168233646,train,about even,almost no chance,Chances are about even that 'Brian is a frog and Greg is a rhino'.,There is almost no chance that 'Brian is a frog and Greg is a rhino'.,1,'Brian is a frog and Greg is a rhino'. Chances are slight that Bernhard is a lion. It is likely that Greg is a swan. Chances are slight that John took the football.,We believe that 'Greg is a swan' 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.1::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.17723544708941788,train,we believe,highly unlikely,We believe that 'Greg is a swan' or 'John took the football' or both.,It is highly unlikely that 'Greg is a swan' or 'John took the football' or both.,1,'Greg is a swan' or 'John took the football' or both. It is unlikely that Julius is a swan. It is highly unlikely that John went to the office. It is probably not the case that Jason is tired.,It is probably not the case that either 'John 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.2::factA. 0.05::factB. 0.25::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.21804360872174436,train,probably not,certain,It is probably not the case that either 'John went to the office' or 'Julius is a swan' but not both.,It is certain that either 'John went to the office' or 'Julius is a swan' but not both.,1,Either 'John went to the office' or 'Julius is a swan' but not both. We believe that Jeff went to the bedroom. It is unlikely that Julius is gray. There is a better than even chance that Greg is white.,It is probably the case that either 'Julius is gray' 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.75::factA. 0.2::factB. 0.6::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.65,0.5709141828365674,train,probably,almost no chance,It is probably the case that either 'Julius is gray' or 'Jeff went to the bedroom' but not both.,There is almost no chance that either 'Julius is gray' or 'Jeff went to the bedroom' but not both.,1,Either 'Julius is gray' or 'Jeff went to the bedroom' but not both. It is impossible that Jeff left the apple. It is likely that Fred is in the school. It is improbable that Jason is tired.,It is likely that either 'Fred is in the school' or 'Jeff left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.0::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.5629125825165033,train,likely,we doubt,It is likely that either 'Fred is in the school' or 'Jeff left the apple' but not both.,We doubt that either 'Fred is in the school' or 'Jeff left the apple' but not both.,1,Either 'Fred is in the school' or 'Jeff left the apple' but not both. It is highly unlikely that Lily is a swan. We doubt that Brian is white. It is impossible that Fred went to the office.,There is a better than even chance that 'Fred went to the office' 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.2::factB. 0.0::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.05000000000000001,0.3550710142028406,train,highly unlikely,better than even,It is highly unlikely that 'Fred went to the office' or 'Lily is a swan' or both.,There is a better than even chance that 'Fred went to the office' or 'Lily is a swan' or both.,0,'Fred went to the office' or 'Lily is a swan' or both. It is impossible that Mary dropped the milk. We doubt that Julius is gray. It is highly likely that John moved to the garden.,We doubt 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.0::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9,0.36007201440288056,train,highly likely,we doubt,It is highly likely that either 'Mary dropped the milk' or 'John moved to the garden' but not both.,We doubt 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. There is almost no chance that Brian is a rhino. We believe that Jessica is a mouse. Chances are slight that Julius is a lion.,It is probably the case 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 0.02::factA. 0.75::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.7,0.7181436287257451,train,probably,little chance,It is probably the case that either 'Jessica is a mouse' or 'Julius is a lion' but not both.,There is little chance 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. It is certain that Mary picked up the apple. It is certain that Jeff went to the bedroom. There is a very good chance that Bernhard is white.,We doubt that either 'Bernhard is white' 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 1.0::factA. 1.0::factB. 0.8::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.19999999999999998,0.05181036207241448,train,we doubt,we believe,We doubt that either 'Bernhard is white' or 'Mary picked up the apple' but not both.,We believe that either 'Bernhard is white' or 'Mary picked up the apple' but not both.,1,Either 'Bernhard is white' or 'Mary picked up the apple' but not both. We believe that Mary dropped the milk. It is almost certain that Julius is a swan. It is certain that Jessica is a mouse.,We believe that either 'Julius is a swan' 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.95::factB. 1.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.275,0.5165033006601321,train,probably not,we believe,It is probably not the case that either 'Julius is a swan' or 'Mary dropped the milk' but not both.,We believe that either 'Julius is a swan' or 'Mary dropped the milk' but not both.,0,Either 'Julius is a swan' or 'Mary dropped the milk' but not both. There is a better than even chance that Jeff left the apple. We doubt that Gertrude is a mouse. It is highly likely that Brian is gray.,Chances are about even that either 'Brian is gray' or 'Jeff left the apple' but not both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.6::factA. 0.2::factB. 0.9::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.42000000000000004,0.3700740148029606,train,about even,highly unlikely,Chances are about even that either 'Brian is gray' or 'Jeff left the apple' but not both.,It is highly unlikely that either 'Brian is gray' or 'Jeff left the apple' but not both.,1,Either 'Brian is gray' or 'Jeff left the apple' but not both. We doubt that John moved to the office. It is likely that Gertrude is a mouse. It is unlikely that Brian is a lion.,There is a very good chance that 'Brian 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 0.2::factA. 0.7::factB. 0.2::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.5837167433486697,train,chances are slight,very good chance,Chances are slight that 'Brian is a lion and Gertrude is a mouse'.,There is a very good chance that 'Brian is a lion and Gertrude is a mouse'.,0,'Brian is a lion and Gertrude is a mouse'. We believe that John discarded the apple. Chances are about even that Julius is a lion. It is unlikely that Mary went to the bedroom.,It is probably not the case that 'John discarded 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.75::factA. 0.5::factB. 0.2::factC. %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.375,0.03640728145629126,train,probably not,we believe,It is probably not the case that 'John discarded the apple and Julius is a lion'.,We believe that 'John discarded the apple and Julius is a lion'.,1,'John discarded the apple and Julius is a lion'. It is impossible that Julius is a swan. There is little chance that Bernhard is green. There is a very good chance that Gertrude is a cat.,It is unlikely that 'Gertrude is a cat' 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.1::factB. 0.8::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.657131426285257,train,very good chance,unlikely,There is a very good chance that 'Gertrude is a cat' or 'Bernhard is green' or both.,It is unlikely that 'Gertrude is a cat' or 'Bernhard is green' or both.,0,'Gertrude is a cat' or 'Bernhard is green' or both. It is highly unlikely that John took the football. It is highly likely that Mary went to the hallway. It is unlikely that Julius is yellow.,There is a very good chance that 'John took the football' or 'Julius is yellow' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.05::factA. 0.9::factB. 0.2::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.01860372074414883,train,probably not,very good chance,It is probably not the case that 'John took the football' or 'Julius is yellow' or both.,There is a very good chance that 'John took the football' or 'Julius is yellow' or both.,0,'John took the football' or 'Julius is yellow' or both. It is probably the case that Mary went to the bedroom. It is likely that Yann is hungry. It is improbable that Julius is yellow.,We believe 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.7::factA. 0.7::factB. 0.1::factC. %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.6051210242048409,train,we believe,highly unlikely,We believe that 'Julius is yellow' or 'Yann is hungry' or both.,It is highly unlikely that 'Julius is yellow' or 'Yann is hungry' or both.,1,'Julius is yellow' or 'Yann is hungry' or both. Chances are about even that Emily is a wolf. It is certain that Bernhard is a lion. Chances are slight that John got the milk.,It is almost certain that 'John got 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 0.5::factA. 1.0::factB. 0.1::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.05000000000000001,0.6707341468293658,train,highly unlikely,almost certain,It is highly unlikely that 'John got the milk and Emily is a wolf'.,It is almost certain that 'John got the milk and Emily is a wolf'.,0,'John got the milk and Emily is a wolf'. It is highly unlikely that Mary went to the bedroom. There is little chance that Daniel left the milk. It is impossible that Winona is a wolf.,It is probable that 'Winona 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.05::factA. 0.1::factB. 0.0::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.008601720344068814,train,impossible,probable,It is impossible that 'Winona is a wolf and Mary went to the bedroom'.,It is probable that 'Winona is a wolf and Mary went to the bedroom'.,0,'Winona is a wolf and Mary went to the bedroom'. It is unlikely that John moved to the garden. It is unlikely that Brian is yellow. It is improbable that Sandra took the football.,It is probably not the case that either 'Brian 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.2::factB. 0.1::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32,0.5037007401480296,train,probably not,certain,It is probably not the case that either 'Brian is yellow' or 'John moved to the garden' but not both.,It is certain that either 'Brian is yellow' or 'John moved to the garden' but not both.,1,Either 'Brian is yellow' or 'John moved to the garden' but not both. We believe that Bernhard is a swan. There is a better than even chance that Fred dropped the milk. There is little chance that Mary went to the bedroom.,Chances are about even that either 'Bernhard 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.75::factA. 0.6::factB. 0.1::factC. %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45000000000000007,0.40228045609121826,train,about even,highly unlikely,Chances are about even that either 'Bernhard is a swan' or 'Fred dropped the milk' but not both.,It is highly unlikely that either 'Bernhard is a swan' or 'Fred dropped the milk' but not both.,1,Either 'Bernhard is a swan' or 'Fred dropped the milk' but not both. It is improbable that Brian is a frog. It is highly unlikely that Sandra left the milk. There is almost no chance that Mary went to the kitchen.,Chances are slight 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.1::factA. 0.05::factB. 0.02::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.11800000000000002,0.42008401680336066,train,chances are slight,certain,Chances are slight that 'Brian is a frog' or 'Mary went to the kitchen' or both.,It is 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. It is probable that Lily is a swan. There is almost no chance that Fred moved to the office. It is probably not the case that Brian is a rhino.,It is probably not the case that 'Fred moved to the office' 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.02::factB. 0.25::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.265,0.1270254050810162,train,probably not,certain,It is probably not the case that 'Fred moved to the office' or 'Brian is a rhino' or both.,It is certain that 'Fred moved to the office' or 'Brian is a rhino' or both.,1,'Fred moved to the office' or 'Brian is a rhino' or both. There is a very good chance that Sandra grabbed the apple. It is almost certain that John went to the hallway. There is almost no chance that Mary left the football.,We believe that 'Mary left the football 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.8::factA. 0.95::factB. 0.02::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.01600000000000001,0.4252850570114023,train,almost no chance,we believe,There is almost no chance that 'Mary left the football and Sandra grabbed the apple'.,We believe that 'Mary left the football and Sandra grabbed the apple'.,0,'Mary left the football and Sandra grabbed the apple'. It is probable that Lily is a frog. There is a very good chance that Bernhard is a frog. It is probably not the case that Brian is a swan.,It is almost certain that 'Bernhard 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.7::factA. 0.8::factB. 0.25::factC. %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9400000000000001,0.056811362272454494,train,almost certain,chances are slight,It is almost certain that 'Bernhard is a frog' or 'Lily is a frog' or both.,Chances are slight that 'Bernhard is a frog' or 'Lily is a frog' or both.,1,'Bernhard is a frog' or 'Lily is a frog' or both. It is unlikely that Brian is a rhino. It is probable that Daniel dropped the milk. It is impossible that John put down the apple.,It is improbable that either 'Daniel dropped the milk' 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.0::factC. %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.7631526305261053,train,better than even,improbable,There is a better than even chance that either 'Daniel dropped the milk' or 'Brian is a rhino' but not both.,It is improbable that either 'Daniel dropped the milk' or 'Brian is a rhino' but not both.,0,Either 'Daniel dropped the milk' or 'Brian is a rhino' but not both. It is likely that Mary grabbed the milk. It is highly likely that Sandra dropped the milk. There is almost no chance that Julius is gray.,It is probable that either 'Julius is gray' 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.9::factB. 0.02::factC. %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.010002000400080016,train,probable,almost no chance,It is probable that either 'Julius is gray' or 'Mary grabbed the milk' but not both.,There is almost no chance that either 'Julius is gray' or 'Mary grabbed the milk' but not both.,1,Either 'Julius is gray' or 'Mary grabbed the milk' but not both. There is a better than even chance that Brian is a swan. There is a very good chance that John went to the bedroom. It is likely that Bernhard is gray.,There is a better than even chance that 'Bernhard is gray 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.8::factB. 0.7::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5599999999999999,0.1278255651130226,train,better than even,impossible,There is a better than even chance that 'Bernhard is gray and John went to the bedroom'.,It is impossible that 'Bernhard is gray and John went to the bedroom'.,1,'Bernhard is gray and John went to the bedroom'. It is probably the case that John dropped the apple. There is a very good chance that Bernhard is green. Chances are slight that Lily is a rhino.,There is a better than even chance that 'Bernhard is green 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.8::factB. 0.1::factC. %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.40368073614722944,train,better than even,impossible,There is a better than even chance that 'Bernhard is green and John dropped the apple'.,It is impossible that 'Bernhard is green and John dropped the apple'.,1,'Bernhard is green and John dropped the apple'. Chances are slight that Gertrude is a cat. It is highly likely that Greg is a frog. It is impossible that Lily is yellow.,We doubt that 'Greg is a frog' 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.9::factB. 0.0::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9,0.6349269853970794,train,highly likely,we doubt,It is highly likely that 'Greg is a frog' or 'Lily is yellow' or both.,We doubt that 'Greg is a frog' or 'Lily is yellow' or both.,0,'Greg is a frog' or 'Lily is yellow' or both. It is probably the case that Brian is a rhino. It is impossible that Mary went to the office. Chances are slight that John grabbed the apple.,It is improbable that 'John grabbed the apple' or 'Brian is a rhino' or both.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.0::factB. 0.1::factC. %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.6899379875975195,train,we believe,improbable,We believe that 'John grabbed the apple' or 'Brian is a rhino' or both.,It is improbable that 'John grabbed the apple' or 'Brian is a rhino' or both.,0,'John grabbed the apple' or 'Brian is a rhino' or both. It is almost certain that Jessica is a mouse. It is probable that John went to the kitchen. It is certain that Greg is yellow.,There is almost no chance that 'Jessica 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.95::factA. 0.7::factB. 1.0::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.95,0.7425485097019404,train,almost certain,almost no chance,It is almost certain that 'Jessica is a mouse and Greg is yellow'.,There is almost no chance that 'Jessica is a mouse and Greg is yellow'.,0,'Jessica is a mouse and Greg is yellow'. There is little chance that John went to the bedroom. It is impossible that Daniel got the apple. There is almost no chance that Lily is a swan.,It is probable that either 'Daniel got 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.1::factA. 0.0::factB. 0.02::factC. %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.02,0.7409481896379276,train,almost no chance,probable,There is almost no chance that either 'Daniel got the apple' or 'Lily is a swan' but not both.,It is probable that either 'Daniel got the apple' or 'Lily is a swan' but not both.,0,Either 'Daniel got the apple' or 'Lily is a swan' but not both. Chances are about even that Gertrude is a sheep. We believe that John went to the office. It is unlikely that Brian is a swan.,There is little chance that 'Gertrude is a sheep and Brian is a swan'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.5::factA. 0.75::factB. 0.2::factC. %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.10000000000000002,0.5277055411082217,train,little chance,likely,There is little chance that 'Gertrude is a sheep and Brian is a swan'.,It is likely that 'Gertrude is a sheep and Brian is a swan'.,1,'Gertrude is a sheep and Brian is a swan'. It is almost certain that Julius is a swan. There is a better than even chance that John dropped the milk. We doubt that Mary went to the garden.,It is probably the case that 'John 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.95::factA. 0.6::factB. 0.2::factC. %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.68,0.5737147429485897,train,probably,impossible,It is probably the case that 'John dropped the milk' or 'Mary went to the garden' or both.,It is impossible that 'John dropped the milk' or 'Mary went to the garden' or both.,1,'John dropped the milk' or 'Mary went to the garden' or both. We believe that Lily is a swan. It is probable that Julius is white. It is highly likely that Mary is in the hallway.,There is almost no chance that 'Mary is in 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.75::factA. 0.7::factB. 0.9::factC. %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.63,0.020404080816163232,train,better than even,almost no chance,There is a better than even chance that 'Mary is in the hallway and Julius is white'.,There is almost no chance that 'Mary is in the hallway and Julius is white'.,0,'Mary is in the hallway and Julius is white'. It is probably the case that Winona is a cat. It is probable that Brian is white. It is almost certain that Sandra put down the milk.,There is almost no chance that 'Sandra put down the milk and Winona is a cat'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(A,B) :- not(and(A,B)). nor(A,B) :- not(or(A,B)). xor(A,B) :- or(A,B), nand(A,B). %hop0 0.7::factA. 0.7::factB. 0.95::factC. %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.20644128825765154,train,probable,almost no chance,It is probable that 'Sandra put down the milk and Winona is a cat'.,There is almost no chance that 'Sandra put down the milk and Winona is a cat'.,0,'Sandra put down the milk and Winona is a cat'. We doubt that Sandra left the milk. There is a very good chance that Julius is gray. It is almost certain that Lily is a rhino.,It is highly unlikely that 'Sandra 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 0.2::factA. 0.8::factB. 0.95::factC. %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.96,0.27385477095419086,train,almost certain,highly unlikely,It is almost certain that 'Sandra left the milk' or 'Lily is a rhino' or both.,It is highly unlikely that 'Sandra left the milk' or 'Lily is a rhino' or both.,0,'Sandra left the milk' or 'Lily is a rhino' or both. There is little chance that Daniel took the football. It is probably the case that Brian is yellow. It is highly unlikely that Jeff left the football.,Chances are slight that either 'Daniel took the football' 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.7::factB. 0.05::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.14000000000000004,0.45809161832366474,train,chances are slight,better than even,Chances are slight that either 'Daniel took the football' or 'Jeff left the football' but not both.,There is a better than even chance that either 'Daniel took the football' or 'Jeff left the football' but not both.,1,Either 'Daniel took the football' or 'Jeff left the football' but not both. It is probably not the case that John dropped the milk. We doubt that Greg is a swan. We believe that Brian is a lion.,There is a better than even chance that either 'John 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.25::factA. 0.2::factB. 0.75::factC. %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.625,0.004000800160032006,train,better than even,improbable,There is a better than even chance that either 'John dropped the milk' or 'Brian is a lion' but not both.,It is improbable that either 'John dropped the milk' or 'Brian is a lion' but not both.,1,Either 'John dropped the milk' or 'Brian is a lion' but not both.