code: def _printClassRange(self, hrlinetop=True, print_inferred=False):
          
          if not self.currentEntity:  # ==> ontology level
              return
          x = self.currentEntity['object']
          if self.currentEntity['type'] == 'class':
              if hrlinetop:
                  self._print("----------------")
              self._print("RANGE OF:", "IMPORTANT")
              self._print("[%d] Explicitly declared" % len(x.range_of), "IMPORTANT")
              for i in x.range_of:
                  if i.domains:
                      domains = ",".join([y.qname if hasattr(y, "qname") else str(y)
                                          for y in i.domains])
                  else:
                      domains = "owl:Thing"
                  print(Style.DIM + domains + Style.RESET_ALL + " => " + Fore.MAGENTA + i.qname +
                        Style.RESET_ALL + " => " + Fore.GREEN + x.qname + Style.RESET_ALL)
  
              # inferred stuff
              if print_inferred:
                  for _dict in x.range_of_inferred:
                      _class = list(_dict.items())[0][0]
                      _propslist = list(_dict.items())[0][1]
                      if _class.id != x.id and len(_propslist):  # print only inferred properties
                          self._print("[%d] Inherited from [%s]" % (len(_propslist), _class.qname),
                                      "IMPORTANT")
                          for i in _propslist:
                              if i.domains:
                                  domains = ",".join(
                                      [y.qname if hasattr(y, "qname") else str(y) for y in i.domains])
                              else:
                                  domains = "owl:Thing"
                              print(Style.DIM + domains + Style.RESET_ALL + " => " + Fore.MAGENTA +
                                    i.qname + Style.RESET_ALL + " => " + Fore.GREEN + x.qname + Style.RESET_ALL)
  
              self._print("----------------")
          return
docs: print(more informative stats about the object)
          2016-06-14: added inferred option