code: def search(self, query_term):
          
          fedora_search_url = "/".join([self.base_url, 'rest', 'fcr:search'])
          fedora_search_url = "{}?{}".format(
              fedora_search_url,
              urllib.parse.urlencode({"q": query_term}))
          search_request = urllib.request.Request(
              fedora_search_url,
              method='GET')
          search_request.add_header('Accept', 'text/turtle')
          try:
              search_response = urllib.request.urlopen(search_request)
          except urllib.error.URLError as error:
              raise error
          fedora_results = rdflib.Graph().parse(
              data=search_response.read(),
              format='turtle')
          return fedora_results
docs: DEPRECIATED
          Method takes a query term and searches Fedora Repository using SPARQL
          search endpoint and returns a RDF graph of the search results.
  
          Args:
              query_term(str): String to search repository
  
          Returns:
              rdflib.Graph()