A Semantic Approach to Text-based Image Retrieval Using a Lexical Ontology