It is highly likely that Lily is yellow. There is a better than even chance that Winona is a mouse. There is a very good chance that John went to the office. It is probably the case that if 'John went to the office' or 'Lily is yellow' or both then Mary dropped the apple. It is probably not the case that if 'John went to the office' or 'Winona is a mouse' or both then Greg is a swan. It is improbable that if either 'Lily is yellow' or 'John went to the office' but not both then Bernhard is a frog.
There is almost no chance that 'Lily is yellow and Bernhard is a frog'.
There is almost no chance that 'Lily is yellow and Bernhard is a frog'.
We believe that 'Lily is yellow and Bernhard 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.9::factA.
  0.6::factB.
  0.8::factC.
  %hop1
  0.7::factX:-or(factC,factA).
  0.25::factY:-or(factC,factB).
  0.1::factZ:-xor(factA,factC).

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

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