Content-based Image Retrieval using semantic graphs