It is highly likely that Mary went to the hallway. There is almost no chance that Jason is tired. Chances are slight that Daniel dropped the apple. It is certain that if either 'Daniel dropped the apple' or 'Jason is tired' but not both then Sandra left the football. There is a better than even chance that if 'Jason is tired and Mary went to the hallway' then Sumit is thirsty. There is a very good chance that if 'Mary went to the hallway and Daniel dropped the apple' then Brian is gray.
There is almost no chance that 'Mary went to the hallway and Sumit is thirsty'.
There is almost no chance that 'Mary went to the hallway and Sumit is thirsty'.
It is likely that 'Mary went to the hallway and Sumit is thirsty'.

  and(A,B) :- A,B.
  or(A,B) :- A;B.
  nand(A,B) :- not(and(A,B)).
  nor(A,B) :- not(or(A,B)).
  xor(A,B) :- or(A,B), nand(A,B).

  %hop0
  0.9::factA.
  0.02::factB.
  0.1::factC.
  %hop1
  1.0::factX:-xor(factC,factB).
  0.6::factY:-and(factB,factA).
  0.8::factZ:-and(factA,factC).

  %hop2
  conclusion:-and(factA,factY).

  query(conclusion).
  
'Mary went to the hallway and Sumit is thirsty'.