Learning the Syntax of Questions