Logical operations on entity selections