Statistical relational learning based automatic data cleaning