The query allOwnedElements() gives all of the direct and indirect owned elements of an element.

Element::allOwnedElements(): Set(Element);
allOwnedElements = ownedElement->union(ownedElement->collect(e | e.allOwnedElements()))

randomness