Chances are about even that Lily is a rhino. It is probable that John took the apple. It is highly likely that Bernhard is a lion. There is a very good chance that if either 'John took the apple' or 'Bernhard is a lion' but not both then Gertrude is a wolf. There is a better than even chance that if either 'Lily is a rhino' or 'John took the apple' but not both then Brian is green. There is a better than even chance that if 'Lily is a rhino' or 'John took the apple' or both then Julius is a frog.
It is probable that 'John took the apple and Lily is a rhino'.
It is probably not the case that 'John took the apple and Lily is a rhino'.
It is probable that 'John 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.5::factA.
  0.7::factB.
  0.9::factC.
  %hop1
  0.8::factX:-xor(factB,factC).
  0.6::factY:-xor(factA,factB).
  0.6::factZ:-or(factA,factB).

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

  query(conclusion).
  
'John took the apple and Lily is a rhino'.