It is probably the case that Brian is green. It is highly likely that Fred put down the apple. It is improbable that Julius is gray. It is probably not the case that if 'Julius is gray and Brian is green' then John left the football. It is likely that if 'Fred put down the apple' or 'Julius is gray' or both then Lily is a lion. It is probably the case that if either 'Julius is gray' or 'Brian is green' but not both then Bernhard is green.
There is almost no chance that 'Lily is a lion and Brian is green'.
Chances are about even that 'Lily is a lion and Brian is green'.
There is almost no chance that 'Lily is a lion and Brian is green'.

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

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

  query(conclusion).
  
'Lily is a lion and Brian is green'.