I want to create a list of all world cities named "Alexandria", along with their populations. Can a search engine do that? What could the query look like?
A search enging would not be an effective way to accomplish what you want since it would not distinguish between different Alexandrias. Instead, see Wikipedia's article on Alexandria http://en.wikipedia.org/wiki/Alexandria_(disambiguation) and click on the links in the article to see the population for each place.