It is unlikely that Bernhard is a frog. It is impossible that Brian is a swan. It is probably the case that John moved to the garden. It is probably the case that if either 'John moved to the garden' or 'Bernhard is a frog' but not both then Winona is a wolf. It is impossible that if 'John moved to the garden and Bernhard is a frog' then Lily is gray. It is highly likely that if 'John moved to the garden' or 'Bernhard is a frog' or both then Mary left the apple.
It is impossible that 'Brian is a swan and Bernhard is a frog'.
It is impossible that 'Brian is a swan and Bernhard is a frog'.
It is likely that 'Brian is a swan 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.2::factA.
  0.0::factB.
  0.7::factC.
  %hop1
  0.7::factX:-xor(factC,factA).
  0.0::factY:-and(factC,factA).
  0.9::factZ:-or(factC,factA).

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

  query(conclusion).
  
'Brian is a swan and Bernhard is a frog'.