factorie : efficient probabilistic programming for relational factor graphs via imperative declarations of structure , inference and learning .
PRISM: A Language for Symbolic-Statistical Modeling