There is little chance that Mary moved to the office. It is almost certain that Bernhard is a frog. There is almost no chance that Brian is a rhino. It is unlikely that if 'Bernhard is a frog and Brian is a rhino' then Fred went to the garden. Chances are slight that if 'Brian is a rhino' or 'Mary moved to the office' or both then Winona is a wolf. It is impossible that if 'Brian is a rhino and Mary moved to the office' then Julius is a swan.
It is impossible that 'Fred went to the garden and Bernhard is a frog'.
It is impossible that 'Fred went to the garden and Bernhard is a frog'.
It is almost certain that 'Fred went to the garden 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.1::factA.
  0.95::factB.
  0.02::factC.
  %hop1
  0.2::factX:-and(factB,factC).
  0.1::factY:-or(factC,factA).
  0.0::factZ:-and(factC,factA).

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

  query(conclusion).
  
'Fred went to the garden and Bernhard is a frog'.