A knowledge framework for seeing and learning