POM species, temperature and counterions modulated the various dimensionalities of POM-based metal-organic frameworks.