There is almost no chance that John put down the apple. It is almost certain that Fred moved to the office. There is little chance that Brian is a rhino. There is a better than even chance that if 'Brian is a rhino and Fred moved to the office' then Emily is a mouse. It is likely that if 'John put down the apple and Brian is a rhino' then Julius is a frog. Chances are slight that if 'Fred moved to the office' or 'John put down the apple' or both then Mary grabbed the milk.
Chances are slight that 'Brian is a rhino and Fred moved to the office'.
Chances are slight that 'Brian is a rhino and Fred moved to the office'.
We believe that 'Brian is a rhino and Fred moved to the office'.

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

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

  query(conclusion).
  
'Brian is a rhino and Fred moved to the office'.