It is probably not the case that Bill went to the office. It is highly unlikely that Winona is a wolf. It is likely that John grabbed the apple. It is unlikely that if 'John grabbed the apple and Winona is a wolf' then Sandra put down the milk. It is improbable that if 'Bill went to the office and John grabbed the apple' then Julius is a lion. There is a very good chance that if 'John grabbed the apple and Winona is a wolf' then Brian is yellow.
There is a better than even chance that 'Julius is a lion and Winona is a wolf'.
It is impossible that 'Julius is a lion and Winona is a wolf'.
There is a better than even chance that 'Julius is a lion and Winona is a wolf'.

  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.25::factA.
  0.05::factB.
  0.7::factC.
  %hop1
  0.2::factX:-and(factC,factB).
  0.1::factY:-and(factA,factC).
  0.8::factZ:-and(factC,factB).

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

  query(conclusion).
  
'Julius is a lion and Winona is a wolf'.