Gravitational Duals from Equations of State