Chances are about even that Daniel took the apple. There is little chance that Lily is green. It is improbable that Julius is a frog. It is likely that if 'Lily is green' or 'Daniel took the apple' or both then Brian is a rhino. There is almost no chance that if 'Julius is a frog and Daniel took the apple' then Jason is tired. Chances are slight that if 'Daniel took the apple' or 'Julius is a frog' or both then Mary went to the office.
It is highly unlikely that 'Mary went to the office and Daniel took the apple'.
It is highly unlikely that 'Mary went to the office and Daniel took the apple'.
It is probable that 'Mary went to the office and Daniel took the apple'.

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

  %hop0
  0.5::factA.
  0.1::factB.
  0.1::factC.
  %hop1
  0.7::factX:-or(factB,factA).
  0.02::factY:-and(factC,factA).
  0.1::factZ:-or(factA,factC).

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

  query(conclusion).
  
'Mary went to the office and Daniel took the apple'.