It is unlikely that Lily is a swan. There is almost no chance that Bernhard is yellow. There is a better than even chance that Julius is a frog. There is a better than even chance that if either 'Lily is a swan' or 'Julius is a frog' but not both then Brian is green. It is highly unlikely that if either 'Julius is a frog' or 'Bernhard is yellow' but not both then Emily is a mouse. There is a very good chance that if either 'Lily is a swan' or 'Bernhard is yellow' but not both then John went to the hallway.
It is highly likely that 'Lily is a swan and John went to the hallway'.
It is unlikely that 'Lily is a swan and John went to the hallway'.
It is highly likely that 'Lily is a swan and John went to the hallway'.

  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.2::factA.
  0.02::factB.
  0.6::factC.
  %hop1
  0.6::factX:-xor(factA,factC).
  0.05::factY:-xor(factC,factB).
  0.8::factZ:-xor(factA,factB).

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

  query(conclusion).
  
'Lily is a swan and John went to the hallway'.