There is a very good chance that John got the apple. It is probably not the case that Julius is a swan. There is a better than even chance that Jessica is a mouse. It is certain that if 'John got the apple and Julius is a swan' then Brian is white. It is highly likely that if either 'John got the apple' or 'Jessica is a mouse' but not both then Lily is yellow. There is a very good chance that if either 'Jessica is a mouse' or 'Julius is a swan' but not both then Mary went to the office.
It is probably not the case that 'Mary went to the office and John got the apple'.
It is probably not the case that 'Mary went to the office and John got the apple'.
It is likely that 'Mary went to the office and John got the apple'.

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

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

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

  query(conclusion).
  
'Mary went to the office and John got the apple'.