It is probable that Greg is yellow. It is probably not the case that Lily is a rhino. There is almost no chance that John went to the bedroom. It is unlikely that if 'Greg is yellow and Lily is a rhino' then Daniel put down the milk. There is almost no chance that if 'Greg is yellow and Lily is a rhino' then Brian is a frog. Chances are slight that if 'John went to the bedroom' or 'Lily is a rhino' or both then Mary left the football.
It is impossible that 'Brian is a frog and Lily is a rhino'.
It is impossible that 'Brian is a frog and Lily is a rhino'.
It is almost certain that 'Brian is a frog and Lily is a rhino'.

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

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

  query(conclusion).
  
'Brian is a frog and Lily is a rhino'.