Reactions of Ln(III) salts with 4′-(2,4-disulfophenyl)-2,2′:6′2′′-terpyridine (H2DSPT) result in five types of coordination polymers, namely, {[Gd(DSPT)(OH)(H2O)2]·4H2O}n (type I, 1), {[Ln(DSPT)(ox)0.5]·H2O}n (type II, Ln = Nd (2), Eu (3), Tb (4), Er (5), Yb (6), Lu (7), ox = oxalate), {[Ln(DSPT)(ox)0.5(H2O)]·4H2O}n (type III, Ln = Yb (8), Lu (9)), {[Ln(DSPT)(pBDC)0.5·(H2O)2]·5H2O}n (type IV, Ln = Yb (10), Lu (11), H2pBDC = 1,4-benzenedicarboxylic acid), and {[Ln(DSPT)(pBDC)0.5·(H2O)2]·5H2O}n (type V, Ln = Dy (12), Er (13)). Type I is a 1D chain built from binuclear Ln2(DSPT)2 building blocks and OH− linkers. Type II is a 2D layer with (4,5)-connected topology constructed by binuclear Ln2(DSPT)2 building blocks and ox− anions. Type III is also a 2D network based on Ln(III), DSPT2−, and ox−, but with (3,4)-connected topology. The ox− anion is generated in situ from carboxylic acid precursor in type II and type III structures. The formation of Lu(III) complexes of type II or type III can be tuned by the addition of different carboxylic precursors. Type IV posseses a 2D layered structure based on the [Ln(DSPT)]n chain connected by pBDC2−. Type V exhibits a 3D framework formed by binuclear [Ln2(SO3)2(COO)2] secondary building blocks and DSPT2− and pBDC2− linkers, resulting in a uninodal 8-connected sqc4 topology. The Nd- and Yb-centered complexes show strong NIR luminescence, whereas the Tb- and Eu-centered complexes exhibit strong luminescence in the visible region at room temperature in both solid state and water emulsions. Their luminescence intensity can be strongly quenched by the addition of diethylchlorophosphonate (DCP), but significantly less influenced by dimethylmethylphosphonate (DMMP), diethylcyanophosphonate (DCNP) and other selected organophosphate, which make this material have a potential application in nerve-agent detection.