code: def get_default_preds():
      
      g = ontospy.Ontospy(rdfsschema, text=True, verbose=False, hide_base_schemas=False)
      classes = [(x.qname, x.bestDescription()) for x in g.all_classes]
      properties = [(x.qname, x.bestDescription()) for x in g.all_properties]
      commands = [('exit', 'exits the terminal'), ('show', 'show current buffer')]
      return rdfschema + owlschema + classes + properties + commands
docs: dynamically build autocomplete options based on an external file