The one that would rank higher, which is the very likely to be the one that is more specific.
This help guide discusses what happens when you have the same keyword in multiple places, but the answer extends to which keyword gets triggered when words are similar:
[adwords.google.com...]