This document introduces a semantic-based image retrieval system that combines a growth partitioning tree with a self-organizing map and neighbor graph to enhance image retrieval accuracy. The proposed method utilizes image segmentation and classification via a pre-trained mask R-CNN to extract low-level features, followed by querying an ontology using SPARQL based on the classified images. Experimental results on datasets like ImageCLEF and MS-COCO demonstrate the effectiveness of the system with high precision values compared to existing methods.