As of 2007 , oil and natural gas revenues had enabled Qatar to attain the second-highest per capita income in the world .