It is almost certain that John left the apple. It is improbable that Julius is gray. There is a better than even chance that Greg is a rhino. Chances are about even that if 'Greg is a rhino' or 'Julius is gray' or both then Jessica is a sheep. There is a better than even chance that if 'John left the apple and Greg is a rhino' then Lily is gray. There is little chance that if 'Greg is a rhino and Julius is gray' then Daniel grabbed the milk.
It is highly unlikely that 'Greg is a rhino' or 'Lily is gray' or both.
There is a better than even chance that 'Greg is a rhino' or 'Lily is gray' or both.
It is highly unlikely that 'Greg is a rhino' or 'Lily is gray' or both.

  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.95::factA.
  0.1::factB.
  0.6::factC.
  %hop1
  0.5::factX:-or(factC,factB).
  0.6::factY:-and(factA,factC).
  0.1::factZ:-and(factC,factB).

  %hop2
  conclusion:-or(factC,factY).

  query(conclusion).
  
'Greg is a rhino' or 'Lily is gray' or both.