A vanadium (VO2+) metal-organic framework: selective vapor adsorption, magnetic properties, and use as a precursor for a polyoxovanadate.