It is said, as far as I can tell that an arbitrary spectral space, i.e. a space that is $T\_0$, sober and quasi-compact whose collection of quasi-compact open sets forms a basis and is closed under finite intersections, must be $Spec(R)$ for some ring $R$. Is there a canonical (or any) way of reconstructing $R$ from its collection of prime ideals and the Zariski topology thereupon? What is the relationship of the functor $Spec:Rng\to SpectralSpaces$ and the functor (if it exists) going the other way $SpectralSpaces\to Rng$? 


Thanks!



Ring of a Spectral Space
Check out [Prime ideal structure in commutative rings](http://www.jstor.org/pss/1995344) by Melvin Hochester where the theorem you mentioned is proved and functoriality discussed. 


