The Automated Derivation of Semantics from ERP Databases