There is a better than even chance that John moved to the office. It is likely that Greg is yellow. We doubt that Bernhard is a swan. It is impossible that if 'Bernhard is a swan' or 'Greg is yellow' or both then Jessica is a mouse. There is a better than even chance that if 'Bernhard is a swan and John moved to the office' then Julius is a rhino. It is almost certain that if 'Bernhard is a swan and Greg is yellow' then Lily is white.
It is improbable that 'John moved to the office and Bernhard is a swan'.
It is improbable that 'John moved to the office and Bernhard is a swan'.
It is almost certain that 'John moved to the office and Bernhard is a swan'.

  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.6::factA.
  0.7::factB.
  0.2::factC.
  %hop1
  0.0::factX:-or(factC,factB).
  0.6::factY:-and(factC,factA).
  0.95::factZ:-and(factC,factB).

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

  query(conclusion).
  
'John moved to the office and Bernhard is a swan'.