(S (S (PP (IN In) (BASENP (NNP Narathiwat) (NNP Province))) (S (S (NP (DT a) (NP (ADJP (BASENP (NN 40) (NN year)) (JJ old)) (BASENP (NN village) (NN worker)))) (VP (VBD was) (VP (VBN shot)))) (SBAR (IN while) (S (VP (VBG helping) (S (BASENP (DT a) (NN neighbor)) (VP (VB repair) (BASENP (DT a) (NN fence))))))))) (PERIOD .))