There is almost no chance that Sandra took the football. It is highly unlikely that John got the apple. It is impossible that Julius is yellow. It is highly unlikely that if either 'Julius is yellow' or 'Sandra took the football' but not both then Emily is a wolf. It is highly likely that if 'Julius is yellow and Sandra took the football' then Mary went to the bedroom. There is a better than even chance that if 'John got the apple' or 'Sandra took the football' or both then Greg is white.
It is highly likely that 'Emily is a wolf and Julius is yellow'.
It is impossible that 'Emily is a wolf and Julius is yellow'.
It is highly likely that 'Emily is a wolf and Julius is yellow'.

  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.05::factB.
  0.0::factC.
  %hop1
  0.05::factX:-xor(factC,factA).
  0.9::factY:-and(factC,factA).
  0.6::factZ:-or(factB,factA).

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

  query(conclusion).
  
'Emily is a wolf and Julius is yellow'.