There is almost no chance that Greg is white. It is probable that Lily is a rhino. It is likely that Mary left the football. It is improbable that if 'Mary left the football' or 'Lily is a rhino' or both then Jessica is a cat. It is probably not the case that if 'Lily is a rhino and Greg is white' then Julius is a lion. We believe that if 'Greg is white' or 'Mary left the football' or both then Brian is a swan.
It is impossible that 'Lily is a rhino and Julius is a lion'.
It is impossible that 'Lily is a rhino and Julius is a lion'.
It is certain that 'Lily is a rhino 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.02::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  0.1::factX:-or(factC,factB).
  0.25::factY:-and(factB,factA).
  0.75::factZ:-or(factA,factC).

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

  query(conclusion).
  
'Lily is a rhino and Julius is a lion'.