Generally this is done in virtual sequence layer where child sequences accumulated and constrained as per requirement.
You can take an instance of child sequence Child_seq in Virtual_seq ,randomize it(if required) and access whatever the data/function member you want to access from there.
You can take any example of UVM.