implementation for ntriple pig loader