code: def inv_edges(json):
      
      for edge in json['edges']:
          sub, obj = edge['sub'], edge['obj']
          edge['sub'] = obj
          edge['obj'] = sub
  
          edge['pred'] += 'INVERTED'
docs: Switch obj/sub for a set of edges (makes fixing known inverse edges MUCH easier)