Knowing a tree from the forest: art image retrieval using a society of profiles