Identify the right format and determine the search intent.