DATEXIS / UMLSParser

Python module to parse UMLS source files
Apache License 2.0
17 stars 0 forks source link

Triple relation extraction #10

Open Data-Designer opened 7 months ago

Data-Designer commented 7 months ago

Hi, many thanks for your efforts in this project. Recently , i'am getting stuff in extracting the knowledge graph of UMLS. I need to get all the triple relation of this database, how could i implement it using your projects.

devfoo-one commented 7 months ago

Hi,

I remember that I've started to play around with reading the graph into a NetworkX (https://networkx.org/documentation/stable/tutorial.html) data structure, but I never finalized it. Maybe this branch here serves as some kind of inspiration :) https://github.com/DATEXIS/UMLSParser/blob/333da05fecbab562e0f407cd1764b4898141ae48/umlsparser/UMLSParser.py#L181