Add sample predicates support to correlation query