Chances are about even that Bernhard is a rhino. It is probably not the case that Julius is gray. There is a very good chance that John got the milk. There is little chance that if 'Bernhard is a rhino and Julius is gray' then Sandra left the milk. Chances are about even that if either 'Bernhard is a rhino' or 'Julius is gray' but not both then Jessica is a cat. There is little chance that if 'Bernhard is a rhino' or 'John got the milk' or both then Lily is a lion.
It is impossible that 'Lily is a lion and Sandra left the milk'.
It is impossible that 'Lily is a lion and Sandra left the milk'.
It is probably the case that 'Lily is a lion and Sandra left the milk'.

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

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

  query(conclusion).
  
'Lily is a lion and Sandra left the milk'.