Dynamically generating a schema representing multiple hierarchies of
inter-object relationships is described. In one aspect, a data polyarchy
is created. Responsive to creation of the data polyarchy, a schema is
automatically generated to represent multiple hierarchies of inter-object
relationships between multiple objects in the data polyarchy. The schema
is generated based on values of attributes of the objects.