A ketone functionalized luminescent terbium metal-organic framework for sensing of small molecules.