Process a body of text into a semantic graph.