[Developers] Freebase newbie: simple question

brendan brendan at metaweb.com
Wed Feb 25 23:52:36 UTC 2009


near as i can tell we don't have the data for that.  nor do we have  
the slot to enter it in (the schema) unless I'm missing something.   
i'd propose we add a property to /location/us_state  called "Postal  
Abbreviation"

Brendan
On Feb 25, 2009, at 3:42 PM, R. Pito Salas wrote:

> I have a simple need. I think Freebase would be perfect for it.
>
> Given the full name or abbreviated name of a USA state, give me the
> two letter code for it. So:
>
> Massachusetts => MA
> Mass => MA
> MA => MA
> Foobar => <no such state>
>
> I poked around the site and the apis but it's quite overwhelming. I am
> working in Ruby btw if someone has actual code that would help.  
> Thanks!!
>
> -- Pito
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list