start of xquery for pronoun analysis