Distant Supervision via Prototype-Based Global Representation Learning