qanï (Old Anatolian Turkish) comes from Proto-Turkic kanï, from Proto-Turkic ka- — interrogative particle.