code: def _search(self, searchterm, pred, **args):
          
          # TODO: DRY with sparql_ontol_utils
          searchterm = searchterm.replace('%','.*')
          namedGraph = get_named_graph(self.handle)
          query = """
          prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
          SELECT ?c WHERE {{
          GRAPH <{g}>  {{
          ?c {pred} ?l
          FILTER regex(?l,'{s}','i')
          }}
          }}
          """.format(pred=pred, s=searchterm, g=namedGraph)
          bindings = run_sparql(query)
          return [r['c']['value'] for r in bindings]
docs: Search for things using labels