iOS predicates query depending on child element


With uiAutomation it was possible to say

.scrollToElementWithPredicate(" CONTAINS ‘xyz’)

With this query I got the element that has a child that is of type staticText and with the name ‘xyz’.
So I could select an element depending on attributes of a child element.

Now I would like to do the same with the iOSNsPredicateString. But I have no idea if this is possible, and if it is possible, how to do so.

Does anyone have some hints for me?