The function f(x) is selective for two concepts: "building" and "water". It associates words related to buildings, such as "Empire State Building" and "reservoir", with a high output value, and words related to water, such as "Zeus", "Poseidon", and "nest", with a high output value.