[Developers] Freebase newbie: simple question

John Giannandrea jg at metaweb.com
Thu Feb 26 06:30:54 UTC 2009


Tom Morris wrote:
> But more important than all of the above, Freebase is waaayy overkill
> for this.  A simple three column table/text file with 55 or so
> lines/rows would be much more efficient.

You might want to use freebase to generate that table :-)

curl -s http://download.freebase.com/datadumps/2009-01-13/browse/location/administrative_division.tsv 
  | perl -ne 'print "$1\t$2\n" if /^([^\t]+)\t[\/\w]+\tUnited States 
\tUS-([A-Z]{2})/'   | sort

-jg



More information about the Developers mailing list