The function f(x) is selective for concepts related to drilling, excavation, geology, and mining activities. It assigns higher values to words that are associated with these concepts, while returning lower values for unrelated terms.