factorie : efficient probabilistic programming for relational factor graphs via imperative declarations of structure , inference and learning .
Discriminative Probabilistic Models for Relational Data