code: def infer_best_title(self):
          
          if self.ontospy_graph.all_ontologies:
              return self.ontospy_graph.all_ontologies[0].uri
          elif self.ontospy_graph.sources:
              return self.ontospy_graph.sources[0]
          else:
              return "Untitled"
docs: Selects something usable as a title for an ontospy graph