Define keys from labels in query_lst