adding predicates to resources