Write a piece of pseudo code script for the query "Find me the top rated restaurants in Seattle". The pseudo code should be high level, showing what functions/APIs being called. No need for detailed implementation. The word "need" should not appear in your response.
user