Inferring the semantic properties of sentences by mining syntactic parse trees