There is a very good chance that John got the apple. Chances are about even that Bernhard is a frog. It is likely that Lily is white. It is certain that if either 'Bernhard is a frog' or 'John got the apple' but not both then Brian is green. It is probably the case that if 'Bernhard is a frog' or 'John got the apple' or both then Julius is a lion. It is highly unlikely that if either 'John got the apple' or 'Bernhard is a frog' but not both then Mary went to the garden.
It is improbable that 'John got the apple and Julius is a lion'.
There is a better than even chance that 'John got the apple and Julius is a lion'.
It is improbable that 'John got the apple and Julius is a lion'.

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

  %hop0
  0.8::factA.
  0.5::factB.
  0.7::factC.
  %hop1
  1.0::factX:-xor(factB,factA).
  0.7::factY:-or(factB,factA).
  0.05::factZ:-xor(factA,factB).

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

  query(conclusion).
  
'John got the apple and Julius is a lion'.