Can the Bitcoin script make a Google search?
Bitcoin scripts are intentionally very limited, and can only access data inherent to the transaction (not even the blockchain it is in), in order to guarantee consistency (a script's validity cannot change over time).

However, there do exist ways to integrate external state into Bitcoin, through the use of oracles. See this wiki page for more information about those.