Mining the Semantics of Visual Concepts and Context