TeX source:
Q=\left \{ \frac{m}{n}:m\epsilon \mathbf{ Z}, n\epsilon \mathbf{ Z}, n\neq 0 \right \}