code: def process_pybel_graph(graph):
      
      bp = PybelProcessor(graph)
      bp.get_statements()
      if bp.annot_manager.failures:
          logger.warning('missing %d annotation pairs',
                         sum(len(v)
                             for v in bp.annot_manager.failures.values()))
      return bp
docs: Return a PybelProcessor by processing a PyBEL graph.
  
      Parameters
      ----------
      graph : pybel.struct.BELGraph
          A PyBEL graph to process
  
      Returns
      -------
      bp : PybelProcessor
          A PybelProcessor object which contains INDRA Statements in
          bp.statements.