code: def inferred_types(self, subj):
          
          if subj in self.subject_to_inferred_map:
              return self.subject_to_inferred_map[subj]
          if self.strict:
              raise UnknownSubjectException(subj)
          else:
              return set([])
docs: Returns: set of reflexive inferred types for a subject.
  
          E.g. if a gene is directly associated with terms A and B, and these terms have ancestors C, D and E
          then the set returned will be {A,B,C,D,E}
          
          Arguments
          ---------
  
            subj - ID string
  
          Returns: set of class IDs