Guest exchange in a porous cucurbit[6]uril-based metal-organic rotaxane framework probed by NMR and X-ray crystallography.