An Algorithm for Open Text Semantic Parsing