Hi Anand,
The Legal.Project.Admin_Dashboard name represents the class name of the query. Assuming you've already searched in visual studio. Go to Modules app, check if you have any custom module, potentially called Legal. If not, check if you have page types or custom tables called Legal. The query must be within the queries tab in one of these. If this his helpful, please vote my answer. Thanks.