It is probably the case that John went to the office. Chances are about even that Gertrude is a cat. It is unlikely that Mary left the milk. It is probable that if 'Gertrude is a cat and Mary left the milk' then Sandra got the football. It is unlikely that if 'Mary left the milk' or 'Gertrude is a cat' or both then Julius is a frog. There is little chance that if 'Gertrude is a cat and Mary left the milk' then Lily is a lion.
It is probably the case that 'Julius is a frog and Lily is a lion'.
It is impossible that 'Julius is a frog and Lily is a lion'.
It is probably the case that 'Julius is a frog and Lily 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.7::factA.
  0.5::factB.
  0.2::factC.
  %hop1
  0.7::factX:-and(factB,factC).
  0.2::factY:-or(factC,factB).
  0.1::factZ:-and(factB,factC).

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

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