This is starting to get fun! I did another experiment, grabbing the concept us-gaap:ResearchAndDevelopmentExpense from my set of test filings. Of the 5525 filings, I got 1236 hits (22%). So for example, Microsoft is #1 in R&D Expense spending about $9 Billion between July 1, 2010 and June 30, 2011 (which is about 8% of total assets) per their 10-K filed July 28, 2011. Second is Oracle which spends about half of what Microsoft did for a similar period of time.
If anyone has any query ideas, send me an email and I will see if I can grab the information.