Encoding and Decoding Graph Representations of Natural Language