A model for the representation and extraction of visual knowledge from illustrated texts