General-Purpose MCMC Inference over Relational Structures