It is improbable that Brian is a rhino. It is likely that Greg is a frog. It is probable that John went to the garden. There is almost no chance that if 'Brian is a rhino' or 'John went to the garden' or both then Lily is yellow. It is probably not the case that if 'Brian is a rhino and John went to the garden' then Mary picked up the milk. There is almost no chance that if either 'Greg is a frog' or 'Brian is a rhino' but not both then Sandra left the apple.
There is almost no chance that 'Lily is yellow and Greg is a frog'.
There is almost no chance that 'Lily is yellow and Greg is a frog'.
It is highly likely that 'Lily is yellow and Greg is a frog'.

  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.1::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  0.02::factX:-or(factA,factC).
  0.25::factY:-and(factA,factC).
  0.02::factZ:-xor(factB,factA).

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

  query(conclusion).
  
'Lily is yellow and Greg is a frog'.