Skip to main content
Figure 2 | BMC Bioinformatics

Figure 2

From: KnowLife: a versatile approach for constructing a large knowledge graph for biomedical sciences

Figure 2

Pattern gathering in KnowLife.(a) Sentence-level pattern: Dependency graph of a sentence with recognized entities anemia and sarcoidosis. By computing the shortest path (bold lines) between the two entities, the word sequence symptom of is extracted. This sequence is extended by an adjectival modifier (amod) which results in the extracted pattern common symptom of. (b) Document-structure pattern: The entity Diclofenac is found within the document title and Belching within an <li> element. Take Diclofenac as the left-hand entity. By traversing the DOM tree downwards and coming across the heading Side Effects, we extract the heading’s text as a pattern. Further traversal leads us to Belching, which yields the right-hand entity for the pattern.

Back to article page