factorie : efficient probabilistic programming for relational factor graphs via imperative declarations of structure , inference and learning .
Markov logic networks