String constructions and cosmological spacetimes