transform the query in the map version
automatically resolve expression clauses function sym