Looking Inside the Black Box: Core Semantics Towards Accountability of Artificial Intelligence