powerset query