Detecting Anomalies in Image Classification by Means of Semantic Relationships