Let $R$ a commutative ring. I'm trying to show that $$\mathrm{Spec}( R_{\mathfrak p})=\{\mathfrak qR_{\mathfrak p}\mid \mathfrak q\subset \mathfrak p, \mathfrak q\in Spec(R)\}.$$ I recall that $$R_{\mathfrak p}=\left\{\frac{x}{s}\mid s\notin \mathfrak p\right\}.$$
For the inclusion $\supset$ I did as follow. Suppose by contradiction that it's not prime, i.e., there is $\frac{x}{s},\frac{x}{s'}\in \mathfrak qR_{\mathfrak p}$ s.t. neither $\frac{x}{s}$ nor $\frac{x'}{s'}$ are in $\mathfrak q R_{\mathfrak p}$.
I can't arrive to a contradiction. For the other inclusion, I have no idea.
Any help is welcome.
There is a canonical homomorphism $\varphi:R\rightarrow R_{\mathfrak{p}}$ by sending $x\mapsto x/1$, prime ideals $\mathfrak{q}$ in $R_{\mathfrak{p}}$ go to prime ideals in $R$ under the preimage of $\varphi$. In symbols $\varphi^{-1}(\mathfrak{q})$ is a prime ideal in $R$. If $\mathfrak{q}':=\varphi(\mathfrak{q})$ is not contained in $\mathfrak{p}$ then there are elements in $\mathfrak{q}'$ inside $R-\mathfrak{p}$ these elements are units in $\mathfrak{q}$ so this is a contradiction. We must have $\mathfrak{q'}\subset \mathfrak{p}$.