Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5106 > unrolled thread

Getting list of cities of Puerto Rico using Wolfram Alpha

Started byGilmar Rodriguez-pierluissi <peacenova@yahoo.com>
First post2011-09-21 09:33 +0000
Last post2011-09-21 09:33 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Getting list of cities of Puerto Rico using Wolfram Alpha Gilmar Rodriguez-pierluissi <peacenova@yahoo.com> - 2011-09-21 09:33 +0000

#5106 — Getting list of cities of Puerto Rico using Wolfram Alpha

FromGilmar Rodriguez-pierluissi <peacenova@yahoo.com>
Date2011-09-21 09:33 +0000
SubjectGetting list of cities of Puerto Rico using Wolfram Alpha
Message-ID<j5cb19$cqq$1@smc.vnet.net>
If I attempt to get a list of all cities in Puerto Rico via Wolfram Alpha using:

http://www.wolframalpha.com/input/?i=cities%2C+Puerto+Rico

Wolfram Alpha gives:

"Using closest Wolfram|Alpha interpretation: cities harbor rich" and then
"Computation timed out.  Experimental feature: Try again with more time".

When I attempt to get the larges cities in that island using:

http://www.wolframalpha.com/input/?i=largest+cities%2C+Puerto+Rico

Wolfram Alpha indeed gives the five largest cities.

On the other hand; if I attempt to get the same info using Mathematica 8.0 via:

CountryData["PuertoRico", "LargestCities"] // TableForm

the name of the cities appear scrambled with the name "Puerto Rico" repeated
all over. 

There are 78 "Municipalities" in Puerto Rico which are correctly listed here:
http://www.statoids.com/upr.html
http://flagspot.net/flags/pr(.html
http://www.topuertorico.org/city/index.shtml

If one tries:

http://www.wolframalpha.com/input/?i=cities%2C+Puerto+Rico

one would expect only the names of those 78 cities to show up.

Thank you!

Gilmar Rodriguez Pierluissi

P.S. This search was inspired by item 4 in:
http://blog.wolfram.com/2009/04/03/wow-this-is-mathematica/

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web