Carrots are vegetables. Vegetables are edible. Is this a picture of something edible? Having a bunch of propositions in a database is not much help if you can't relate them to messy sensory input. It turns out that making sense out of mess was a hard problem. Eventually, logic* will have to be brought in again, but at a higher level, to help out.
* Ofc Hinton's approach is based on logic too, but in the form of probability, calculus etc.