According to the chronology in the Sumerian king list , the semi-mythical king Gilgamesh ruled Uruk in the 27th century BC . The semi-mythical king Gilgamesh , according to the chronology presented in the Sumerian king list , ruled Uruk in the 27th century BC .