Image search systems that rely on metadata tags or basic captions often miss the semantic relationships and visual details needed for complex queries. This study presents a multimodal knowledge graph framework that combines DETR for object detection, CLIP for attribute classification across 188 dimensions, and BLIP for caption generation. On the COCO 2017 validation set (5,000 images), the pipeline processed 4,906 images successfully, of which 4,243 contained the multiple objects required for relationship extraction. The resulting knowledge graph reached 99.98% relational coverage among multi-object images and 2.94 relationships per image, with 117 of the 188 attributes appearing in the data. Retrieval was evaluated under a self-consistency protocol relevance defined by the system's own top-ranked matches yielding an MRR of 0.96 for keyword-based queries and 0.29 for relationship-based queries, with Recall@50 of 88% for the latter. The framework runs on pretrained models without task-specific training and produces both structured triples and human-readable descriptions, supporting applications such as visual question answering, scene understanding, and context-aware image retrieval.
Copyrights © 2026