In the example sentence, no lexical pattern will associate city with Liverpool because there are too many words in between.
a dependency pattern will create a link between these two words, via the word as.