Answering constraint-based mining queries on itemsets using previous materialized results