The restaurant you told me was not good.
If there is a sentence like this, it most of the times means that "the restaurant you told me about was not good."
So when can this sentence be used with the same meaning as "the food I thought to be good"? In other words, like a noun?