Crystal structures and spectral properties of two polyoxometalate-based inorganic-organic compounds from silver-azine building blocks with bis-bidentate and tridentate ligands.