Solving Math Word Problems Following Logically Consistent Template | IEEE Conference Publication | IEEE Xplore