From Probabilistic Programming to Statistical Relational Learning