We believe that Julius is green. There is little chance that Lily is a rhino. It is highly likely that Jessica is a cat. There is almost no chance that if 'Julius is green and Lily is a rhino' then Bill went to the kitchen. It is unlikely that if 'Julius is green and Lily is a rhino' then Brian is white. It is highly likely that if 'Lily is a rhino' or 'Julius is green' or both then Mary got the milk.
It is unlikely that 'Jessica is a cat' or 'Mary got the milk' or both.
It is almost certain that 'Jessica is a cat' or 'Mary got the milk' or both.
It is unlikely that 'Jessica is a cat' or 'Mary got the milk' 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.75::factA.
  0.1::factB.
  0.9::factC.
  %hop1
  0.02::factX:-and(factA,factB).
  0.2::factY:-and(factA,factB).
  0.9::factZ:-or(factB,factA).

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

  query(conclusion).
  
'Jessica is a cat' or 'Mary got the milk' or both.