A system that uses an ontology to design an image classifier capable of detecting inconsistencies in the predictions.