11. The system of claim 10 , wherein determining the order comprises ordering the candidate queries according to a respective weight for each candidate query.
11. The system of claim 10 , wherein determining the order comprises ordering the candidate queries according to a respective weight for each candidate query. 12. The system of claim 11 , wherein: each query specialization is associated with the weight for the class-instance pair from which it was generated; and the order for the one or more query specializations is determined according to the weight associated with the query specialization.