The key problem in the query of multi-valued systems is to work out the similarity between the querying set and the set of attribute values. In this paper, three key factors in set comparison are taken into consideration in the query algorithm which can not only decrease the number of irrational results but also reduce the jamming of illegal data to a certain degree. Three typical computational simulations are presented according to the three key factors in set comparison. The simulation results show the fe...