code: def shellPrintOverview(g, opts={'labels': False}):
      
      ontologies = g.all_ontologies
  
      # get opts
      try:
          labels = opts['labels']
      except:
          labels = False
  
      print(Style.BRIGHT + "Namespaces\n-----------" + Style.RESET_ALL)
      if g.namespaces:
          for p, u in g.namespaces:
              row = Fore.GREEN + "%s" % p + Fore.BLACK + "  %s" % u + Fore.RESET
              print(row)
      else:
          printDebug("None found", "comment")
  
      print(Style.BRIGHT + "\nOntologies\n-----------" + Style.RESET_ALL)
      if ontologies:
          for o in ontologies:
              o.printTriples()
      else:
          printDebug("None found", "comment")
  
      print(Style.BRIGHT + "\nClasses\n" + "-" * 10 + Style.RESET_ALL)
      if g.all_classes:
          g.printClassTree(showids=False, labels=labels)
      else:
          printDebug("None found", "comment")
  
      print(Style.BRIGHT + "\nProperties\n" + "-" * 10 + Style.RESET_ALL)
      if g.all_properties:
          g.printPropertyTree(showids=False, labels=labels)
      else:
          printDebug("None found", "comment")
  
      print(Style.BRIGHT + "\nSKOS Concepts\n" + "-" * 10 + Style.RESET_ALL)
      if g.all_skos_concepts:
  
          g.printSkosTree(showids=False, labels=labels)
      else:
          printDebug("None found", "comment")
  
      print(Style.BRIGHT + "\nSHACL Shapes\n" + "-" * 10 + Style.RESET_ALL)
      if g.all_shapes:
  
          for x in g.all_shapes:
              printDebug("%s" % (x.qname))
              # printDebug("%s" % (x.bestLabel()), "comment")
      else:
          printDebug("None found", "comment")
docs: overview of graph invoked from command line
  
      @todo
      add pagination via something like this
      # import pydoc
      # pydoc.pager("SOME_VERY_LONG_TEXT")