It is highly likely that Jessica is a sheep. There is little chance that Emily is a wolf. Chances are slight that Julius is gray. There is a better than even chance that if 'Jessica is a sheep' or 'Emily is a wolf' or both then John moved to the office. Chances are about even that if 'Emily is a wolf and Jessica is a sheep' then Sandra got the milk. It is highly unlikely that if 'Emily is a wolf and Jessica is a sheep' then Brian is a frog.
There is a very good chance that 'Sandra got the milk and Julius is gray'.
It is impossible that 'Sandra got the milk and Julius is gray'.
There is a very good chance that 'Sandra got the milk and Julius is gray'.

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

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

  query(conclusion).
  
'Sandra got the milk and Julius is gray'.