The interface of query strategy is revised.