Generating SQL Queries Using Natural Language Syntactic Dependencies and Metadata