qnli question: What year was Reval granted with Lübeck city rights? sentence: Estonians still call their capital "Tallinn", which according to legend derives from Taani linna (meaning Danish town or castle).