1👍
You will need to use NLP to extract the city (location) from your sentence.
See:
http://www.nltk.org/howto/relextract.html
then run a query against your database:
maybe like:
select city, state from locations_table where city=”Portland”
which will give you city, state pairs.
Source:stackexchange.com