SMS dit: Anytime approximation in probabilistic databases