{appName, select,
        feed {{
            parentType, select,
                group {{isShared, select,
                    1 {<profile>profile</profile>}
                    other {added a poll in <profile>profile</profile>}
                }}
                page {{isShared, select,
                    1 {<profile>profile</profile>}
                    other {added a poll in <profile>profile</profile>}
                }}
                other {{isOwner, select, 1 {{fromResource, select, app {added a poll} other {}}} other {added a poll}}}
        }}

        other {{isShared, select,
            0 {added a poll}
            other {{parentType, select,
                0 {added a poll}
                other {<profile>profile</profile>}
            }}
        }}
    }