query builder - entity selector