Support for filtering via Resource or Predicate