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?

  • 1
    Have you tried geonames.org?
    – user5676
    May 15, 2013 at 20:26
  • @barrycarter Yes, thanks. Even though it does not show population for all cities, it's still valuable. Thank you.
    – Hosam Aly
    Jun 4, 2013 at 21:48
  • You might want to play around with a db I created from the geonames.org data. Sample query: 69d09f284af2d9321d9a6863d0defa2d.geonames.db.barrycarter.info This isn't very detailed, includes cities whose alternate name is Alexandria, and exposes a duplicate in the geonames.org database.
    – user5676
    Jun 6, 2013 at 4:10

2 Answers 2


Mathematica could answer this with CityData:


Giving the following output:


But unfortunately the list of outputs, accessible by CityData["Alexandria"] in Mathematica isn't available in Wolfram|alpha at the moment.


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.

  • Thanks for your answer. I was hoping there would be a way to use something like Wolfram Alpha to generate that data, but it seems I'll have to do it manually for now.
    – Hosam Aly
    Mar 12, 2013 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.