Learning Improved Integrity Constraints and Schemes From Exceptions in Data and Knowledge Bases