There is almost no chance that Greg is a rhino. Chances are slight that Emily is a wolf. It is highly likely that Mary dropped the apple. It is probably the case that if 'Emily is a wolf' or 'Mary dropped the apple' or both then Lily is green. There is a better than even chance that if 'Emily is a wolf and Mary dropped the apple' then Winona is a wolf. It is improbable that if either 'Mary dropped the apple' or 'Greg is a rhino' but not both then John went to the kitchen.
There is a very good chance that 'John went to the kitchen and Emily is a wolf'.
It is impossible that 'John went to the kitchen and Emily is a wolf'.
There is a very good chance that 'John went to the kitchen and Emily 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.02::factA.
  0.1::factB.
  0.9::factC.
  %hop1
  0.7::factX:-or(factB,factC).
  0.6::factY:-and(factB,factC).
  0.1::factZ:-xor(factC,factA).

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

  query(conclusion).
  
'John went to the kitchen and Emily is a wolf'.