filter examples according to their taxonomies