code: def get_defs(self, cache=True):
          
  
          log.debug(" *** Started")
          cache = self.__use_cache__(cache)
          if cache:
              log.info(" loading json cache")
              try:
                  with open(self.cache_filepath) as file_obj:
                      self.results = json.loads(file_obj.read())
              except FileNotFoundError:
                  self.results = []
          if not cache or len(self.results) == 0:
              log.info(" NO CACHE, querying the triplestore")
              sparql = render_without_request(self.def_sparql,
                                              graph=self.conn.graph,
                                              prefix=self.nsm.prefix())
              start = datetime.datetime.now()
              log.info(" Starting query")
              self.results = self.conn.query(sparql)
              log.info("query complete in: %s | %s triples retrieved.",
                       (datetime.datetime.now() - start),
                       len(self.results))
              with open(self.cache_filepath, "w") as file_obj:
                  file_obj.write(json.dumps(self.results, indent=4))
              with open(self.loaded_filepath, "w") as file_obj:
                  file_obj.write((json.dumps(self.conn.mgr.loaded)))
docs: Gets the defitions
  
          args:
              cache: True will read from the file cache, False queries the
                     triplestore