write mapper to output node or abs parent ids with the body length (A means question and B means answer)