def get_refinement_options(self):
        """ Returns possible specializations for the upper values in the taxonomy """
        domain = self.get_domain()
        for upper_value in self.upper:
            for suc in domain.successors(upper_value):
                yield suc
def get_refinement_options ( self ) : domain = self . get_domain ( ) for upper_value in self . upper : for suc in domain . successors ( upper_value ) : yield suc
Returns possible specializations for the upper values in the taxonomy