The rule applied by f(x) seems to be: it takes a word input related to a geographical location and returns the continent where that location is found. 

