Recently I finished working on constructing a human body tree so that relations extracted from journal articles could be associated with parts of the human body. In this blog post I would like to discuss the process I went through to decode a text file that encodes information about the anatomy of the human body and produce a JSON file representing this hierarchical structure.
This post covers examples of how to extract relations (triples) from sentences and exercises to practice extracting relations from sentences. The first part of this post offers examples and exercises of what relations should be extracted from sentences, but does not offer a computational method for extracting relations from sentences. A method for extracting relations from sentences that involves pattern matching on their syntactic structure is discussed in the second part of the post. All sentences are in English.