There is almost no chance that Gertrude is a sheep. It is probable that Julius is a frog. It is probably the case that John took the apple. It is almost certain that if either 'John took the apple' or 'Gertrude is a sheep' but not both then Lily is a rhino. It is probably the case that if 'Gertrude is a sheep and John took the apple' then Mary went to the kitchen. It is probably not the case that if 'Gertrude is a sheep' or 'John took the apple' or both then Jessica is a cat.
There is a better than even chance that 'Julius is a frog and Gertrude is a sheep'.
There is almost no chance that 'Julius is a frog and Gertrude is a sheep'.
There is a better than even chance that 'Julius is a frog and Gertrude is a sheep'.

  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.02::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  0.95::factX:-xor(factC,factA).
  0.7::factY:-and(factA,factC).
  0.25::factZ:-or(factA,factC).

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

  query(conclusion).
  
'Julius is a frog and Gertrude is a sheep'.