I'd assume which building it was in would function as that.
Some buildings won't be destroyed, like the Wonders, but some can be, like the Museum and, I assume, the palace?
So you would lose a great work in a museum if the museum was destroyed, but you wouldn't lose the great works in a...