def subontology(self, minimal=False):
        """
        Generates a sub-ontology based on associations
        """
        return self.ontology.subontology(self.objects, minimal=minimal)
Generates a sub-ontology based on associations