Dynamically Retrieve Linked Objects in workshop

I have a workshop that enables users to open a tax form (1040X) and look at all the info about it. When submitting this tax form the taxpayer can also submit supplemental forms. I need some way to show a list of all the supplemental forms linked to the base form (1040X). Usually I would just make an object list and union the different linked objects. Unfortunately there is a very large number of supplemental forms, many of which are not ontologized yet. Ideally I would like some way to get a list of “all linked objects” to put in an object list. This would ensure that as new form types are ontologized/linked to the 1040X, the workshop would display these forms. I dont need any fancy display for these objects, just a list of the properties is fine. Are there any good approaches to dynamically retrieving all linked objects and putting them into some sort of visualization?

You could create an interface called Form and implement that interface as each specific form. That interface could have a link set up the base form and by traversing that link you could get subform you have created implementing that interface. https://www.palantir.com/docs/foundry/interfaces/interface-overview/#interfaces